Skip to content
Fourohtwo

apiacre.com/v1/data/ecb-fx-reference

Convert an amount between two supported currencies using one validated ECB daily reference-rate observation. The underlying ECB statistics are available free from the ECB Data Portal; the fee covers bounded retrieval, validation, clearly labelled cross-rate calculation, and x402 delivery.

BaseSolanaAnswering
POSThttps://apiacre.com/v1/data/ecb-fx-reference

Uptime50.0% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://apiacre.com/v1/data/ecb-fx-reference", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":"100","base_currency":"GBP","on_or_before":null,"quote_currency":"USD"}),
});
console.log(await res.json());

Example input

{
  "amount": "100",
  "base_currency": "GBP",
  "on_or_before": null,
  "quote_currency": "USD"
}

More from API AcreProvider status