Get historical FX rates (admin)

get/api/assetpricing/v1/admin/fx/historical

Returns historical rates for a currency pair. Pass a single date or a startDate/endDate range.

Query Parameters

  • requestobjectRequired
    Currency pair and date range for historical FX rate query
    • fromstringRequired
      Base currency ISO 4217 code (3 uppercase letters)
      Example: USD
      Pattern: ^[A-Z]{3}$
    • tostringRequired
      Quote currency ISO 4217 code (3 uppercase letters)
      Example: EUR
      Pattern: ^[A-Z]{3}$
    • datestring
      Single date for historical rate (format: YYYY-MM-DD or ISO 8601 timestamp, e.g. 2024-01-15T00:00:00Z)
      Example: 2024-01-15T00:00:00.000Z
      Pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d{1,9})?(Z|[+-]\d{2}:\d{2}))?$
    • startDatestring
      Start date for date range (format: YYYY-MM-DD or ISO 8601 timestamp, e.g. 2024-01-01T00:00:00Z)
      Example: 2024-01-01T00:00:00.000Z
      Pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d{1,9})?(Z|[+-]\d{2}:\d{2}))?$
    • endDatestring
      End date for date range (format: YYYY-MM-DD or ISO 8601 timestamp, e.g. 2024-01-31T23:59:59Z)
      Example: 2024-01-31T00:00:00.000Z
      Pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d{1,9})?(Z|[+-]\d{2}:\d{2}))?$

200 Response

from string required
to string required
rate string required
date string required
source string required

400 Response

string