---
title: "Get historic FX prices (streaming NDJSON)"
method: GET
path: "/api-regulated/v1/historic-prices/{symbol}/prices"
tags: ["PriceHistory"]
---

# Get historic FX prices (streaming NDJSON)

`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

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.

## Path parameters

- `symbol` string, required

## Query parameters

- `fromDate` string, date-time
- `toDate` string, date-time
- `source` string

## Response `200`

Historical price data streamed successfully

## Other responses

- `400`: Invalid parameters — [`http/malformed-request`](/problems/http/malformed-request/)
- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Access denied - requires sales or internal role — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `500`: Server error — [`server/internal-error`](/problems/server/internal-error/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
