82trust / 100

Finance Fx

by agentbit.app in Markets & finance

x402 APIPassing, checked 2 h ago

Live foreign-exchange rates for one or many currency pairs (e.g. EUR/USD, EUR/RON, USD/JPY) with mid, indicative bid/ask, source attribution, timestamp and confidence. ECB-derived reference rates, cached 30 seconds. Use for pricing, conversions and finance agents.

POST https://agentbit.app/v1/finance/fx

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
83 ms typical, 83 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentbit.app/v1/finance/fx" \
  -H "content-type: application/json" \
  -d '{"pairs":["EUR/USD","EUR/RON"]}'
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%2Fagentbit.app%2Fv1%2Ffinance%2Ffx
const res = await pay("https://agentbit.app/v1/finance/fx", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"pairs":["EUR/USD","EUR/RON"]}),
});
console.log(await res.json());

Example input

{
  "pairs": [
    "EUR/USD",
    "EUR/RON"
  ]
}

Example output

{
  "rates": [
    {
      "ask": 1.0847,
      "bid": 1.0837,
      "confidence": 0.95,
      "mid": 1.0842,
      "pair": "EUR/USD",
      "sources": [
        "ecb/frankfurter"
      ]
    }
  ],
  "timestamp": "2026-08-31T12:00:00+00:00"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40283 ms$0.005
8 h agoPassed402118 ms$0.005