資料新鮮度 API
查詢各公開資料集的目前區塊高度、日期以及相對鏈頭的延遲指標,用於服務監控與查詢前驗證。
端點列表
| 方法 | 路徑 | 說明 | 每次呼叫 CU | 每百萬次(USD) | 免費額度約可呼叫(次/週期) |
|---|---|---|---|---|---|
| GET | /{chain}/status/freshness | 各資料集的新鮮度與延遲 | 1 | $0.10 | 30,000,000 |
免費檔:帳戶下所有 key 合計平均每秒 25 次。
回傳欄位
GET/{chain}/status/freshness
| 欄位 | 型別 |
|---|---|
| dataset | string |
| category | string |
| max_block_number | integer | null |
| max_day | string | null |
| max_time | string | null |
| seconds_behind | integer | null |
| blocks_behind | integer | null |
| days_behind | integer | null |
| coverage_from_block | integer | null |
| coverage_to_block | integer | null |
| coverage_complete | boolean |
| checked_at | string |
可用鏈
快速範例
curl -s "https://api.blockvectra.com/v1/data/arb_mainnet/status/freshness" -H "x-api-key: {api_key}"相關文件
免費試用本資料集
註冊即得 30M CU,每 30 天自動補足。
Data API 只對成功回應計費。