82trust / 100
Fx
by Currency Exchange Rates in Documents & files
x402 APIPassing, checked 3 h ago
Currency exchange rates: convert an amount between currencies such as USD, EUR, GBP and JPY at the European Central Bank reference rate, today or on a past date.
POST https://data.tollkit.dev/fx
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 296 ms typical, 296 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://data.tollkit.dev/fx" \
-H "content-type: application/json" \
-d '{"amount":100,"from":"USD","to":"EUR"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdata.tollkit.dev%2Ffx
const res = await pay("https://data.tollkit.dev/fx", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount":100,"from":"USD","to":"EUR"}),
});
console.log(await res.json());Example input
{
"amount": 100,
"from": "USD",
"to": "EUR"
}Example output
{
"amount": 100,
"converted": 89.08685969,
"from": "USD",
"notice": "These reference rates are published free of charge by the European Central Bank at https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html. They are for information purposes only, not for transactions.",
"rate": 0.8908686,
"rate_date": "2026-10-02",
"requested_date": null,
"source": "European Central Bank euro foreign exchange reference rates",
"to": "EUR"
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 296 ms | $0.002 |