Documentation Index
Fetch the complete documentation index at: https://docs.blockdb.io/llms.txt
Use this file to discover all available pages before exploring further.
Compute Unit (CU) Pricing Model
BlockDB uses a Compute Unit (CU) pricing model that charges based on the computational complexity of each API endpoint. This ensures you only pay for what you use, without being forced into expensive plans for simple queries.How Compute Units Work
Each API request consumes a fixed number of Compute Units determined by the data layer — not by result size or pagination depth. Your monthly CU allowance (cu_limit, cu_used, cu_remaining on GET /usage) is account-wide and shared by every API key—adding keys does not create separate CU pools. The same applies to RPS; see Rate limiting.
CU consumption is calculated per request. Result size and pagination do not affect CU cost — only the endpoint level determines the CU value.
CU Billing & Tracking
How CU Consumption is Tracked
Query theGET /usage endpoint to retrieve your plan, cu_used, cu_remaining, cu_limit, cu_reset_at, and rate_limit_rps. This endpoint is free to use and does not consume compute units.
The
/usage endpoint provides comprehensive usage data including consumption by dataset, billing period information, and rate limits.Overage Handling
When you exceed your monthly CU allowance:- Hard limits: API requests are blocked once your CU allowance is exhausted
- Additional packages: Purchase additional CU packages to continue using the API
- No automatic overage charges: You control when to purchase additional CUs—no unexpected charges
- Package options: Additional CU packages are available in various sizes to match your needs
Pricing Examples
Example 1: Raw block query (L1)
Example 2: ERC-20 token lookup (L2)
Example 3: Fiat VWAP price (L5, dataset 0605, b0605_token_to_fiat_vwap)
Example 4: Multi-step analysis workflow
See Also
- Dataset index — Dataset IDs and
blockdb_evmtable names - Pricing Plans - Compare API, WSS, and Bulk Delivery options
- Usage Endpoint - Track your CU consumption
- Billing & Invoicing - Billing cycles and payment methods