curl 'https://api.serialized.xyz/v1/token/sparklines?chain=evm:8453&address=0x4ed4e862860bed51a9570b96d89af5e1b0efefed&timeframe=24h' \
-H 'Authorization: YOUR_API_KEY'
{
"data": [
4.3252048641748997e-7,
4.3413034306269003e-7,
4.3413100293071e-7,
4.3413056725540995e-7,
4.3412463986493e-7,
"…"
],
"meta": {
"asOf": 1789028837650,
"timeframe": "24h",
"quote": "native"
}
}
Token Sparklines
Token Sparklines
A small price array for one token. We resolve its main pool (curve history stitched in) and return one evenly spaced line; a token younger than the timeframe gets a finer interval so its whole life fills the line. Timeframes 1m|5m|30m|1h|24h|7d, native or USD, optional timestamps. An unknown token returns [] - we never invent data.
GET
/
v1
/
token
/
sparklines
curl 'https://api.serialized.xyz/v1/token/sparklines?chain=evm:8453&address=0x4ed4e862860bed51a9570b96d89af5e1b0efefed&timeframe=24h' \
-H 'Authorization: YOUR_API_KEY'
{
"data": [
4.3252048641748997e-7,
4.3413034306269003e-7,
4.3413100293071e-7,
4.3413056725540995e-7,
4.3412463986493e-7,
"…"
],
"meta": {
"asOf": 1789028837650,
"timeframe": "24h",
"quote": "native"
}
}
GET /v1/token/sparklines · 1 credit
A small price array for one token. We resolve the token’s main pool for you and stitch bonding-curve history onto it, so a freshly graduated token draws one continuous line. It is the same line as that token in POST /v1/token/sparklines, the batch for list rows (up to 100 tokens per call). To spark one specific pool instead, use GET /v1/pool/sparklines.
| Timeframe | Points | Interval (at most) |
|---|---|---|
1m | 30 | 2 s |
5m | 30 | 10 s |
30m | 30 | 1 min |
1h | 30 | 2 min |
24h | 24 | 1 h |
7d | 28 | 6 h |
24h draws 24 points of 10 minutes), 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=truereturns each point as{ at, value },atbeing 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=usdreturns USD prices on every chain except Story (evm:1514, where it returns400). Native prices are the default on every chain.
curl 'https://api.serialized.xyz/v1/token/sparklines?chain=evm:8453&address=0x4ed4e862860bed51a9570b96d89af5e1b0efefed&timeframe=24h' \
-H 'Authorization: YOUR_API_KEY'
{
"data": [
4.3252048641748997e-7,
4.3413034306269003e-7,
4.3413100293071e-7,
4.3413056725540995e-7,
4.3412463986493e-7,
"…"
],
"meta": {
"asOf": 1789028837650,
"timeframe": "24h",
"quote": "native"
}
}
Query Parameters
Response
200
Standard { data, meta } envelope.