Skip to main content
POST
POST /v1/token/sparklines · 1 per token credit Small price arrays for token list rows - one call for up to 100 tokens. We resolve each token’s best pool for you and stitch bonding-curve history onto it, so a freshly graduated token draws one continuous line. The response is keyed by token address. To spark specific pools instead, use POST /v1/pools/sparklines. Every line is a grid of evenly spaced points, oldest to newest, the last one being the live price. A token older than the timeframe gets the interval above and the line covers the whole timeframe. A younger token keeps the same number of points on a finer interval, the finest that still spans its whole life (a 3-hour-old token on 24h draws 24 points of 10 minutes; a 1-minute-old token on 1h draws 30 points of 2 seconds), so a fresh launch draws a real line instead of a single point. An interval without a trade carries the previous price, and before the first trade a line holds its first price: you always get the full grid, or []. Two options shape the points:
  • timestamps: true returns each point as { at, value }, at being the start of its interval in unix milliseconds: the way to know the interval a line was drawn on. Dated points start at the first trade, so a line can hold fewer points than the grid.
  • quote: "usd" returns USD prices on Solana, each point converted at the SOL/USD rate of its own time. Native prices are the default on every chain.

Authorizations

Authorization
string
header
required

Your raw API key (not needed on the demo server).

Body

application/json
chain
string
required

Public chain id - evm:<id> or solana. One chain per call.

Example:

"evm:8453"

tokens
string[]

1 to 100 token addresses on chain. Billed per token.

Required array length: 1 - 100 elements
Example:
pools
string[]
Required array length: 1 - 100 elements
timeframe
string
default:24h

1m|5m|30m|1h|24h|7d. Default 24h.

Example:

"24h"

quote
default:native

native (default) or usd. usd converts each point at the SOL/USD rate of its own time; available on Solana.

Available options:
native
Example:

"native"

timestamps
boolean
default:false

true returns each point as { at, value }, at being the start of the point's interval in unix milliseconds, from the first trade of the window on. Default false: bare numbers, always the full grid.

Example:

true

Response

200

Standard { data, meta } envelope.