Bitquery
链上 GraphQL API 和 DEX API
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 区块链
- 文档 / 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 | |
|---|---|---|---|---|
| Blockscout Multichain block explorer REST API (with Etherscan-compatible JSON-RPC) | API Key | Yes | No | ↗ |
| Chainlink Build hybrid smart contracts with Chainlink | No auth | Yes | Unknown | ↗ |
| Chainpoint Chainpoint is a global network for anchoring data to the Bitcoin blockchain | No auth | Yes | Unknown | ↗ |
| ClearTrace Cross-frontend DEX attribution and execution quality data across Ethereum and L2s | No auth | Yes | Yes | ↗ |
| Covalent Multi-blockchain data aggregator platform | API Key | Yes | Unknown | ↗ |