ConsoleCatalog
Sign in
Xe logo

Xe

xe.comFinanceno auth

Live and historical exchange rates, currency pairs, and conversion tables.

Historical Chart Rates

ASYNCREADNo auth

Returns historical OHLC rate batches and timestamps for charting a currency pair over time.

ParametersFormJSON

Source ISO 4217 currency code for the chart series

Target ISO 4217 currency code for the chart series

When set, adds isExtended=true to request an extended historical range on the charting-rates endpoint

cost: 2 credits · balance: 0
curl https://api.openwire.sh/v1/wire/task \
  -X POST \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_xe_com_historical_chart_rates",
    "params": {
      "from_currency": "USD",
      "to_currency": "JPY",
      "is_extended": "true"
    }
  }'