Candles
const url = 'https://api.getchord.xyz/v1/chains/solana/token/example/candles?tf=1m&limit=200';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.getchord.xyz/v1/chains/solana/token/example/candles?tf=1m&limit=200'OHLCV of ONE pool of the token, in USD: the main pool (traded in the last hour first, then the deepest) unless pool names another. Not a volume-weighted blend of every pool: use /chains/solana/token/{address} for totals across pools. The window holds limit buckets ending with the open one; buckets without a trade are absent. A swap under $1 adds to the volume but does not move the open, high, low or close. Cached 5 seconds for 1m, 20 seconds otherwise.
Chord’s own Solana tape, read-only. No key needed.
- What it reads. The swap events of 11 venues: PumpSwap, the pump.fun bonding curve, Meteora DBC, Meteora DAMM v2, Meteora DLMM, Meteora pools (dynamic AMM v1), Raydium CLMM, Raydium CPMM, Raydium AMM v4, Raydium LaunchLab and Orca Whirlpool. Each swap is checked against the pool vaults’ balance changes in the same transaction.
- What it does not read. Prop AMMs (SolFi, HumidiFi and the like) and order books. SOL/USDC and other major pairs therefore show far less volume than the whole market; the numbers are accurate for pump.fun, Meteora and Raydium style tokens. Transfers are not seen either: wallet PnL is average cost inside the window.
- History. Live since 2026-10-03 12:01 UTC, plus a backfill of the days before.
coverageSinceon/chains/solana/overviewsays from when totals are complete: quote that field, not a date. - Addresses are base58 and case-sensitive. Never lower-case a mint or a wallet: a lower-cased mint is a different string, refused with
400 BAD_ADDRESSwhen it stops being base58 (anLbecomesl) and answered404 TOKEN_NOT_FOUNDotherwise. Solana has no numeric chain id here: the path segment is the literalsolana. - Units. Token amounts are whole tokens (decimals already applied),
quoteAmountis whole units of the pool’s quote (SOL, USDC, USDT or the other token), prices and*Usdfields are US dollars. Timestamps,updatedAtincluded, are Unix seconds. - Names are untrusted.
symbol,nameandimageare whatever the token’s creator wrote; many mints share a symbol and there are no wash or impostor flags. Identify a token by its mint. - Errors.
400 BAD_*for a bad parameter;400 UNSUPPORTED_CHAINif Solana is not public on the deployment and the request has noX-API-Key;503 CHAIN_DATA_UNAVAILABLEwhen the Solana store cannot be read in time and503 CHAIN_NOT_ENABLEDwhen the lane is off: retry later, never read either as “no trades”.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Solana address, base58, case-sensitive. Never lower-case it.
Token mint, base58, exactly as it appears on-chain.
Query Parameters
Section titled “Query Parameters”Timeframe.
Buckets in the window.
Solana address, base58, case-sensitive. Never lower-case it.
A pool of this token (from /chains/solana/token/{address} pools). Default: the main pool.
Responses
Section titled “ Responses ”pool: null with no candles = the tape has no priced pool for this mint.
object
Solana address, base58, case-sensitive. Never lower-case it.
Solana address, base58, case-sensitive. Never lower-case it.
Oldest first; t is the bucket start.
object
Unix time, seconds, UTC.
Unix time, SECONDS, when the Solana box built this answer. Unlike the rest of the API (milliseconds).
Example
{ "chain": "solana", "token": "7VertkgF9KLhxxJXHX6uaWuoYZTP9LdGj2bWmVXVpump", "pool": "CyJwKnLiiY4fmiwqMCSWFSHxo7T9Ubshgs2uRAuJCrk5", "timeframe": "1h", "candles": [ { "t": 1791140400, "o": 0.016581499823932228, "h": 0.0167915473875269, "l": 0.013856459444690225, "c": 0.014365569915305174, "volumeUsd": 336302.10729020054, "trades": 2009 }, { "t": 1791144000, "o": 0.014362537896257067, "h": 0.014962869347332729, "l": 0.011578863188337602, "c": 0.014393806600470372, "volumeUsd": 495642.36503098987, "trades": 2632 } ], "updatedAt": 1791166459}BAD_ADDRESS / BAD_TIMEFRAME / BAD_LIMIT, or UNSUPPORTED_CHAIN (Solana is not public on this deployment and the request has no X-API-Key).
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}Over the per-minute limit (RATE_LIMIT_EXCEEDED). Read X-RateLimit-Reset and back off.
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}CHAIN_DATA_UNAVAILABLE (the Solana store did not answer in time) or CHAIN_NOT_ENABLED (the lane is off on this deployment). Retry later; do not treat it as an empty answer.
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}