Skip to main content
POST
POST /v1/pools/sparklines · 1 per market credit Small price arrays for list rows - one call for up to 100 markets in one request, each {chain, address} so the batch can span chains. The response is keyed by pool address. For token-level sparklines (best pool resolved for you), use POST /v1/token/sparklines. Every line is a fixed grid: evenly spaced points that cover the whole timeframe, oldest to newest, the last one being the live price. An interval without a trade carries the previous price, and before the first trade of the timeframe 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. Dated points start at the first trade of the timeframe, so a market younger than the timeframe returns fewer points.
  • 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, and quote applies to the whole request.

Authorizations

Authorization
string
header
required

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

Body

application/json
markets
object[]
required

1 to 100 of {chain, address} pools, across chains. Billed per market.

Required array length: 1 - 100 elements
Example:
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.