Documentation Index
Fetch the complete documentation index at: https://docs.chainbase.com/llms.txt
Use this file to discover all available pages before exploring further.
This page lists the credit cost for every metered API method. Costs are uniform across all supported chains. Billing semantics differ by product:
- Web3 API — charged only on a successful response; failed requests (4xx/5xx) are free.
- SQL API — charged at submission, regardless of whether the query later succeeds, fails at runtime, or is cancelled.
For full details on credits, plans, and billing cycles, see the Credit Overview.
SQL API
| Method | Endpoint | Credits |
|---|
| SQL Query Execution | SQL API | 100 |
A flat 100 credits are deducted the moment a query is submitted and accepted for execution, regardless of query complexity, scanned bytes, or runtime — and regardless of the query’s eventual outcome.
Web3 API
Basic
| Method | Endpoint | Credits |
|---|
| Get Latest Block Number | /v1/block/number/latest | 1 |
| Get Block by Number | /v1/block/detail | 3 |
| Get Transaction | /v1/tx/detail | 3 |
| Get Transactions by Account | /v1/account/txs | 3 |
| Contract Call | /v1/contract/call | 3 |
Balance
| Method | Endpoint | Credits |
|---|
| Get Native Token Balance | /v1/account/balance | 1 |
| Get ERC20 Token Balances | /v1/account/tokens | 3 |
| Get NFTs Owned by Address | /v1/account/nfts | 3 |
Token
| Method | Endpoint | Credits |
|---|
| Get Token Metadata | /v1/token/metadata | 1 |
| Get Token Price | /v1/token/price | 1 |
| Get Token Price History | /v1/token/price/history | 3 |
| Get Token Holders | /v1/token/holders | 3 |
| Get Top Token Holders | /v1/token/top-holders | 3 |
| Get Token Transfers by Contract | /v1/token/transfers | 5 |
NFT
Domain
Notes
- When credits are deducted. Web3 API charges only on a successful response (4xx/5xx are free). SQL API charges at submission and the deduction is final, regardless of query outcome.
- No per-chain variation. The same method costs the same number of credits on every supported chain.
- Pagination. Each page request is a separate billable call.
- Subject to change. Credit costs may be adjusted as we add capacity or new methods. Material changes will be announced in advance.
To monitor your usage, visit console.chainbase.com/settings/billing?tab=credit.