Discover/x-rates.com API
live

x-rates.com APIx-rates.com

Access current and historical exchange rates, currency conversion, monthly averages, and 24-hour trend data from x-rates.com via a structured JSON API.

Endpoints
7
Updated
3mo ago
Try it
Base currency code (e.g. USD, EUR, GBP).
Amount to calculate rates for.
api.parse.bot/scraper/8c172966-02db-4c7c-9e9f-4c9e3f6a8be9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8c172966-02db-4c7c-9e9f-4c9e3f6a8be9/get_current_rates_table?from=EUR&amount=1' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Fetches the current exchange rates table for a given base currency against all other supported currencies. Returns rate and inverse rate for each currency pair.

Input
ParamTypeDescription
fromstringBase currency code (e.g. USD, EUR, GBP).
amountnumberAmount to calculate rates for.
Response
{
  "type": "object",
  "fields": {
    "rates": "array of objects with currency, code, rate, and inverse_rate",
    "amount": "number, the amount used for calculation",
    "timestamp": "string or null, UTC timestamp of rates",
    "base_currency": "string, the base currency code"
  },
  "sample": {
    "data": {
      "rates": [
        {
          "code": "EUR",
          "rate": 0.85389,
          "currency": "Euro",
          "inverse_rate": 1.171111
        },
        {
          "code": "GBP",
          "rate": 0.739677,
          "currency": "British Pound",
          "inverse_rate": 1.351941
        }
      ],
      "amount": 1,
      "timestamp": "May 14, 2026 09:05 UTC",
      "base_currency": "USD"
    },
    "status": "success"
  }
}

About the x-rates.com API

This API exposes 7 endpoints covering current exchange rates, historical snapshots, currency conversion, monthly averages, and trend data sourced from x-rates.com. The get_current_rates_table endpoint returns rate and inverse_rate for every supported currency pair against a chosen base currency, while get_24h_percent_changes surfaces direction and magnitude of moves for major pairs over the last 24 hours.

Current and Historical Rate Tables

get_current_rates_table accepts a from base currency code (e.g. USD, EUR, GBP) and an optional amount, returning an array of objects each containing currency, code, rate, and inverse_rate, along with a UTC timestamp and the base_currency used. get_historical_rates_table mirrors this structure but requires a date parameter in YYYY-MM-DD format, making it straightforward to reconstruct the rate environment on any past date supported by x-rates.com.

Conversion and Averages

convert_currency takes from, to, and an optional amount and returns both a numeric converted_value and a result_text string (e.g. '85.389017EUR'). get_monthly_average accepts a currency pair and an optional year (defaults to the current year), returning a monthly_averages array where each entry includes month, average_rate, and days — useful for period-over-period analysis without needing to aggregate daily snapshots yourself.

Trend Data and 24-Hour Changes

get_graph_data returns data_points for the current year, each with a label (month abbreviation) and a rate, giving a year-to-date picture of a currency pair's movement. get_24h_percent_changes requires no inputs and delivers a trends array with pair, change, and direction for major pairs, plus a UTC timestamp. get_supported_currencies returns the complete list of currency names and codes with a total count.

Common use cases
  • Display a live multi-currency rate card using get_current_rates_table with a user-selected base currency
  • Back-fill historical portfolio valuations by querying get_historical_rates_table for specific past dates
  • Build a currency converter widget using convert_currency with from, to, and amount inputs
  • Generate monthly exchange rate trend charts using get_monthly_average data across multiple years
  • Show year-to-date rate movement graphs by plotting data_points from get_graph_data
  • Alert users to significant FX moves by monitoring change and direction from get_24h_percent_changes
  • Populate a currency selector dropdown by fetching the full list from get_supported_currencies
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does x-rates.com have an official developer API?+
x-rates.com does not publish an official developer API or documented data feed for third-party use. This Parse API provides structured programmatic access to the data available on the site.
What does `get_monthly_average` return, and does it cover multiple years in a single call?+
It returns a monthly_averages array for one currency pair and one year at a time. Each entry includes month, average_rate, and days. To compare across years you need to make one call per year using the year parameter in YYYY format.
Does the API expose tick-level or intraday rate data?+
Not currently. The available granularity is current rates (with a UTC timestamp), daily historical snapshots, monthly averages, and 24-hour percent changes. Intraday or tick-level data is not included. You can fork this API on Parse and revise it to add an intraday endpoint if x-rates.com surfaces that data.
How current is the `timestamp` returned by the rate endpoints?+
The timestamp field reflects the UTC time of the rate snapshot as reported by x-rates.com. It can be null if no timestamp is present in the source data for that request. The site updates rates periodically rather than in real time, so the timestamp may lag the true market rate by some minutes.
Does the API support currency cross-rates not involving USD as a base?+
Yes. Both get_current_rates_table and get_historical_rates_table accept any supported currency in the from parameter, not just USD. You can retrieve a list of all valid codes with get_supported_currencies. Cross-rate accuracy depends on what x-rates.com publishes for that base currency.
Page content last updated . Spec covers 7 endpoints from x-rates.com.
Related APIs in FinanceSee all →
mazda.ca API
Find current vehicle deals, financing rates, lease options, and incentives across all Mazda Canada models and trims, with pricing tailored to your province. Get instant payment quotes to compare your options and discover the best offers available.
13f.info API
13f.info API
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
x-rates.com API – Exchange Rates & Conversion · Parse