Skip to main content

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

MethodEndpointCredits
SQL Query ExecutionSQL API100
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

MethodEndpointCredits
Get Latest Block Number/v1/block/number/latest1
Get Block by Number/v1/block/detail3
Get Transaction/v1/tx/detail3
Get Transactions by Account/v1/account/txs3
Contract Call/v1/contract/call3

Balance

MethodEndpointCredits
Get Native Token Balance/v1/account/balance1
Get ERC20 Token Balances/v1/account/tokens3
Get NFTs Owned by Address/v1/account/nfts3

Token

MethodEndpointCredits
Get Token Metadata/v1/token/metadata1
Get Token Price/v1/token/price1
Get Token Price History/v1/token/price/history3
Get Token Holders/v1/token/holders3
Get Top Token Holders/v1/token/top-holders3
Get Token Transfers by Contract/v1/token/transfers5

NFT

MethodEndpointCredits
Get NFT Metadata/v1/nft/metadata1
Get NFT Rarity/v1/nft/rarity1
Get NFT Collection Metadata/v1/nft/collection1
Get NFT Collection Items/v1/nft/collection/items3
Get NFT Owner by Token/v1/nft/owner3
Get NFT Owners by Collection/v1/nft/owners3
Get NFT Owner History by Token/v1/nft/owner/history3
Get NFT Transfers by Collection/v1/nft/transfers3

Domain

MethodEndpointCredits
Resolve ENS Domain/v1/ens/records1
Reverse Resolve ENS Domain/v1/ens/reverse3
Get ENS Domains by Address/v1/account/ens3

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.