POST/data/v2/transactions

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute POST /run/uniswap/data/v2/transactionsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

List recent swaps, liquidity additions, and liquidity removals for a pool, token, or chain.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/uniswap/data/v2/transactions" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"chainIds": [1], "filter": {"poolId": "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640"}, "page": {"pageSize": 5}}'

Parameters

nameintypedescription
chainIdsbodylist[int]requiredList of numeric chain IDs (or chain names such as 'ethereum', 'base', 'arbitrum', 'unichain').
example: [1]
filterbodydictrequiredTransaction filter: poolId (v2/v3 address or v4 32-byte poolId), multichainId, or eventTypes (TRANSACTION_EVENT_TYPE_SWAP|ADD|REMOVE).
example: {"poolId":"0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640"}
pagebodydictoptionalCursor pagination object: {pageSize: int, pageToken?: str}.
example: {"pageSize":5}

Response

type: object
data key: transactions
cursor key: page
pagination: cursor
sample: {
  "transactions": "array[5]",
  "page": {
    "nextPageToken": "str"
  }
}