PeumeAPI

Finance & crypto

Token DEX Trade History

Returns recent DEX swap events for a token contract address.

$0.036 per call

Call it

curl https://api.peume.com/v1/call/token-dex-trade-history \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "address": "your address",
    "chain": "ethereum",
    "limit": 20,
    "offset": 0
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: token-dex-trade-history.

Parameters

addressRequiredstring

Token CONTRACT ADDRESS — 0x-prefixed hex (EVM chains only; Tron also accepts base58 T...). This is NOT a ticker symbol (e.g. do NOT pass USDC or BTC). To resolve a ticker symbol to a contract address, call GET /v1/search/token?q={symbol}&chain={chain} and use the address whose chain is supported by this endpoint. This endpoint has no symbol parameter. Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.

chainstring

Chain. Can be ethereum, base, bsc, arbitrum, or tron. Example: ethereum. Defaults to "ethereum".

ethereum · base · bsc · arbitrum · tron

Example: ethereum

limitinteger

Results per page. Example: 20. Defaults to 20.

Example: 20

offsetinteger

Pagination offset. Example: 0. Defaults to 0.

Example: 0

includestring

Comma-separated enrichments to attach to each trade. Currently valid: labels — adds a taker_label field with entity information for the taker address. Example: labels.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.