GET/configs/cached/farms

Claude ↗ChatGPT ↗
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 free

Active 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

nameintypedescription
chainIdqueryintrequiredNumeric 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"
}