GET/cached/tx/{protocol}/{chainName}/recent

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pancakeswap/cached/tx/{protocol}/{chainName}/recentCache cached 3s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Recent swaps, liquidity adds, and removals for a protocol and chain, optionally filtered by pool or token.

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/tx/v3/bsc/recent?pool=0x4f31fa980a675570939b737ebdde0471a4be40eb"

Parameters

nameintypedescription
protocolpathstrrequiredProtocol slug: v2, v3, stable, infinity, infinityCl, or infinityBin.
example: v3
chainNamepathstrrequiredEVM 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
poolquerystroptionalOptional pool address or Infinity pool ID filter.
example: 0x4f31fa980a675570939b737ebdde0471a4be40eb
tokenquerystroptionalOptional token address filter.

Response

type: array
pagination: none
sample: {
  "type": "str",
  "id": "str",
  "transactionHash": "str",
  "poolId": "str",
  "token0": "dict",
  "token1": "dict"
}