Ir al contenido
GET /v1/meta

Service metadata

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/bcrp-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}