dex-swaps
GET api.agentstools.dev/dex/swaps
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
Recent DEX swap history + buy/sell flow for a token or pool on Base: per-swap trader/side/amount/price plus a summary (count, buy/sell volume, net flow, largest swaps), decoded by us from public Aerodrome/Uniswap-V3 Swap event logs.
Resource: api.agentstools.dev/dex/swaps
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493
Payment methods: — · Last validation: 2026-10-15 11:33:59.461+00
{
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [],
"properties": {
"pool": {
"type": "string",
"description": "Explicit pool address (0x..) instead of a token symbol"
},
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Max swaps to return (default/cap 500; summary covers the full window)"
},
"token": {
"type": "string",
"description": "Base token symbol (e.g. WETH/AERO); aggregates all its tracked pools"
},
"window": {
"type": "string",
"description": "Look-back window, e.g. 30m / 1h / 6h (default 1h, max ~6h)"
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"amount": "10000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "10000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.