Stooq Historical Data API
CSV-based REST endpoint returning OHLCV (Open, High, Low, Close, Volume) time series for a given ticker. Accepts query parameters: s (ticker symbol with optional exchange suffix such as .US, .UK, .DE, .JP, .HK, .HU), d1 (start date YYYYMMDD), d2 (end date YYYYMMDD), i (interval: d=daily, w=weekly, m=monthly, q=quarterly, y=yearly), and apikey. Covers 21,000+ global securities and ETFs, 1,980+ currency pairs, 130+ cryptocurrencies, global indices, commodities, and economic indicators. Daily history extends 30+ years for major instruments; hourly data spans ~9 months; 5-minute data ~1 month.
Documentation
Documentation
https://stooq.com/db/h/
RateLimits
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/rate-limits/stooq-rate-limits.yml
Specifications
Examples
Example
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/examples/stooq-apple-daily-ohlcv-example.json
Example
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/examples/stooq-bitcoin-weekly-ohlcv-example.json
Example
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/examples/stooq-quota-exceeded-example.json
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/json-schema/stooq-ohlcv-record.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/json-schema/stooq-query-parameters.json
Other Resources
Vocabulary
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/vocabulary/stooq-vocabulary.json
JSONLD
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/json-ld/stooq-jsonld.json
Plans
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/plans/stooq-plans-pricing.yml
FinOps
https://raw.githubusercontent.com/api-evangelist/stooq/refs/heads/main/finops/stooq-finops.yml