81trust / 100

Proxy Exchange Rates

by Currency Exchange Rates in Markets & finance

x402 APIPassing, checked 31 min ago

Currency exchange rates (forex): official ECB reference rates for about 30 currencies (USD, GBP, CHF, JPY, CNY, ...), published every working day around 16:00 CET, cross rates for any base among them. Returns rates object mapping currency codes to rates relative to base. Pass symbols array to filter (e.g. ['USD','CHF','GBP']). Empty symbols = all supported currencies. Use for currency conversion in invoices, pricing, or financial calculations.

POST https://agentsvc.io/api/v1/proxy/exchange-rates

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
30 ms typical, 35 ms slowest 5%
Last check
31 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/exchange-rates" \
  -H "content-type: application/json" \
  -d '{"base":"EUR","symbols":["USD","CHF","GBP"]}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fexchange-rates
const res = await pay("https://agentsvc.io/api/v1/proxy/exchange-rates", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"base":"EUR","symbols":["USD","CHF","GBP"]}),
});
console.log(await res.json());

Example input

{
  "base": "EUR",
  "symbols": [
    "USD",
    "CHF",
    "GBP"
  ]
}

Example output

{
  "data": {
    "base": "EUR",
    "date": "2026-04-07",
    "rates": {
      "CHF": 0.9242,
      "GBP": 0.8594,
      "JPY": 161.32,
      "USD": 1.0892
    },
    "source": "European Central Bank via frankfurter.dev"
  },
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
31 min agoPassed40230 ms$0.0045
4 h agoPassed402100 ms$0.0045
7 h agoPassed40228 ms$0.0045
12 h agoPassed40235 ms$0.0045