Skip to main content
GET
Most recent candles for a pool

Authorizations

X-API-Key
string
header
required

Preferred for the swap endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Query Parameters

pair_address
string
required
timeframe
enum<string>
required
Available options:
1s,
30s,
1m,
5m,
15m,
1h,
4h,
1d
limit
integer
default:100
Required range: 1 <= x <= 10000

Response

Latest candles

success
enum<boolean>
Available options:
true
data
object[]
stale
boolean

true when the pool has no fresh price: its last priced trade is more than 600 seconds old, or there is none in the last hour.

priced_at
string<date-time> | null

Time of the pool's last priced trade. null when there is none in the last hour.