Use Case: REST Historical Daily FX Rates for Reporting
A sample Currencies API pricing simulation for downloading historical daily FX rates for reporting or reconciliation.
Use Case: REST Historical Daily FX Rates for Reporting
This example estimates the cost of downloading historical daily FX rates for reporting, accounting, reconciliation, or analytics.
Assumptions
| Item | Value |
|---|---|
| Protocol | REST |
| Endpoint pattern | GET /v1/exchangerate/{asset_id_base}/{asset_id_quote}/history |
| Currency pairs | EUR/USD, GBP/USD, USD/JPY, USD/CAD, AUD/USD, NZD/USD, USD/CHF, USD/SGD, USD/HKD, USD/MXN, USD/BRL, USD/ZAR, USD/SEK, USD/NOK, USD/PLN |
| Number of pairs | 15 |
| Period | 1DAY |
| Time range | 2021-01-01 to 2025-12-31 |
| Rates per pair | 1,826 |
| Estimated usage | 27,390 rates |
Example requests:
| Pair | Example endpoint |
|---|---|
| EUR/USD | GET /v1/exchangerate/EUR/USD/history?period_id=1DAY&time_start=2021-01-01T00:00:00Z&time_end=2026-01-01T00:00:00Z |
| GBP/USD | GET /v1/exchangerate/GBP/USD/history?period_id=1DAY&time_start=2021-01-01T00:00:00Z&time_end=2026-01-01T00:00:00Z |
| USD/JPY | GET /v1/exchangerate/USD/JPY/history?period_id=1DAY&time_start=2021-01-01T00:00:00Z&time_end=2026-01-01T00:00:00Z |
Rate usage
Historical daily data is billed by rate count.
For this example:
1,826 daily rates per pair × 15 pairs = 27,390 rates
Pay As You Go estimate
Using the daily tiered rate pricing:
| Tier | Usage | Cost |
|---|---|---|
| First 100 rates/day | 100 | $0.50 |
| Next 100 rates/day | 100 | $0.40 |
| Next 100 rates/day | 100 | $0.30 |
| Next 100 rates/day | 100 | $0.20 |
| Next 600 rates/day | 600 | $0.60 |
| Next 9,000 rates/day | 9,000 | $4.50 |
| Remaining rates | 17,390 | $4.35 |
| Total | 27,390 | $10.85 |
Plan comparison
| Plan | Price per Credit | Monthly cost | Included credits | Estimated cost |
|---|---|---|---|---|
| Pay As You Go | $1.00/Credit | No commitment | N/A | $10.85 |
| Committed 64 | $0.85/Credit | $64 | ~75.29 credits | $64.00 |
| Committed 256 | $0.75/Credit | $256 | ~341.33 credits | $256.00 |
| Committed 512 | $0.70/Credit | $512 | ~731.43 credits | $512.00 |
| Committed 1024 | $0.65/Credit | $1,024 | ~1,575.38 credits | $1,024.00 |
Result
For this one-time historical download sample, Pay As You Go is the simplest and lowest-cost option.
Committed plans are better suited when the customer expects recurring monthly usage, larger historical downloads, frequent polling, or WebSocket streaming.
Caveat
This example assumes the historical data is downloaded in one day. Daily pricing tiers reset each day, so splitting downloads across multiple days can affect the total estimate.
