Pool Stats Multi

Retrieve the statistics of multiple liquidity pools in a single request.


Endpoint

GET /api/v1/partner/pool/stats-multi

Request Parameters

Name
Type
Required
Description

pool_addresses

string[]

Yes

The addresses of the liquidity pools. Can be provided as comma-separated.


Headers

Header
Required
Description

x-api-key

No

API key for authorization.


cURL Example

curl --location 'https://api.noodles.fi/api/v1/partner/pool/stats-multi?pool_address=0xb0a595cb58d35e07b711ac145b4846c8ed39772c6d6f6716d89d71c64384543b,0x13c849c1d7793cded8affb7a3a0ee3fe63ccc99be1b581dd79151470af265690,0xe54c9e67ae9dbbd55c992235611ff1f5ac32161f799104820182f3ed5b40c413' \
--header 'x-api-key: YOUR_API_KEY'

Response

Fields

Field
Type
Nullable
Description

code

number

No

HTTP status code (200 for success).

message

string

No

Status message.

data

array

No

Array of pool statistics objects.

Pool Statistics Object

Field
Type
Nullable
Description

pool_address

string

No

Pool address.

coin_a_type

string

No

Coin A type.

coin_b_type

string

No

Coin B type.

coin_a_symbol

string

No

Coin A symbol.

coin_b_symbol

string

No

Coin B symbol.

liquidity

string

No

Pool liquidity (big integer as string).

amount_a

float

No

Amount of coin A.

amount_b

float

No

Amount of coin B.

amount_a_usd

float

No

USD value of coin A.

amount_b_usd

float

No

USD value of coin B.

tvl_usd

float

No

Total value locked in USD.

volume_24h

float

No

24h trading volume.

volume_1w

float

No

1 week trading volume.

fee_24h

float

No

24h fee.

fee_1w

float

No

1 week fee.

fee_rate

float

No

Fee rate.

apr_24h

float

No

APR based on 24h fee.

apr_1w

float

No

APR based on 1 week fee.

Success Response

{
    "code": 200,
    "message": "OK",
    "data": [
        {
            "pool_address": "0x13c849c1d7793cded8affb7a3a0ee3fe63ccc99be1b581dd79151470af265690",
            "coin_a_type": "0xbcaec9182ea30b06869010689e6e0665b6e84b09b9d5b96a0de706ff814b9691::pettsui::PETTSUI",
            "coin_b_type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
            "coin_a_symbol": "Pettsui",
            "coin_b_symbol": "SUI",
            "liquidity": 0,
            "amount_a": 271.156266076,
            "amount_b": 0.081113045,
            "amount_a_usd": 0,
            "amount_b_usd": 0.2960626142,
            "tvl_usd": 0.2960626142,
            "volume_24h": 0,
            "volume_1w": 0,
            "fee_24h": 0,
            "fee_1w": 0,
            "fee_rate": 1,
            "apr_24h": 0,
            "apr_1w": 0
        },
        {
            "pool_address": "0xb0a595cb58d35e07b711ac145b4846c8ed39772c6d6f6716d89d71c64384543b",
            "coin_a_type": "0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068::usdt::USDT",
            "coin_b_type": "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
            "coin_a_symbol": "suiUSDT",
            "coin_b_symbol": "USDC",
            "liquidity": 179916363982307895,
            "amount_a": 7879565.818598,
            "amount_b": 20007862.99662,
            "amount_a_usd": 7899986.753,
            "amount_b_usd": 20069135.25,
            "tvl_usd": 27969122,
            "volume_24h": 18405098.342808455,
            "volume_1w": 129874657.90201668,
            "fee_24h": 1841.53504401918,
            "fee_1w": 13019.264858861268,
            "fee_rate": 0.01,
            "apr_24h": 2.403222707766804,
            "apr_1w": 2.4205328027843915
        },
        {
            "pool_address": "0xe54c9e67ae9dbbd55c992235611ff1f5ac32161f799104820182f3ed5b40c413",
            "coin_a_type": "0x73405ba9f62fa82d03961a64e14c3e6ba4a955536850b6480849ff20368df1d4::sfrog::SFROG",
            "coin_b_type": "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
            "coin_a_symbol": "SFROG",
            "coin_b_symbol": "SUI",
            "liquidity": 0,
            "amount_a": 492.324416,
            "amount_b": 0.000028768,
            "amount_a_usd": 0,
            "amount_b_usd": 0.0001050032,
            "tvl_usd": 0.0001050032,
            "volume_24h": 0,
            "volume_1w": 0,
            "fee_24h": 0,
            "fee_1w": 0,
            "fee_rate": 1,
            "apr_24h": 0,
            "apr_1w": 0
        }
    ]
}

Response when no data is available

{
    "code": 200,
    "message": "OK",
    "data": []
}

See also: Environment Setup

Last updated