curl --request GET \
--url https://public-api.birdeye.so/defi/v3/txs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://public-api.birdeye.so/defi/v3/txs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://public-api.birdeye.so/defi/v3/txs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {
"items": [
{
"base": {
"symbol": "CLIPPY",
"address": "GCLTmivKZfxYi8SV17FrpqH8HZtJauoePQPRHxJxBAGS",
"decimals": 9,
"price": 0.00026036603447282113,
"amount": "24285885836773",
"ui_amount": 24285.885836773,
"ui_change_amount": 24285.885836773,
"type_swap": "to",
"is_scaled_ui_token": false,
"multiplier": null
},
"quote": {
"symbol": "SOL",
"address": "So11111111111111111111111111111111111111112",
"decimals": 9,
"price": 185.6186502639611,
"amount": "34118151",
"ui_amount": 0.034118151,
"ui_change_amount": -0.034118151,
"type_swap": "from",
"is_scaled_ui_token": false,
"multiplier": null
},
"tx_type": "swap",
"tx_hash": "4z62PXFvbo52qY66XAMhsaKSfNH9MoBinFQtsjoZcjRTc2gCGP2o86yTUdaHpnYozHxNkiATX3KRGPfFb7CyjoPW",
"ins_index": 0,
"inner_ins_index": 3,
"block_unix_time": 1754885184,
"block_number": 359262879,
"volume_usd": 6.332965138122014,
"volume": 24285.885836773,
"owner": "7dGrdJRYtsNR8UYxZ3TnifXGjGc9eRYLq9sELwYpuuUu",
"signers": [
"7dGrdJRYtsNR8UYxZ3TnifXGjGc9eRYLq9sELwYpuuUu"
],
"source": "meteora_dlmm",
"interacted_program_id": "King7ki4SKMBPb3iupnQwTyjsq294jaXsgLmJo8cb7T",
"pool_id": "6LR2pDMBbYZNhj1iF86b4X5zRYyX7BNrhpzRDEZYNam9"
}
],
"hasNext": true
}
}Trades - All (V3)
Retrieve a list of trades with various filters.
curl --request GET \
--url https://public-api.birdeye.so/defi/v3/txs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://public-api.birdeye.so/defi/v3/txs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://public-api.birdeye.so/defi/v3/txs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {
"items": [
{
"base": {
"symbol": "CLIPPY",
"address": "GCLTmivKZfxYi8SV17FrpqH8HZtJauoePQPRHxJxBAGS",
"decimals": 9,
"price": 0.00026036603447282113,
"amount": "24285885836773",
"ui_amount": 24285.885836773,
"ui_change_amount": 24285.885836773,
"type_swap": "to",
"is_scaled_ui_token": false,
"multiplier": null
},
"quote": {
"symbol": "SOL",
"address": "So11111111111111111111111111111111111111112",
"decimals": 9,
"price": 185.6186502639611,
"amount": "34118151",
"ui_amount": 0.034118151,
"ui_change_amount": -0.034118151,
"type_swap": "from",
"is_scaled_ui_token": false,
"multiplier": null
},
"tx_type": "swap",
"tx_hash": "4z62PXFvbo52qY66XAMhsaKSfNH9MoBinFQtsjoZcjRTc2gCGP2o86yTUdaHpnYozHxNkiATX3KRGPfFb7CyjoPW",
"ins_index": 0,
"inner_ins_index": 3,
"block_unix_time": 1754885184,
"block_number": 359262879,
"volume_usd": 6.332965138122014,
"volume": 24285.885836773,
"owner": "7dGrdJRYtsNR8UYxZ3TnifXGjGc9eRYLq9sELwYpuuUu",
"signers": [
"7dGrdJRYtsNR8UYxZ3TnifXGjGc9eRYLq9sELwYpuuUu"
],
"source": "meteora_dlmm",
"interacted_program_id": "King7ki4SKMBPb3iupnQwTyjsq294jaXsgLmJo8cb7T",
"pool_id": "6LR2pDMBbYZNhj1iF86b4X5zRYyX7BNrhpzRDEZYNam9"
}
],
"hasNext": true
}
}- Usage Note
- Accessibility
- Chain Supported
Filtered V3 trade feed across the whole chain.
limitsupports1to100items per request, andoffset + limitmust stay within10,000.- Solana notes:
- Transaction data includes
signers— a list of accounts that authorize the transaction with their signatures. - If time range and block number range are not provided:
- If
sort_by = block_unix_time, default to fetching swaps within the last 7 days. - If
sort_by = block_number, default to fetching swaps within the last 500,000 blocks. - Only one type of filter is accepted: either block time range or block number range.
- If filtering by block time (
after_time,before_time), only allow sorting byblock_unix_time. - If filtering by block number (
after_block_number,before_block_number), only allow sorting byblock_number. - Constraints:
- Block time range cannot exceed 30 days.
- Block number range cannot exceed 500,000 blocks.
- If only
after_timeis provided with nobefore_time, it must be within the last 30 days. - If only
after_block_numberis provided with nobefore_block_number, it must be within the most recent 500,000 blocks. - If
sourceis used, it is supported on Solana only. sort_typeis descending-only in V3 trade endpoints.
- Standard
- Lite
- Starter
- Premium
- Business
- Enterprise
All chains ⛓️ ✨
Compute Unit ⚙️
Compute Unit ⚙️
- This endpoint consumes
12 CUper request.
Use Cases 💡
Use Cases 💡
- Get recent DEX trades across all tokens and pairs on a specific chain.
- Great for tracking whale activity, token movements, or suspicious patterns.
- Build filtered chain-wide trade feeds across tokens, pools, owners, or DEX sources.
- Investigate bursts of activity around a wallet, venue, or block range.
- Power analytics pipelines that need raw trades beyond a single token or pair.
- Detect chain-wide market flow patterns before summarizing them into dashboards or alerts.
How to Use 🛠️
How to Use 🛠️
- Set
x-chainfor the target network. - Filter by
tx_type,owner,pool_id,source, and either time range or block-number range. - Use
sort_by=block_unix_timefor time windows andsort_by=block_numberfor block windows. - Keep
offset + limit <= 10000.
Best Practices ✅
Best Practices ✅
- Use block ranges when you care about precise chain progression and time ranges when you care about wall-clock windows.
- Do not mix time and block filters in the same request; split them into separate jobs if needed.
- On non-Solana chains, omit
sourceand rely on other filters instead.
Authorizations
API key for authentication
Headers
A chain name listed in supported networks.
solana, ethereum, bsc, base, robinhood, sui, mantle, hyperevm, arbitrum, avalanche, optimism, polygon, zksync, monad, aptos, fogo, megaeth Query Parameters
Make sure offset + limit <= 10000
0 <= x <= 9999Number of items per page.
1 <= x <= 100block_unix_time, block_number Specify the sort order.
desc swap, add, remove, all Source of the liquidity (AMMs). Only support solana.
raydium, raydium_clamm, raydium_cp, orca, lifinity, fluxbeam, saber, phoenix, bonkswap, meteora_dlmm, pump_amm, humidifi, bisonfi, solfi_v2, alphaq, aquifer, solfi, whirlpool, goonfi, goonfi_v2, tesserav, jupiterz, vertigo, pump_dot_fun, raydium_launchlab, meteora_virtual_curve, meteora_dynamic_bonding_curve The address of the wallet.
The address of the liquidity pool.
Specify the time seeked before using unix timestamps in seconds
1 <= x <= 10000000000Specify the time seeked after using unix timestamps in seconds
1 <= x <= 10000000000Specify the upper bound of block_number for the filter range, excluding values equal to before_block_number.
1 <= x <= 9007199254740991Specify the lower bound of block_number for the filter range, excluding values equal to after_block_number.
1 <= x <= 9007199254740991Indicate whether to use the scaled amount for scaled ui amount tokens. Only support solana
raw, scaled Was this page helpful?

