跳至主要內容

DEX 成交 API

dex_swaps

按資金池或代幣查詢去中心化交易所的鏈上兌換紀錄,可用於交易看板、策略回測與流動性監測。

端點列表

方法路徑說明每次呼叫 CU每百萬次(USD)免費額度約可呼叫(次/週期)
GET/{chain}/dex/swaps按資金池或代幣列出 DEX 兌換25$2.501,200,000

同時受每秒 25 次呼叫上限約束。

回傳欄位

GET/{chain}/dex/swaps

欄位類型
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

可用鏈

檢視即時狀態 →

快速範例

curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/dex/swaps?pool={pool}" -H "x-api-key: {api_key}"

相關文件

免費試用本資料集

註冊即得 3,000 萬 CU,每 30 天補足。

被拒絕的請求不計費,Data API 只對成功回應計費。