Live Feed

Recent Transactions Sample

Public API: Returns a sample of recent on-chain DEX transactions.

Every row is a real transaction: hashes, block timestamps, projects, token pairs, and volumes come from Dune trace data; gas costs and success status come from Alchemy transaction receipts. The sample covers the four supported chains and is refreshed on each data sync.

get/api/v1/transactions

Request

  • Base URL: https://cleartracedata.com (the document declares no server; this is the origin it was published from)
  • URL: https://cleartracedata.com/api/v1/transactions
  • Auth: none declared

Query parameters

limitinteger

The maximum number of recent transactions to return.

offsetinteger

Pagination offset.

chainstring

Blockchain to query (ethereum, base, arbitrum, optimism)

dex_projectstring nullable

Filter by DEX project name.

aggregatorstring nullable

Filter by aggregator name.

token_soldstring nullable

Filter by token sold symbol.

token_boughtstring nullable

Filter by token bought symbol.

start_timestampinteger nullable

Filter by start timestamp (Unix).

end_timestampinteger nullable

Filter by end timestamp (Unix).

succeededboolean nullable

Filter by transaction success status.

Response

A sample of recent on-chain DEX transactions with real gas costs from transaction receipts.

totalinteger required

Total number of matching transactions.

limitinteger required

The maximum number of transactions returned.

offsetinteger required

The offset used for pagination.

Example response

{
  "transactions": [
    {
      "tx_hash": "0xab1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcd",
      "timestamp": 1686245000,
      "chain": "ethereum",
      "dex_project": "uniswap",
      "aggregator": "1inch",
      "token_sold": "WETH",
      "token_bought": "USDC",
      "routing_legs": 2,
      "volume_usd": 15420.5,
      "gas_used": 185432,
      "gas_fee_eth": 0.0021,
      "gas_fee_usd": 5.12,
      "succeeded": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.