---
title: Foreign Exchange Rates API
slug: fx-rates
url: https://apyhub.com/quadlem/service/fx-rates
provider: "Quadlem, LLC"
categories: [Finance, Standard Data]
tags: [fx-rates, currency-conversion, exchange-rates, finance, currency-data]
auth: api_key
version: 2.1.0
service_type: sync
endpoints: 1
atoms: 20
mcp: true
---

# Foreign Exchange Rates API

Get exchange rate data for any base currency. Returns a success flag, numeric code, and the rate blocks used in pricing, billing, and reporting.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/quadlem/fx-rates` | What it does Returns cached foreign exchange rates for a given base currency, expressed against 160… | 20 |

## Endpoint reference

### FX Rates

`GET https://api.eu.apyhub.com/quadlem/fx-rates` · 20 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `base` | query | string | no | Default: `USD`. |

#### Quickstart

Use the following request to retrieve the latest exchange rates for a base currency.

```bash
curl -X GET "https://api.eu.apyhub.com/quadlem/fx-rates?base=USD" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

A successful request returns the requested base currency, the timestamp of the exchange rates, and a list of conversion rates for supported currencies.

```json
{
  "success": true,
  "code": 200,
  "base": "USD",
  "date": "Tue, 04 Aug 2026 00:02:31 +0000",
  "rates": {
    "USD": 1,
    "EUR": 0.868722,
    "GBP": 0.74407,
    "INR": 95.401315,
    "JPY": 157.167068
  },
  "source": "open.er-api.com"
}
```

> **Note:** The `rates` object is truncated in this example. The full response includes exchange rates for approximately **160 supported currencies**, with values relative to the requested base currency.

## About

## What it does
FX Rates gives you foreign exchange rate data for a chosen base currency. Send the `base` query parameter as a three-letter currency code, or omit it to use the default `USD`, and get a response envelope with `success` and `code` plus the rate data blocks returned by the service.

Use FX Rates when you need live or latest currency reference data for pricing, checkout display, reporting, or financial dashboards. It is a fit for applications that convert amounts across currencies, reconcile multi-currency transactions, or show users values in their local currency while keeping a single source of truth for the base currency.

The response is intentionally lightweight at the top level: `success` tells you whether the request completed, and `code` gives you the numeric status. Any additional module blocks are returned in the body as defined by the service, so you can parse the currency data your integration needs without guessing at extra fields.

If you work with invoices, subscription billing, or exchange-rate lookup flows, FX Rates keeps the contract simple: request a base currency, read the result envelope, and use the returned rate payload in your own calculations.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/quadlem/service/fx-rates
