DEX Swaps API
Use the DEX Swaps API with an API key to query indexed swaps by pool or token on chains where GET /v1/status declares dex_swaps coverage (currently Robinhood Chain); current method pricing is 25 CU per call.
Endpoints
| Method | Path | Description | CU / Call | USD / 1M Calls | Calls per free cycle (approx.) |
|---|---|---|---|---|---|
| GET | /{chain}/dex/swaps | List DEX swaps by pool or token | 25 | $2.50 | 1,200,000 |
Free plan: all keys in your account share an average of 25 calls per second.
Response fields
GET/{chain}/dex/swaps
| Field | Type |
|---|---|
| protocol | string |
| pool_key | string |
| amount0 | string |
| amount1 | string |
| sqrt_price_x96 | string |
| liquidity | string |
| tick | integer |
| lp_fee | integer | null |
| sender | string |
| recipient | string | null |
| block_number | integer |
| block_timestamp | string |
| tx_hash | string |
| tx_index | integer |
| log_index | integer |
Available on Chains
Quick example
curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/dex/swaps?pool={pool}" -H "x-api-key: {api_key}"Documentation
Try this dataset for free
Get 30M CU on sign-up, refilled every 30 days.
Data API bills only successful responses.