跳至主要內容

資料新鮮度 API

freshness

查詢各公開資料集的目前區塊高度、日期以及相對鏈頭的延遲指標,用於服務監控與查詢前驗證。

端點列表

方法路徑說明每次呼叫 CU每百萬次(USD)免費額度約可呼叫(次/週期)
GET/{chain}/status/freshness各資料集的新鮮度與延遲1$0.1030,000,000

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

回傳欄位

GET/{chain}/status/freshness

欄位類型
datasetstring
categorystring
max_block_numberinteger | null
max_daystring | null
max_timestring | null
seconds_behindinteger | null
blocks_behindinteger | null
days_behindinteger | null
coverage_from_blockinteger | null
coverage_to_blockinteger | null
coverage_completeboolean
checked_atstring

可用鏈

檢視即時狀態 →

快速範例

curl -s "https://api.blockvectra.com/v1/data/base_mainnet/status/freshness" -H "x-api-key: {api_key}"

相關文件

免費試用本資料集

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

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