Credits & Limits
Understanding API rate limits and credit calculation.
Credits & Limits
Rate Limits
The API enforces a limit of 60 requests per minute per API Key.
Credit Calculation
Each credit represents approximately one data point. The system measures resource consumption based on query complexity and data returned.
Credit Consumption Formula
The core calculation involves three components:
- Field Count: Total number of fields requested in the GraphQL query
- Response Entries: Number of records returned
- Total Calculation:
(Fields × Entries) + Fields = Credits Consumed
Example
Querying 3 fields across 100 assets:
(3 × 100) + 3 = 303 credits maximumCredits are based on actual data returned, not theoretical maximums. If only 50 assets exist instead of 100, actual consumption would be 153 credits rather than 303.
Nested Query Complexity
For queries with nested fields, credits accumulate at each level. Parent and child field counts are multiplied by their respective entry counts, then summed together with total unique fields in the query.
Optimization Strategies
- Request only necessary fields to reduce per-query consumption
- Use specific filters (date ranges, metric keys) to limit returned data
- Structure queries to explicitly target needed datapoints rather than requesting broad results