開發者 API
訪問與限額
基礎地址:https://www.blockgrey.com/api
匿名訪問按 IP 限制每分鐘請求數;攜帶請求頭 X-API-Key 可獲得更高限額並使用關注與告警接口。請在賬戶頁獲取 API Key。
平臺接口
| 方法 | 路徑 | 說明 |
|---|---|---|
| GET | /api/chains | 已接入的鏈 |
| GET | /api/zcash/search?q= | Zcash 搜索;其他鏈使用各自的搜索接口。 |
| GET | /api/monero/search?q= | 識別高度 / 哈希 / 交易 ID / 地址 |
| GET | /api/dash/search?q= | 識別高度 / 哈希 / 交易 ID / 地址 |
| GET | /api/entities?chain= | 實體列表 |
| GET | /api/entity/{slug} | 實體詳情、地址與資金流 |
| GET/POST | /api/watchlist | 關注地址(需 X-API-Key,可設置 https webhook_url) |
| DELETE | /api/watchlist/{addr}?chain= | 移除關注地址 |
| GET | /api/alerts | 關注地址的資金變動告警(需 X-API-Key) |
| SSE | /ws/events | 實時事件:block / mempool / reorg / alert |