Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/bcrp-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/bcrp-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bcrp-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bcrp-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/bcrp-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "date": "2026-06-08",
        "source": "BCRP series API (estadisticas.bcrp.gob.pe, live)",
        "service": "bcrp-api",
        "endpoints": {
            "GET /v1/usd": "Latest official interbank USD/PEN rate (buy, sell, mid).",
            "GET /v1/meta": "This document.",
            "GET /v1/series": "Any BCRP statistical series by code over a range (code=PD04637PD, from=2026-01-01, to=2026-06-09; join up to 10 codes with hyphens).",
            "GET /v1/convert": "Convert between USD and PEN at the interbank mid rate (from=USD, to=PEN, amount=100).",
            "GET /v1/history": "Daily interbank USD/PEN rate over a date range (from=2026-06-01, to=2026-06-09)."
        },
        "description": "Live official data for the Peruvian sol (PEN) and the full BCRP statistics database from the Central Reserve Bank of Peru (Banco Central de Reserva del Perú, BCRP), via its public series API. The usd endpoint returns the latest official interbank USD/PEN rate (buy, sell, mid); the history endpoint returns the daily interbank USD/PEN rate over a date range; the convert endpoint converts between USD and PEN at the interbank mid rate; the series endpoint fetches any BCRP statistical series by code (exchange rates, international reserves, interest rates, inflation, monetary aggregates and thousands more) over a date range. Live, no key, nothing stored. Distinct from the ECB, BCRA, BCB and other central-bank feeds and from market mid-rates — this is the BCRP's own published sol rate and economic time-series database.",
        "usd_pen_mid": 3.4787,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:20.189Z",
        "request_id": "37f6c4c0-594d-480f-9681-e8867a123cbe"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}