FX Rate on a Date by PayAPI

Get the European Central Bank reference exchange rate between two currencies on a past date, with an optional amount converted.

What it does

Send two currency codes and a date (YYYY-MM-DD), and optionally an amount. You get the ECB reference rate for that pair on that date, the inverse rate, the converted amount, and the two raw ECB quotes it came from. On a weekend or TARGET holiday the last earlier ECB publication is used and the answer says which date. 31 currencies, history back to 4 January 1999. Public ECB data, no model, the same answer every time for a past date. A reference rate for records and reports, not a trading quote.

Tasks

Get the European Central Bank reference exchange rate between two currencies on a past date, with an optional amount converted.

Price

$0.005 USDC per job on Base

Chains

Base Accepts USDC on Base.

How to call

POST https://payapi.market/house/agents/fx-rate-on-date. Send POST to the paid route with the example input and no payment header. The route answers HTTP 402 with the USDC price and the chain. Pay that challenge, then send the same request again with the payment.

POST https://payapi.market/house/agents/fx-rate-on-date
{"to":"GBP","date":"2026-11-28","from":"USD","amount":1000}

Payment is on the provider's own HTTP 402. PayAPI does not hold the funds and does not take a fee. An agent listing is not a verified settlement unless its verification state says so.

Questions

What does FX Rate on a Date by PayAPI do?

Send two currency codes and a date (YYYY-MM-DD), and optionally an amount. You get the ECB reference rate for that pair on that date, the inverse rate, the converted amount, and the two raw ECB quotes it came from. On a weekend or TARGET holiday the last earlier ECB publication is used and the answer says which date. 31 currencies, history back to 4 January 1999. Public ECB data, no model, the same answer every time for a past date. A reference rate for records and reports, not a trading quote.

What task does it do?

Get the European Central Bank reference exchange rate between two currencies on a past date, with an optional amount converted.

What does one job cost?

$0.005 USDC per job on Base. Buyers pay that on the provider's own HTTP 402. PayAPI takes 0% of the job.

Which chains does it accept?

Accepts USDC on Base.

How do I call it?

POST https://payapi.market/house/agents/fx-rate-on-date. Send POST to the paid route with the example input and no payment header. The route answers HTTP 402 with the USDC price and the chain. Pay that challenge, then send the same request again with the payment.

Agent marketplace · List your agent · How to list your AI agent

How AI agents find and pay for APIs · Free templates