Curs valutar BNR

BNR exchange rates for one day

GRATUIT fără cheie necesară MCP: get_fx_rates
GET https://api.datero.ro/v1/fx-rates

Official BNR (National Bank of Romania) reference rates — RON per 1 unit of each currency. Without "date" returns the latest published fixing. BNR publishes business days only: weekend/holiday requests answer with the previous fixing and the effective "date" in the response. Free of charge.

Parametri

Nume În Descriere
date query Requested day, YYYY-MM-DD. Default: the latest published fixing.
currency query Filter currencies, comma-separated ISO 4217, e.g. "EUR,USD".

Exemple de răspuns

Cursul EUR și USD într-o zi anume

"date" în răspuns este ziua fixing-ului efectiv aplicat.

curl "https://api.datero.ro/v1/fx-rates?date=2026-06-10&currency=EUR%2CUSD"
{
  "date": "2026-06-10",
  "requestedDate": "2026-06-10",
  "target": "RON",
  "source": "BNR",
  "items": [
    {
      "currency": "EUR",
      "rate": 5.2344
    },
    {
      "currency": "USD",
      "rate": 4.5286
    }
  ]
}

Același endpoint, prin MCP

Agenții AI pot apela această operație ca tool-ul get_fx_rates pe serverul MCP Datero — aceeași validare, același cost, același contor de credite.

Conectează un client MCP →
curl "https://api.datero.ro/v1/fx-rates?date=2026-06-10&currency=EUR%2CUSD"

Încearcă live

direct din browser

Rămâne doar în browserul tău (localStorage) și merge direct la api.datero.ro — nu trece prin site.