GET /volume/:symbol
24-hour trading volume broken down by DEX.
Cost: $0.01 USDC
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Token symbol |
Request
response = client.get("https://api.foursec.xyz/volume/ETH")
data = response.json()
Response
{
"symbol": "ETH",
"volume_24h_usd": 12500000,
"volume_change_24h": 15.3,
"by_dex": [
{
"dex": "Uniswap V3",
"chain": "Base",
"volume_usd": 5200000,
"tx_count": 1250,
"avg_trade_size": 4160
},
{
"dex": "SushiSwap",
"chain": "Base",
"volume_usd": 4200000,
"tx_count": 980,
"avg_trade_size": 4285
},
{
"dex": "BaseSwap",
"chain": "Base",
"volume_usd": 3100000,
"tx_count": 750,
"avg_trade_size": 4133
}
],
"timestamp": "2026-07-04T15:30:00Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| symbol | string | Token symbol |
| volume_24h_usd | float | Total 24h volume across all DEXes |
| volume_change_24h | float | Volume change vs previous 24h (%) |
| by_dex | array | Volume breakdown per DEX |
| timestamp | string | Data timestamp |
DEX Volume Object
| Field | Type | Description |
|---|---|---|
| dex | string | DEX name |
| chain | string | Blockchain network |
| volume_usd | float | Volume on this DEX |
| tx_count | int | Number of transactions |
| avg_trade_size | float | Average trade size in USD |