Short answer:
No, one credit doesn’t always equal one API call.
For CoinAPI Market Data REST, one REST Credit can equal one API call when the endpoint does not use a limit parameter or does not support one.
When limit is used, credit consumption depends on the number of data points returned, not simply the number of HTTP requests.
How Credit Usage Works for the Market Data REST API
Endpoints such as historical trades, quotes, and OHLCV can use a limit parameter.
When limit is used, the general rule is:
Every 100 returned data points = 1 REST Credit, rounded up.
Or, as a formula:
REST Credits = ceil(returned_data_points / 100)
If limit is not used or is unavailable for the endpoint, the API call generally counts as 1 REST Credit.
Endpoint-specific behavior may apply, so always check the documentation for the endpoint you are using.
Examples
| Data points returned | REST Credits |
| 50 | 1 |
| 100 | 1 |
| 101 | 2 |
| 500 | 5 |
| 1000 | 10 |
Notice that the calculation is based on returned data points. Setting limit=1000 does not necessarily mean you will consume 10 REST Credits if the endpoint returns fewer records.
Example Calculation: 1-Second OHLCV
Let’s say you want 1-second OHLCV data for one symbol over a full day.
A day contains:
24 × 60 × 60 = 86,400 seconds
A full day of 1-second OHLCV can therefore return up to 86,400 bars, depending on data availability and market activity.
At 100 returned data points per REST Credit:
86,400 ÷ 100 = 864 REST Credits
Using the first PAYG tier of $5.26 per 1,000 REST Credits, the estimated cost would be:
864 ÷ 1,000 × $5.26 ≈ $4.54
So, in this example, the query could cost approximately $4.54.
Actual cost depends on the number of records returned, your total daily REST Credit usage, and your plan.
How REST Credits Translate Into Pricing
REST Credits use tiered pricing, with the unit price decreasing as daily usage increases.
That means you shouldn’t calculate every REST Credit using the first-tier price when estimating a larger workload.
For example, under PAYG pricing, if you use 2,500 REST Credits in a day:
- First 1,000 credits at $5.26/1,000 = $5.26
- Next 1,500 credits at $2.63/1,000 = $3.95
- Estimated total = $9.21
Always check the current Market Data API pricing before estimating production costs, as pricing depends on your plan, included quotas, usage category, and metered usage.
New CoinAPI users can also start with $25 in free credits to test supported REST and WebSocket workflows before scaling.
REST vs. WebSocket vs. FIX Pricing Models
Not every CoinAPI access method uses REST Credits.
Each interface uses a billing metric that reflects how the data is delivered.
| Access method | Billing metric | Typical use |
| REST | REST Credits | Targeted current and historical queries |
| WebSocket Tier 1 | Data transferred | Trades, quotes, order books |
| WebSocket Tier 2 | Data transferred | Metadata, OHLCV, exchange rates |
| FIX | Connection-Hours | Institutional market data connectivity |
For REST, usage is primarily tied to requests and returned data points.
For WebSocket, usage is measured through data transferred. Tier 1 covers data such as trades, quotes, and order books, while Tier 2 covers data such as metadata, OHLCV, and exchange rates.
FIX uses a Connection-Hour model rather than REST Credits.
Why 1 Credit ≠ 1 Call
Flat credit-per-call pricing would not accurately reflect the difference between a small metadata request and a large historical data request.
In practice, REST Credit consumption can vary based on:
- Endpoint
- Number of returned records
limitparameter- Requested symbol and time range
- Endpoint-specific billing behavior
A lightweight request may consume only one REST Credit, while a large historical REST query can consume substantially more.
For multi-year tick, quote, or order book history, however, REST usually isn’t the right access method.
What About Flat Files?
For large historical backfills, ML datasets, or multi-year tick and order book downloads, use CoinAPI Flat Files instead of paginating through REST.
Flat Files are designed for bulk historical datasets and are billed and accessed differently from Market Data REST Credits.
This makes the product split relatively simple:
REST → targeted current and historical queries
WebSocket → continuous real-time streaming
FIX → institutional market data connectivity
Flat Files → bulk historical datasets
Tips to Optimize Credit Usage
1. Use limit Intentionally
Request the amount of data your application actually needs. Larger responses can consume more REST Credits.
2. Avoid Overlapping Requests
When downloading historical data, keep track of completed time ranges so you don't repeatedly retrieve the same records.
3. Cache Static Data
Metadata such as symbols, assets, and exchanges often does not need to be downloaded before every market-data request.
Cache it and refresh it only when necessary.
4. Use WebSocket for Continuous Live Updates
If your application requires a continuous market feed, use WebSocket instead of repeatedly polling REST.
WebSocket has its own data-transfer billing, so subscribe only to the symbols and data types you actually need.
5. Use Flat Files for Large Historical Jobs
If you need millions of historical trades, quotes, or order book records, don't optimize REST indefinitely.
Flat Files are designed specifically for large-scale historical retrieval.
6. Monitor Actual Usage
During development, log the x-credits-used response header when available. This helps you understand the actual consumption of different requests rather than estimating from request counts alone.
You can also use the API BRICKS Console to monitor usage, quotas, billing, and API keys.
7. Schedule Heavy Jobs Carefully
You can schedule large backfills around your infrastructure and processing requirements, but remember that running a REST request at a different time of day does not inherently reduce its REST Credit consumption.
These practices can materially reduce unnecessary usage, particularly in polling-heavy applications or workflows that repeatedly request the same historical data.
Related FAQs
- API Rate Limits and Credit Consumption Guide: CoinAPI Usage and Billing Explained
- What You Get With a Free Crypto API From CoinAPI ($25 Credits)
- How to Use CoinAPI Effectively Without Exceeding Free Credits
In Summary
Credits are a unit of API usage, but they don't always map 1:1 with API calls.
For Market Data REST, when limit is used, every 100 returned data points generally counts as 1 REST Credit. Without limit, an API call generally counts as one REST Credit unless endpoint-specific rules apply.
WebSocket and FIX use different billing metrics, while Flat Files are designed and priced separately for bulk historical data.
The best way to control costs is to choose the right access method for the workload, monitor actual consumption, and check the current pricing rules before scaling a production pipeline.












