GET/configs/cached/farms
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/configs/cached/farmsCache cached 120s, never served stale past that windowCost free · weight 0 · heavy rate classSource billing freeActive universal farm catalog for an EVM chain (pid, protocol, token0, token1, feeAmount).
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/configs/cached/farms?chainId=56"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | query | int | required | Numeric EVM chain ID (e.g. 56 for BSC, 1 for Ethereum, 8453 for Base, 42161 for Arbitrum). example: 56 |
Response
type: array
pagination: none
sample: {
"pid": "int",
"chainId": "int",
"protocol": "str",
"token0": "dict",
"token1": "dict",
"feeAmount": "int"
}