Bulk OHLCV download — presigned Parquet or CSV file (paid plans)
Changed onBulk download of OHLCV bars for a symbol+interval+year from the archive.
Returns a 307 redirect to a time-limited presigned URL (1 hour TTL). Free and anonymous callers are blocked — bulk download is the paid depth moat.
Tier gates: Free/anonymous: 403 plan_gated. Physical, Basic: 365-day window — years within the last year only. Pro, Realtime Pro, Plus, Pro (2026): full history (back to 1996 for XAU/USD daily).
Request
- Base URLhttps://api.goldprice.dev
- URLhttps://api.goldprice.dev/v1/download
- Auth
- HTTP bearer
- or API key in header X-API-Key
Query parameters
Symbol to download. E.g. "XAU/USD", "XAU-USD-SPOT", "GLD". Only symbols with archived data are available.
Bar interval. One of: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 1d.
Calendar year to download (1996-2026). Each year is one archive partition.
Download format. "parquet" (default) = presigned Parquet URL. "csv" = precomputed CSV sidecar from the same yearly archive partition.
Changes
- breaking
removed the success response with the status
- warning
removed the optional property
from the response with the status - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
BearerAuthwas added to the API - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking