Bitquery Dex Trades
bitquery_dex_tradesRecent DEX trades for a token, swaps involving an ERC-20 token across DEXs on an EVM chain (Bitquery). Returns trade time, DEX/protocol, buy & sell currency + amounts, price, tx hash, and maker. Example: bitquery_dex_trades({ token: "0xdAC17F958D2ee523a2206206994597C13D831ec7", network: "eth", limit: 20, _apiKey: "your-bitquery-token" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 20,
"token": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"_apiKey": "your-bitquery-token",
"network": "eth"
},
"name": "bitquery_dex_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max trades to return (default 20, max 50). | |
| token | Yes | ERC-20 token contract address (e.g. "0xdAC17F958D2ee523a2206206994597C13D831ec7"). Required. | |
| _apiKey | Yes | Bitquery OAuth access token (Bearer). Generate at bitquery.io (free Developer tier). | |
| network | No | EVM network enum (default "eth"). Options: eth, bsc, matic, arbitrum, base, optimism, avalanche, fantom, cronos, gnosis, klaytn, moonbeam, opbnb. |