A

Agentbit · Finance FX

by Agentbit

POSTBase

$0.005

per call · USD Coin on Base

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.

Endpoint

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

2

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agentbit.app/v1/finance/fx", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "pairs": [
      "EUR/USD",
      "EUR/RON"
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agentbit.app/v1/finance/fx" \
  -H "Content-Type: application/json" \
  -d '{"pairs":["EUR/USD","EUR/RON"]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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"
}

Payment details

Pay to0x4395c7e383b7e05665aad7f36ed77c01923dd965
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Agentbit & similar services