Live rates
curl --request POST \
--url https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "EUR",
"quotes": [
"USD",
"GBP",
"CHF",
"JPY"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates"
payload = {
"base": "EUR",
"quotes": ["USD", "GBP", "CHF", "JPY"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'EUR', quotes: ['USD', 'GBP', 'CHF', 'JPY']})
};
fetch('https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base' => 'EUR',
'quotes' => [
'USD',
'GBP',
'CHF',
'JPY'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates"
payload := strings.NewReader("{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"base": "EUR",
"count": 4,
"observed_at_ms": 1791138129597,
"rate_timestamp": "2026-10-04T10:43:00Z",
"rate_timestamp_ms": 1791110580000,
"rates": [
{
"currency": "USD",
"inverse": 0.8881977461,
"rate": 1.1258754082533018
},
{
"currency": "GBP",
"inverse": 1.1761991422232803,
"rate": 0.850196165004657
},
{
"currency": "CHF",
"inverse": 1.071695147602776,
"rate": 0.9331011736283891
},
{
"currency": "JPY",
"inverse": 0.00562656175395939,
"rate": 177.728432340817
}
],
"source_url": "https://www.xe.com/en-us/currencyconverter/convert/?Amount=1&From=EUR&To=USD"
}XE currency data
Live rates
Many rates against one base in one call. For one pair with statistics use convert.
POST
https://api.aisa.one
/
apis
/
v1
/
xe-com
/
exchange-rates
/
live-rates
Live rates
curl --request POST \
--url https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "EUR",
"quotes": [
"USD",
"GBP",
"CHF",
"JPY"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates"
payload = {
"base": "EUR",
"quotes": ["USD", "GBP", "CHF", "JPY"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base: 'EUR', quotes: ['USD', 'GBP', 'CHF', 'JPY']})
};
fetch('https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base' => 'EUR',
'quotes' => [
'USD',
'GBP',
'CHF',
'JPY'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates"
payload := strings.NewReader("{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base\": \"EUR\",\n \"quotes\": [\n \"USD\",\n \"GBP\",\n \"CHF\",\n \"JPY\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"base": "EUR",
"count": 4,
"observed_at_ms": 1791138129597,
"rate_timestamp": "2026-10-04T10:43:00Z",
"rate_timestamp_ms": 1791110580000,
"rates": [
{
"currency": "USD",
"inverse": 0.8881977461,
"rate": 1.1258754082533018
},
{
"currency": "GBP",
"inverse": 1.1761991422232803,
"rate": 0.850196165004657
},
{
"currency": "CHF",
"inverse": 1.071695147602776,
"rate": 0.9331011736283891
},
{
"currency": "JPY",
"inverse": 0.00562656175395939,
"rate": 177.728432340817
}
],
"source_url": "https://www.xe.com/en-us/currencyconverter/convert/?Amount=1&From=EUR&To=USD"
}Request contract
- Method and path: POST /apis/v1/xe-com/exchange-rates/live-rates
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/xe-com/exchange-rates/live-rates
{
"operationId": "xe-com.exchange-rates.live-rates",
"method": "POST",
"path": "/apis/v1/xe-com/exchange-rates/live-rates",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"base": "EUR",
"quotes": [
"USD",
"GBP",
"CHF",
"JPY"
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"base": {
"description": "Base currency code. Default USD.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"quotes": {
"description": "Only these quote currencies, in this order. Each must be a code XE publishes.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
XE's live mid-market table re-based to one currency: one row per currency with the rate (units of that currency per 1 base) and its inverse, sorted by code (about 220 codes including obsolete currencies, metals and crypto). quotes restricts the rows to the listed codes.
The response contains the tool result directly.
The provider identifies rates as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
currency | string | |
inverse | number | |
rate | number | Units of currency per 1 base. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.