Bitquery
链上 GraphQL API 和 DEX API
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 区块链
- 数据来源
- public-apis + marcelscruz
- 文档 / URL
- https://graphql.bitquery.io/ide
简介
Bitquery 提供链上 GraphQL API——基于密钥(未认证请求返回 401,已实测)。
快速开始
查询(替换 YOUR_KEY):
curl -X POST "https://graphql.bitquery.io/" \
-H "X-API-KEY: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"{ ethereum { transactions(limit: 1) { hash } } }"}'
认证方式
- 在 bitquery.io 注册 → API 密钥。
- 通过
X-API-KEY请求头携带(缺失 → 401,已实测)。
速率限制与注意事项
- 免费层带限额(看文档);付费档可扩展。
- 链上数据、DEX API。
常见问题
Bitquery 免费吗? 免费层带限额;更多需要付费。
为什么 401? 需要 API 密钥(已实测)。
认证风格是什么?
X-API-KEY 请求头 + GraphQL。
区块链 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Animica Post-quantum proof-of-work L1 blockchain explorer REST API and node JSON-RPC, with OpenAPI and OpenRPC documents | No auth | Yes | Unknown | ↗ |
| Blockscout Multi-chain explorer for Ethereum and 100+ EVM chains | API Key | Yes | Unknown | ↗ |
| Blockscout Multichain block explorer REST API (with Etherscan-compatible JSON-RPC) | API Key | Yes | No | ↗ |
| Bscscan Binance Smart Chain explorer API | API Key | Yes | Unknown | ↗ |
| Chainlink Build hybrid smart contracts with Chainlink | No auth | Yes | Unknown | ↗ |