Skip to content

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

MethodPathDescriptionCU / CallUSD / 1M CallsCalls per free cycle (approx.)
GET/{chain}/dex/swapsList DEX swaps by pool or token25$2.501,200,000

Free plan: all keys in your account share an average of 25 calls per second.

Response fields

GET/{chain}/dex/swaps

FieldType
protocolstring
pool_keystring
amount0string
amount1string
sqrt_price_x96string
liquiditystring
tickinteger
lp_feeinteger | null
senderstring
recipientstring | null
block_numberinteger
block_timestampstring
tx_hashstring
tx_indexinteger
log_indexinteger

Available on Chains

View live status →

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.