v1
latestOpenAPI 3.0.42026-07-26432241.7 KBSaucerSwap V2
Get historical candlestick data for V2 pool by id
get/v2/pools/conversionRates/{poolId}
Path parameters
poolIdinteger required
Example:1
Saucerswap pool id
Query parameters
frominteger required
From unix seconds
Example:1697600000
tointeger required
To unix seconds
Example:1697610000
interval'FIVEMIN' | 'HOUR' | 'DAY' | 'WEEK' required
Example:HOUR
Data interval
invertedboolean
Headers
x-api-keystring required
API key for authentication. The demo api key provided is globally rate limited. Do not use in production.
Response
Successful response
Example response
[
{
"poolId": 1,
"open": 0.0482115316666979,
"high": 0.0482115316666979,
"low": 0.04819650172584323,
"close": 0.04819650172584323,
"avg": 118.56339424557434,
"volume": "0",
"liquidity": "9668737245792",
"volumeUsd": "0",
"liquidityUsd": "4653.53",
"timestampSeconds": 1697618460,
"startTimestampSeconds": 1697616000
}
]