Pool Stats
Retrieve the statistics of a specific liquidity pool, including TVL, volume, fees, APR, and more.
Endpoint
GET /api/v1/partner/pool/statsRequest Parameters
pool_address
string
Yes
The address of the liquidity pool.
Headers
x-api-key
No
API key for authorization.
cURL Example
curl --location 'https://api.noodles.fi/api/v1/partner/pool/stats?pool_address=0xb0a595cb58d35e07b711ac145b4846c8ed39772c6d6f6716d89d71c64384543b' \
--header 'x-api-key: YOUR_API_KEY'Response
Fields
code
number
No
HTTP status code (200 for success).
message
string
No
Status message.
data
object
No
Pool statistics object.
Pool Statistics Object
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
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
See also: Environment Setup
Last updated