PriceHistory

Get historic FX prices (streaming NDJSON)

Retrieves historical price data for a currency pair over a specified time range as streaming NDJSON. Each line is a JSON object with 'date' and 'price' fields.

get/api-regulated/v1/historic-prices/{symbol}/prices

Request

  • Base URL: https://api.currencyguard.com
  • URL: https://api.currencyguard.com/api-regulated/v1/historic-prices/{symbol}/prices
  • Auth: HTTP bearer

Path parameters

symbolstring required

Currency pair symbol (e.g., GBPUSD)

Query parameters

fromDatestring date-time

Start date for historical data (ISO-8601 date format, e.g., 2024-12-01)

toDatestring date-time

End date for historical data (ISO-8601 date format, e.g., 2024-12-01)

sourcestring

Price source

Response

Historical price data streamed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.