GET/sol/cached/v1/tokens/price
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/sol/cached/v1/tokens/priceCache cached 10s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCurrent 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/price?ids=So11111111111111111111111111111111111111112"Parameters
| name | in | type | description | |
|---|---|---|---|---|
ids | query | str | required | Comma-separated Solana token mint addresses. example: So11111111111111111111111111111111111111112 |
Response
type: object
pagination: none
sample: {
"id": "str",
"success": "bool",
"data": "dict(1 keys)"
}