/v1/meta
Service metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/nrb-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nrb-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nrb-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nrb-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"date": "2026-06-10",
"source": "Nepal Rastra Bank Foreign Exchange Rate API (nrb.org.np, live)",
"service": "nrb-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/rate": "One currency's buy, sell, mid and inverse (currency=USD).",
"GET /v1/rates": "NRB official buy/sell for every currency vs the rupee (optional date=YYYY-MM-DD).",
"GET /v1/convert": "Convert an amount between two currencies at NRB mid rates (from=USD, to=EUR, amount=100).",
"GET /v1/history": "A currency's daily buy/sell rate over a date range (currency=USD, from=2026-06-01, to=2026-06-09).",
"GET /v1/currencies": "NRB list of quoted currencies."
},
"description": "Live official exchange-rate data for the Nepalese rupee (NPR) from Nepal Rastra Bank (NRB), the central bank of Nepal, via its public Foreign Exchange Rate API. The rates endpoint returns the NRB's official buy and sell rate for every published currency against the rupee for the latest (or any past) day, normalised to one unit; the rate endpoint returns a single currency's buy, sell and mid rate and the inverse; the history endpoint returns a currency's daily NRB buy/sell rate over a date range; the convert endpoint converts an amount between any two quoted currencies (including NPR) at the NRB's mid rate; the currencies endpoint returns the NRB's list of quoted currencies. Live, no key, nothing stored. Distinct from the ECB, BCRA, BCRP and other central-bank feeds and from market mid-rates — this is the NRB's own published rupee buy/sell rates (the NRB quotes both buy and sell, and some currencies per 100 units).",
"usd_npr_mid": 152.57,
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-10T13:59:11.017Z",
"request_id": "f0d3ee80-f521-414c-af0f-2a7a3811b3d1"
},
"status": "ok",
"message": "Meta",
"success": true
}