GET/sol/cached/v1/tokens/price24h

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pancakeswap/sol/cached/v1/tokens/price24hCache cached 10s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

24-hour-ago reference USD prices for one or more Solana token mints.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/pancakeswap/sol/cached/v1/tokens/price24h?ids=So11111111111111111111111111111111111111112"

Parameters

nameintypedescription
idsquerystrrequiredComma-separated Solana token mint addresses.
example: So11111111111111111111111111111111111111112

Response

type: object
pagination: none
sample: {
  "id": "str",
  "success": "bool",
  "data": "dict(1 keys)"
}