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.
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
The maximum number of recent transactions to return.
Pagination offset.
Blockchain to query (ethereum, base, arbitrum, optimism)
Filter by DEX project name.
Filter by aggregator name.
Filter by token sold symbol.
Filter by token bought symbol.
Filter by start timestamp (Unix).
Filter by end timestamp (Unix).
Filter by transaction success status.
Response
A sample of recent on-chain DEX transactions with real gas costs from transaction receipts.
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.