Use Cases

Use Case: Historical OHLCV Backfill for Many Symbols

A sample Stock API pricing simulation for downloading multi-year daily OHLCV history across many IEX symbols.

Use Case: Historical OHLCV Backfill for Many Symbols

This example estimates the cost of downloading multi-year daily OHLCV history for a large symbol universe.

Assumptions

ItemValue
ProductStock API
WorkflowHistorical OHLCV backfill
Endpoint patternGET /v1/ohlcv/exchange-symbol/{exchange_id}/{symbol}/history
ExchangeIEXG
Example symbolsAAPL, MSFT, NVDA, TSLA, AMZN
Period1DAY
Time range2020-10-01 to 2026-05-01
Symbols11,000
Sample response size per symbol112.23 KB
Estimated transferred data~1.18 GB

Example request:

SymbolExample endpoint
AAPLGET /v1/ohlcv/exchange-symbol/IEXG/AAPL/history?period_id=1DAY&time_start=2020-10-01&time_end=2026-05-01&limit=10000
MSFTGET /v1/ohlcv/exchange-symbol/IEXG/MSFT/history?period_id=1DAY&time_start=2020-10-01&time_end=2026-05-01&limit=10000
NVDAGET /v1/ohlcv/exchange-symbol/IEXG/NVDA/history?period_id=1DAY&time_start=2020-10-01&time_end=2026-05-01&limit=10000

Estimated usage

Sample response size:

112.23 KB per symbol

For 11,000 symbols:

112.23 KB × 11,000 = ~1.18 GB

Pay As You Go estimate

Since this is below 32 GB/day, the first daily tier applies:

1.18 GB × $1.00/GB = $1.18

Plan comparison

PlanPrice per CreditMonthly costIncluded creditsEstimated cost
Pay As You Go$1.00/CreditNo commitmentN/A$1.18
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 OHLCV backfill sample, Pay As You Go is the lowest-cost option.

Committed plans are better suited when this workflow is combined with larger recurring data downloads, such as Level 2, Level 3, trades, or quotes.

Caveat

Actual transferred data depends on the number of symbols, selected date range, response size, compression, retries, and whether the workflow downloads additional endpoints or metadata.

Service StatusGitHub SDK