Historical table
curl --request POST \
--url https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "USD",
"date": "2026-09-15"
}
'import requests
url = "https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table"
payload = {
"base": "USD",
"date": "2026-09-15"
}
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: 'USD', date: '2026-09-15'})
};
fetch('https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table', 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/historical-table",
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' => 'USD',
'date' => '2026-09-15'
]),
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/historical-table"
payload := strings.NewReader("{\n \"base\": \"USD\",\n \"date\": \"2026-09-15\"\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/historical-table")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base\": \"USD\",\n \"date\": \"2026-09-15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table")
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\": \"USD\",\n \"date\": \"2026-09-15\"\n}"
response = http.request(request)
puts response.read_body{
"base": "USD",
"central_bank_rates": [
{
"currency": "JPY",
"rate_percent": 0.75,
"slug": "jpy-japanese-yen"
},
{
"currency": "CHF",
"rate_percent": 0,
"slug": "chf-swiss-franc"
},
{
"currency": "EUR",
"rate_percent": 4.25,
"slug": "eur-euro"
},
{
"currency": "USD",
"rate_percent": 3.75,
"slug": "usd-us-dollar"
},
{
"currency": "CAD",
"rate_percent": 2.25,
"slug": "cad-canadian-dollar"
},
{
"currency": "AUD",
"rate_percent": 3.6,
"slug": "aud-australian-dollar"
},
{
"currency": "NZD",
"rate_percent": 2.25,
"slug": "nzd-new-zealand-dollar"
},
{
"currency": "GBP",
"rate_percent": 3.75,
"slug": "gbp-british-pound"
}
],
"count": 4,
"date": "2026-09-15",
"observed_at_ms": 1791138139144,
"rate_timestamp": "2026-09-15T16:00:00Z",
"rates": [
{
"currency": "EUR",
"inverse": 1.1542064070309253,
"rate": 0.8663961609539103,
"slug": "eur-euro"
},
{
"currency": "GBP",
"inverse": 1.3478241111678746,
"rate": 0.7419365714815052,
"slug": "gbp-british-pound"
},
{
"currency": "JPY",
"inverse": 0.006447320307048395,
"rate": 155.1031982863906,
"slug": "jpy-japanese-yen"
},
{
"currency": "BRL",
"inverse": 0.1941846755424421,
"rate": 5.149736956361598,
"slug": "brl-brazilian-real"
}
],
"source_url": "https://www.xe.com/en-us/currencytables/?from=USD&date=2026-09-15"
}XE currency data
Historical table
What a rate was on a given day, or a whole day’s table. For a time series of one pair use rate_history.
POST
https://api.aisa.one
/
apis
/
v1
/
xe-com
/
exchange-rates
/
historical-table
Historical table
curl --request POST \
--url https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "USD",
"date": "2026-09-15"
}
'import requests
url = "https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table"
payload = {
"base": "USD",
"date": "2026-09-15"
}
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: 'USD', date: '2026-09-15'})
};
fetch('https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table', 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/historical-table",
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' => 'USD',
'date' => '2026-09-15'
]),
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/historical-table"
payload := strings.NewReader("{\n \"base\": \"USD\",\n \"date\": \"2026-09-15\"\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/historical-table")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base\": \"USD\",\n \"date\": \"2026-09-15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table")
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\": \"USD\",\n \"date\": \"2026-09-15\"\n}"
response = http.request(request)
puts response.read_body{
"base": "USD",
"central_bank_rates": [
{
"currency": "JPY",
"rate_percent": 0.75,
"slug": "jpy-japanese-yen"
},
{
"currency": "CHF",
"rate_percent": 0,
"slug": "chf-swiss-franc"
},
{
"currency": "EUR",
"rate_percent": 4.25,
"slug": "eur-euro"
},
{
"currency": "USD",
"rate_percent": 3.75,
"slug": "usd-us-dollar"
},
{
"currency": "CAD",
"rate_percent": 2.25,
"slug": "cad-canadian-dollar"
},
{
"currency": "AUD",
"rate_percent": 3.6,
"slug": "aud-australian-dollar"
},
{
"currency": "NZD",
"rate_percent": 2.25,
"slug": "nzd-new-zealand-dollar"
},
{
"currency": "GBP",
"rate_percent": 3.75,
"slug": "gbp-british-pound"
}
],
"count": 4,
"date": "2026-09-15",
"observed_at_ms": 1791138139144,
"rate_timestamp": "2026-09-15T16:00:00Z",
"rates": [
{
"currency": "EUR",
"inverse": 1.1542064070309253,
"rate": 0.8663961609539103,
"slug": "eur-euro"
},
{
"currency": "GBP",
"inverse": 1.3478241111678746,
"rate": 0.7419365714815052,
"slug": "gbp-british-pound"
},
{
"currency": "JPY",
"inverse": 0.006447320307048395,
"rate": 155.1031982863906,
"slug": "jpy-japanese-yen"
},
{
"currency": "BRL",
"inverse": 0.1941846755424421,
"rate": 5.149736956361598,
"slug": "brl-brazilian-real"
}
],
"source_url": "https://www.xe.com/en-us/currencytables/?from=USD&date=2026-09-15"
}Request contract
- Method and path: POST /apis/v1/xe-com/exchange-rates/historical-table
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/xe-com/exchange-rates/historical-table
{
"operationId": "xe-com.exchange-rates.historical-table",
"method": "POST",
"path": "/apis/v1/xe-com/exchange-rates/historical-table",
"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": "USD",
"date": "2026-09-15",
"quotes": [
"EUR",
"GBP",
"JPY",
"BRL"
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"base": {
"description": "Base currency code.",
"type": "string"
},
"date": {
"description": "Calendar date, YYYY-MM-DD. Pattern: ^\\d{4}-\\d{2}-\\d{2}$.",
"type": "string"
},
"quotes": {
"description": "Only these quote currencies.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"base",
"date"
],
"type": "object"
}
}
},
"required": true
},
"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 historical rate table for a base currency as of a past date (UTC close, the page's timestamp says when): one row per currency with the rate (units per 1 base), its inverse and the currency's encyclopedia slug, plus the central-bank policy rates XE lists beside the table. An unknown currency or a date outside XE's series is not_found. quotes restricts the rows.
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 | |
slug | string | Encyclopedia slug for currency_profile; null when XE has no profile. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.