Use Cases

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

ItemValue
ProtocolREST
Endpoint patternGET /v1/exchangerate/{asset_id_base}/{asset_id_quote}/history
Currency pairsEUR/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 pairs15
Period1DAY
Time range2021-01-01 to 2025-12-31
Rates per pair1,826
Estimated usage27,390 rates

Example requests:

PairExample endpoint
EUR/USDGET /v1/exchangerate/EUR/USD/history?period_id=1DAY&time_start=2021-01-01T00:00:00Z&time_end=2026-01-01T00:00:00Z
GBP/USDGET /v1/exchangerate/GBP/USD/history?period_id=1DAY&time_start=2021-01-01T00:00:00Z&time_end=2026-01-01T00:00:00Z
USD/JPYGET /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:

TierUsageCost
First 100 rates/day100$0.50
Next 100 rates/day100$0.40
Next 100 rates/day100$0.30
Next 100 rates/day100$0.20
Next 600 rates/day600$0.60
Next 9,000 rates/day9,000$4.50
Remaining rates17,390$4.35
Total27,390$10.85

Plan comparison

PlanPrice per CreditMonthly costIncluded creditsEstimated cost
Pay As You Go$1.00/CreditNo commitmentN/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.

Service StatusGitHub SDK