Finance
Xe logo

Xe API

xe.com

Xe - live and historical exchange rates, currency pairs, and conversion tables.

Actions
5
Category
Finance
Login
Not required
Output
JSON

Call the Xe API

Submit a task, then poll the job until it settles. This example runs act_xe_com_historical_chart_rates.

curl -X POST https://api.anakin.io/v1/wire/task \
  -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"
    }
  }'

5 actions on xe.com

Read

  • Historical Chart Rates

    act_xe_com_historical_chart_ratesread2 credits / call

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

    from_currency
    string · required
    to_currency
    string · required
    is_extended
    string
  • Midmarket Rates Table

    act_xe_com_midmarket_rates_tableread1 credit / call

    Returns the full mid-market cross-rate table with a timestamp and per-currency rates.

  • Popular Currency Pairs

    act_xe_com_popular_currency_pairsread1 credit / call

    Returns popular counter-currency ISO codes for a given base currency.

    from_currency
    string · required
  • Popular Pair Live Rates

    act_xe_com_popular_pair_live_ratesread2 credits / call

    Returns live spot rates, rate change, and percent change for multiple currency pairs.

    currency_pairs
    string · required
    to_currency
    string · required
  • Rate Statistics Summary

    act_xe_com_rate_statistics_summaryread1 credit / call

    Returns 7, 30, and 90 day high, low, average, volatility, and data-point statistics for a currency pair.

    from_currency
    string · required
    to_currency
    string · required

Xe API questions

Is there an API for Xe?
Xe does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for xe.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Xe data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when xe.com changes its markup, Anakin updates the action.
Do I need a Xe account?
No. Every Xe action listed here runs anonymously — no account and no credentials required.
What does the Xe API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites