Fx History
by Saylor Innovations Data Desk in Markets & finance
Exchange rate history from ECB reference rates for up to 6 currencies - change, high and low with dates, mean, annualised volatility and a compact series
https://saylorinnovations.com/api/fx/history- Price
- $0.01
- per call in USDC
- Uptime
- 75.0%
- last 30 days
- Response time
- 203 ms
- 772 ms slowest 5%
- Last check
- Failed
- 10 h ago, next any minute now
Reliability
Latest check failed 10 h ago: Expected HTTP 402, got 404
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/fx/history
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/fx/history?base=USD&days=30&symbols=EUR%2CJPY%2CGBPParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | Yes | 3-letter base currency |
days | string | No | optional 5-365, default 30 |
symbols | string | Yes | 1-6 comma-separated quote currencies |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 292 lines
{
"base": "USD",
"end": "2026-10-16",
"note": "European Central Bank reference rates (business days only, about 30 major currencies); volatility is the annualised standard deviation of daily log changes.",
"observations": 22,
"pairs": [
{
"annualised_volatility_percent": 5.47,
"change_percent": 2.03,
"first": 0.871,
"high": 0.89469,
"high_date": "2026-10-07",
"latest": 0.88865,
"low": 0.87032,
"low_date": "2026-09-21",
"mean": 0.88449,
"pair": "USD/EUR",
"series": [
{
"date": "2026-09-17",
"rate": 0.871
},
{
"date": "2026-09-18",
"rate": 0.8726
},
{
"date": "2026-09-21",
"rate": 0.87032
},
{
"date": "2026-09-22",
"rate": 0.87237
},
{
"date": "2026-09-23",
"rate": 0.87635
},
{
"date": "2026-09-24",
"rate": 0.87974
},
{
"date": "2026-09-25",
"rate": 0.87696
},
{
"date": "2026-09-28",
"rate": 0.87889
},
{
"date": "2026-09-29",
"rate": 0.88067
},
{
"date": "2026-09-30",
"rate": 0.88067
},
{
"date": "2026-10-01",
"rate": 0.88511
},
{
"date": "2026-10-02",
"rate": 0.89087
},
{
"date": "2026-10-05",
"rate": 0.89254
},
{
"date": "2026-10-06",
"rate": 0.88739
},
{
"date": "2026-10-07",
"rate": 0.89469
},
{
"date": "2026-10-08",
"rate": 0.89397
},
{
"date": "2026-10-09",
"rate": 0.89238
},
{
"date": "2026-10-12",
"rate": 0.89437
},
{
"date": "2026-10-13",
"rate": 0.89381
},
{
"date": "2026-10-14",
"rate": 0.89326
}
]
},
{
"annualised_volatility_percent": 7.18,
"change_percent": 1.5,
"first": 155.69,
"high": 158.85,
"high_date": "2026-09-24",
"latest": 158.02,
"low": 155.69,
"low_date": "2026-09-17",
"mean": 157.78591,
"pair": "USD/JPY",
"series": [
{
"date": "2026-09-17",
"rate": 155.69
},
{
"date": "2026-09-18",
"rate": 157.89
},
{
"date": "2026-09-21",
"rate": 157.27
},
{
"date": "2026-09-22",
"rate": 157.18
},
{
"date": "2026-09-23",
"rate": 157.92
},
{
"date": "2026-09-24",
"rate": 158.85
},
{
"date": "2026-09-25",
"rate": 157.59
},
{
"date": "2026-09-28",
"rate": 156.88
},
{
"date": "2026-09-29",
"rate": 157.12
},
{
"date": "2026-09-30",
"rate": 157
},
{
"date": "2026-10-01",
"rate": 157.98
},
{
"date": "2026-10-02",
"rate": 157.67
},
{
"date": "2026-10-05",
"rate": 158.23
},
{
"date": "2026-10-06",
"rate": 158.09
},
{
"date": "2026-10-07",
"rate": 158.23
},
{
"date": "2026-10-08",
"rate": 158.28
},
{
"date": "2026-10-09",
"rate": 158.25
},
{
"date": "2026-10-12",
"rate": 158.6
},
{
"date": "2026-10-13",
"rate": 158.12
},
{
"date": "2026-10-14",
"rate": 158.45
}
]
},
{
"annualised_volatility_percent": 5.2,
"change_percent": 0.31,
"first": 0.74758,
"high": 0.75753,
"high_date": "2026-10-02",
"latest": 0.74989,
"low": 0.74656,
"low_date": "2026-09-21",
"mean": 0.75364,
"pair": "USD/GBP",
"series": [
{
"date": "2026-09-17",
"rate": 0.74758
},
{
"date": "2026-09-18",
"rate": 0.74939
},
{
"date": "2026-09-21",
"rate": 0.74656
},
{
"date": "2026-09-22",
"rate": 0.74832
},
{
"date": "2026-09-23",
"rate": 0.75322
},
{
"date": "2026-09-24",
"rate": 0.75645
},
{
"date": "2026-09-25",
"rate": 0.75458
},
{
"date": "2026-09-28",
"rate": 0.75396
},
{
"date": "2026-09-29",
"rate": 0.75489
},
{
"date": "2026-09-30",
"rate": 0.75265
},
{
"date": "2026-10-01",
"rate": 0.75565
},
{
"date": "2026-10-02",
"rate": 0.75753
},
{
"date": "2026-10-05",
"rate": 0.75616
},
{
"date": "2026-10-06",
"rate": 0.75322
},
{
"date": "2026-10-07",
"rate": 0.75731
},
{
"date": "2026-10-08",
"rate": 0.75718
},
{
"date": "2026-10-09",
"rate": 0.75641
},
{
"date": "2026-10-12",
"rate": 0.75555
},
{
"date": "2026-10-13",
"rate": 0.75492
},
{
"date": "2026-10-14",
"rate": 0.75377
}
]
}
],
"source": "ECB via Frankfurter",
"start": "2026-09-17"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/fx/history?base=USD&days=30&symbols=EUR%2CJPY%2CGBP'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/fx/history?base=USD&days=30&symbols=EUR%2CJPY%2CGBP' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Ffx%2Fhistory
const res = await pay("https://saylorinnovations.com/api/fx/history?base=USD&days=30&symbols=EUR%2CJPY%2CGBP");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/fx/history?base=USD&days=30&symbols=EUR%2CJPY%2CGBP")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 10 h ago | Expected HTTP 402, got 404 | 404 | 60 ms | - |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 191 ms | $0.01 |
| 5 days ago | Passed | 402 | 567 ms | $0.01 |
| 5 days ago | Passed | 402 | 414 ms | $0.01 |
Show 10 older checks
| 6 days ago | Passed | 402 | 462 ms | $0.01 |
| 6 days ago | Passed | 402 | 267 ms | $0.01 |
| 7 days ago | Passed | 402 | 261 ms | $0.01 |
| 7 days ago | Passed | 402 | 199 ms | $0.01 |
| 8 days ago | Passed | 402 | 174 ms | $0.01 |
| 8 days ago | Passed | 402 | 204 ms | $0.01 |
| 9 days ago | Passed | 402 | 200 ms | $0.01 |
| 9 days ago | Passed | 402 | 213 ms | $0.01 |
| 10 days ago | Passed | 402 | 182 ms | $0.01 |
| 10 days ago | Passed | 402 | 177 ms | $0.01 |
History
| 2 Nov 2026 | Price on Solana changed from 103015 units of So11111111111111111111111111111111111111112 to 103268 units of So11111111111111111111111111111111111111112 |
| 2 Nov 2026 | Price on Solana changed from 102147 units of So11111111111111111111111111111111111111112 to 103015 units of So11111111111111111111111111111111111111112 |
| 2 Nov 2026 | Price on Solana changed from 102461 units of So11111111111111111111111111111111111111112 to 102147 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 101912 units of So11111111111111111111111111111111111111112 to 102461 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 101517 units of So11111111111111111111111111111111111111112 to 101912 units of So11111111111111111111111111111111111111112 |
| 29 Oct 2026 | Price on Solana changed from 94624 units of So11111111111111111111111111111111111111112 to 97496 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 94661 units of So11111111111111111111111111111111111111112 to 94624 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95396 units of So11111111111111111111111111111111111111112 to 94661 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 96143 units of So11111111111111111111111111111111111111112 to 95396 units of So11111111111111111111111111111111111111112 |
| 27 Oct 2026 | Price on Solana changed from 96854 units of So11111111111111111111111111111111111111112 to 96143 units of So11111111111111111111111111111111111111112 |
| 26 Oct 2026 | Price on Solana changed from 96125 units of So11111111111111111111111111111111111111112 to 96854 units of So11111111111111111111111111111111111111112 |
| 26 Oct 2026 | Price on Solana changed from 95480 units of So11111111111111111111111111111111111111112 to 96125 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 96125 units of So11111111111111111111111111111111111111112 to 95480 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95255 units of So11111111111111111111111111111111111111112 to 96125 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 94809 units of So11111111111111111111111111111111111111112 to 95255 units of So11111111111111111111111111111111111111112 |