GET/cached/pools/{chainName}/{id}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/cached/pools/{chainName}/{id}Cache cached 10s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeProtocol-agnostic pool lookup by chain and pool address or 32-byte Infinity pool ID.
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/cached/pools/bsc/0x87a668dbac7951c7a5ccd91c4c817da7de4f32bdc714c58eacc376eb41b64ee4"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainName | path | str | required | EVM network slug: bsc, ethereum, base, arbitrum, zksync, linea, opbnb, monad, or polygon-zkevm (common aliases such as eth, bnb, arb, or numeric chain IDs are accepted). example: bsc |
id | path | str | required | Pool contract address or 32-byte Infinity pool ID. example: 0x87a668dbac7951c7a5ccd91c4c817da7de4f32bdc714c58eacc376eb41b64ee4 |
Response
type: object
pagination: none
sample: {
"protocol": "str",
"id": "str",
"token0": "dict(4 keys)",
"token1": "dict(4 keys)",
"totalVolumeUSD": "str",
"token0Price": "str",
"token1Price": "str",
"tvlToken0": "str"
}