Fx History
by taiwan-business-day-live.wuryan529.workers.dev in Markets & finance
Exchange rate history: daily exchange rates between two currencies over the last 7-90 days (default 30), with the start and end rates, percentage change, high, low and average. Use it for 'USD to TWD exchange rate history', 'EUR to JPY trend this month', rate movement checks and volatility estimates. Rates are European Central Bank reference rates via Frankfurter; TWD comes via Frankfurter v2, as the ECB does not publish TWD.
https://taiwan-business-day-live.wuryan529.workers.dev/fx/history- Price
- $0.02
- per call in USDC
- Uptime
- 81.6%
- last 30 days
- Response time
- 468 ms
- 784 ms slowest 5%
- Last check
- Passed
- 7 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://taiwan-business-day-live.wuryan529.workers.dev/fx/history
Each call costs $0.02 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://taiwan-business-day-live.wuryan529.workers.dev/fx/history?base=USD&days=30"e=TWDParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | No | Base currency, ISO 4217 code (default USD). |
days | number | No | History window in days, 7-90 (default 30). |
quote | string | No | Quote currency, ISO 4217 code (default TWD). |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 153 lines
{
"average": 32.491033,
"base": "USD",
"changePercent": 3.01,
"days": 30,
"disclaimer": "Reference rates published by the European Central Bank via Frankfurter; not a dealing quote. Note: the TWD leg is a multi-provider reference rate served by Frankfurter v2; the European Central Bank does not publish a TWD reference rate.",
"endDate": "2026-11-10",
"fetchedAt": "2026-11-10T22:12:52.000Z",
"firstRate": 31.889,
"high": 32.88,
"highDate": "2026-11-06",
"lastRate": 32.848,
"low": 31.889,
"lowDate": "2026-10-12",
"midRate": 32.3685,
"note": "Series dates are ECB publication days when an ECB currency is involved; the TWD leg is a daily multi-provider reference rate via Frankfurter v2 (the ECB does not publish TWD). Dates are shown only where both legs have a published value.",
"observations": 30,
"quote": "TWD",
"series": [
{
"date": "2026-10-12",
"rate": 31.889
},
{
"date": "2026-10-13",
"rate": 32.02
},
{
"date": "2026-10-14",
"rate": 32.1
},
{
"date": "2026-10-15",
"rate": 32.236
},
{
"date": "2026-10-16",
"rate": 32.299
},
{
"date": "2026-10-17",
"rate": 32.305
},
{
"date": "2026-10-18",
"rate": 32.316
},
{
"date": "2026-10-19",
"rate": 32.39
},
{
"date": "2026-10-20",
"rate": 32.498
},
{
"date": "2026-10-21",
"rate": 32.426
},
{
"date": "2026-10-22",
"rate": 32.436
},
{
"date": "2026-10-23",
"rate": 32.512
},
{
"date": "2026-10-24",
"rate": 32.517
},
{
"date": "2026-10-25",
"rate": 32.517
},
{
"date": "2026-10-26",
"rate": 32.507
},
{
"date": "2026-10-27",
"rate": 32.442
},
{
"date": "2026-10-28",
"rate": 32.378
},
{
"date": "2026-10-29",
"rate": 32.44
},
{
"date": "2026-10-30",
"rate": 32.48
},
{
"date": "2026-10-31",
"rate": 32.484
}
],
"sources": [
{
"name": "European Central Bank daily reference rates",
"url": "https://api.frankfurter.dev/v1/latest?base=USD",
"via": "Frankfurter API v1"
},
{
"name": "Frankfurter v2 reference rate (multi-provider; not ECB-published)",
"url": "https://api.frankfurter.dev/v2/rates?base=USD"es=TWD",
"via": "Frankfurter API v2"
}
],
"startDate": "2026-10-12",
"volatility": {
"dailyChangeStdDevPercent": 0.1844,
"maxDailyGainDate": "2026-10-15",
"maxDailyGainPercent": 0.42,
"maxDailyLossDate": "2026-10-21",
"maxDailyLossPercent": -0.22
},
"weeklyAverages": [
{
"average": 32.166429,
"observations": 7,
"weekEnd": "2026-10-18",
"weekStart": "2026-10-12"
},
{
"average": 32.470857,
"observations": 7,
"weekEnd": "2026-10-25",
"weekStart": "2026-10-19"
},
{
"average": 32.460857,
"observations": 7,
"weekEnd": "2026-11-01",
"weekStart": "2026-10-26"
},
{
"average": 32.767571,
"observations": 7,
"weekEnd": "2026-11-08",
"weekStart": "2026-11-02"
},
{
"average": 32.8355,
"observations": 2,
"weekEnd": "2026-11-15",
"weekStart": "2026-11-09"
}
]
}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.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://taiwan-business-day-live.wuryan529.workers.dev/fx/history?base=USD&days=30"e=TWD'
# 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://taiwan-business-day-live.wuryan529.workers.dev/fx/history?base=USD&days=30"e=TWD' \
| 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.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
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.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftaiwan-business-day-live.wuryan529.workers.dev%2Ffx%2Fhistory
const res = await pay("https://taiwan-business-day-live.wuryan529.workers.dev/fx/history?base=USD&days=30"e=TWD");
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.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://taiwan-business-day-live.wuryan529.workers.dev/fx/history?base=USD&days=30"e=TWD")
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 |
|---|---|---|---|---|
| 7 h ago | Passed | 402 | 143 ms | $0.02 |
| 23 h ago | Passed | 402 | 531 ms | $0.02 |
| 38 h ago | Passed | 402 | 316 ms | $0.02 |
| 2 days ago | Passed | 402 | 168 ms | $0.02 |
| 3 days ago | Passed | 402 | 46 ms | $0.02 |
Show 10 older checks
| 4 days ago | Timed out | - | - | - |
| 6 days ago | Passed | 402 | 510 ms | $0.02 |
| 7 days ago | Passed | 402 | 231 ms | $0.02 |
| 8 days ago | Passed | 402 | 332 ms | $0.02 |
| 8 days ago | Passed | 402 | 440 ms | $0.02 |
| 9 days ago | Passed | 402 | 595 ms | $0.02 |
| 9 days ago | Passed | 402 | 252 ms | $0.02 |
| 10 days ago | Passed | 402 | 784 ms | $0.02 |
| 10 days ago | Passed | 402 | 336 ms | $0.02 |
| 11 days ago | Passed | 402 | 574 ms | $0.02 |