Factline
Currency exchange rates and FX conversion, official ECB reference rates for USD, EUR, GBP, JPY and 25 more. Use to convert an amount between currencies with an official, citable rate: the European Central Bank's reference rates for about 30 currencies (USD, GBP, JPY, CHF, CNY...), cross rates computed from the euro rates, today or for a past date such as an invoice date. Input: base (default EUR),
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 10
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://factline.dev/v1/fx/rate", { method: "GET" });
console.log(await res.json());https://factline.dev/v1/fx/rate