Skip to main content
GET
/
api
/
v2
/
tokens
/
{tokenId}
/
price
/
chart
GET /api/v2/tokens/:tokenId/price/chart — OHLCV candle data
curl --request GET \
  --url https://api.shuriken.trade/api/v2/tokens/{tokenId}/price/chart \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "candles": [
      {
        "close": 123,
        "high": 123,
        "low": 123,
        "open": 123,
        "timestamp": 1,
        "volume": 123
      }
    ],
    "resolution": "<string>",
    "tokenId": "<string>"
  },
  "requestId": "<string>",
  "pagination": {
    "hasMore": true,
    "limit": 1,
    "page": 1,
    "total": 1
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.shuriken.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <jwt> for user auth or Authorization: Bearer sk_{keyId}_{secret} for API key auth.

Path Parameters

tokenId
string
required

Token ID in chain:address format

Query Parameters

resolution
string

Candle resolution: 1m, 5m, 15m, 30m, 1h, 6h, 1d (default: 1h)

count
integer<int32>

Number of candles (default: 100, max: 500)

Required range: x >= 0

Response

200 - application/json

OHLCV candle data

V2 success response envelope

data
object
required
requestId
string
required
pagination
object

Page-based pagination info (per RFC)