16trust / 100

Fx Rates

by Vextorium in Markets & finance

x402 APIFailing, checked 3 h ago

Daily exchange rates against the US dollar for about 60 currencies, emerging ones included (Argentine peso, Turkish lira, rupee, naira...), with date and 1-month change. Bank for International Settlements data.

POST https://api.vextorium.com/v1/fx-rates

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/fx-rates" \
  -H "content-type: application/json" \
  -d '{"currencies":"ARS,TRY,MXN"}'
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%2Fapi.vextorium.com%2Fv1%2Ffx-rates
const res = await pay("https://api.vextorium.com/v1/fx-rates", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"currencies":"ARS,TRY,MXN"}),
});
console.log(await res.json());

Example input

{
  "currencies": "ARS,TRY,MXN"
}

Example output

{
  "currencies": 3,
  "note": "monthly_change_pct > 0 = the currency has depreciated against the dollar.",
  "source": "Bank for International Settlements (WS_XRU)",
  "types": [
    {
      "country": "AR",
      "currency": "ARS",
      "date": "2026-09-29",
      "monthly_change_pct": 1.16,
      "units_per_usd": 1528.7563
    },
    {
      "country": "MX",
      "currency": "MXN",
      "date": "2026-09-29",
      "monthly_change_pct": 5.6,
      "units_per_usd": 17.897138
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units402345 ms$0.004
8 h agoAmount "0.004" is not in atomic token units402124 ms$0.004
12 h agoAmount "0.004" is not in atomic token units40276 ms$0.004
16 h agoAmount "0.004" is not in atomic token units40289 ms$0.004
20 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
24 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
28 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
32 h agoAmount "0.004" is not in atomic token units40276 ms$0.004
36 h agoAmount "0.004" is not in atomic token units40288 ms$0.004
41 h agoAmount "0.004" is not in atomic token units402101 ms$0.004
44 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40288 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40280 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40285 ms$0.004
3 days agoAmount "0.004" is not in atomic token units402104 ms$0.004