Fx Rates
by AgentFeed in Markets & finance
FX reference rates: the ECB euro foreign exchange reference rates for about 30 currencies, as published or as crosses for another base, plus Hyperliquid HIP-3 FX and commodity marks. Use when you need to answer: What are today's official euro exchange rates? The ECB rates are available free of charge on the ECB's website; they are for information only, not for transactions.
https://x402.ochinimus.app/api/fx-rates- Price
- $0.001
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 204 ms
- 415 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://x402.ochinimus.app/api/fx-rates
Each call costs $0.001 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://x402.ochinimus.app/api/fx-ratesParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | No | base currency, 3 letters, default EUR; other bases are crosses computed from the ECB rates |
Example response
The provider's example. We can't check it without paying.
Example response, 60 lines
{
"data": {
"base": "EUR",
"ecb_reference_date": "2026-10-12",
"hip3_fx_and_commodity_marks": [
{
"asset_class": "commodity",
"change_24h_pct": -0.645,
"mark_px": 4171.3,
"market": "xyz:GOLD",
"oracle_px": 4173,
"ticker": "GOLD"
},
{
"asset_class": "commodity",
"change_24h_pct": 0.8,
"mark_px": 103.31,
"market": "xyz:BRENTOIL",
"oracle_px": 103.4,
"ticker": "BRENTOIL"
}
],
"notice": "Euro foreign exchange reference rates: source European Central Bank (ECB). This data is available free of charge on the ECB's website (data.…",
"rates": {
"AUD": 1.6032,
"BRL": 5.5819,
"CAD": 1.5946,
"CHF": 0.9312,
"CNY": 7.4832,
"CZK": 24.391,
"DKK": 7.4748,
"GBP": 0.84478,
"HKD": 8.7743,
"HUF": 365.13,
"IDR": 20036.18,
"ILS": 3.432,
"INR": 107.086,
"ISK": 136.4,
"JPY": 177.33,
"KRW": 1490.53,
"MXN": 20.5081,
"MYR": 4.5663,
"NOK": 10.6955,
"NZD": 1.9968,
"PHP": 70.169,
"PLN": 4.385,
"RON": 5.337,
"SEK": 11.1965,
"SGD": 1.4314,
"THB": 37.585,
"TRY": 55.1635,
"USD": 1.1181,
"ZAR": 18.4945
},
"rates_are": "ECB euro reference rates as published",
"source": "European Central Bank (data-api.ecb.europa.eu, EXR); Hyperliquid HIP-3 (api.hyperliquid.xyz)"
},
"paid": true,
"tool": "get_fx_rates"
}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.001.
The code pays $0.001 in USDC on Base instead: it uses a payment scheme other than exact, which needs a different client setup.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://x402.ochinimus.app/api/fx-rates'
# 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://x402.ochinimus.app/api/fx-rates' \
| 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.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
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.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Ffx-rates
const res = await pay("https://x402.ochinimus.app/api/fx-rates");
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.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://x402.ochinimus.app/api/fx-rates")
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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 258 ms | $0.001 |
| 8 h ago | Passed | 402 | 250 ms | $0.001 |
| 13 h ago | Passed | 402 | 228 ms | $0.001 |
| 18 h ago | Passed | 402 | 242 ms | $0.001 |
| 22 h ago | Passed | 402 | 251 ms | $0.001 |
Show 10 older checks
| 27 h ago | Passed | 402 | 224 ms | $0.001 |
| 31 h ago | Passed | 402 | 157 ms | $0.001 |
| 36 h ago | Passed | 402 | 76 ms | $0.001 |
| 40 h ago | Passed | 402 | 520 ms | $0.001 |
| 44 h ago | Passed | 402 | 187 ms | $0.001 |
| 2 days ago | Passed | 402 | 294 ms | $0.001 |
| 2 days ago | Passed | 402 | 158 ms | $0.001 |
| 2 days ago | Passed | 402 | 72 ms | $0.001 |
| 3 days ago | Passed | 402 | 209 ms | $0.001 |
| 3 days ago | Passed | 402 | 177 ms | $0.001 |