v5

OpenAPI 3.1.0Proprietary2026-08-031,5423,1505.5 MB
Central Banks & Monetary

Peruvian sol exchange rate against a foreign currency

PEN exchange-rate quotes against a supported foreign currency (USD, EUR, JPY). USD and EUR are daily interbank quotes (buy = compra, sell = venta). JPY is not published daily by BCRP - the endpoint falls back to a monthly banking average series and flags the substitution in the payload note.

get/api/v1/central-banks/bcrp/fx/{currency}

Path parameters

currencystring required

Currency ISO code (USD, EUR, JPY). Case-insensitive.

Currency ISO code (USD, EUR, JPY). Case-insensitive.

Query parameters

start_periodstring nullable

Optional start period. Format depends on currency: daily (YYYY-MM-DD) for USD/EUR, monthly (YYYY-M) for JPY.

Optional start period. Format depends on currency: daily (YYYY-MM-DD) for USD/EUR, monthly (YYYY-M) for JPY.

end_periodstring nullable

Optional end period in the same format as start_period.

Optional end period in the same format as start_period.

Response

FX observations grouped into buy and sell sides.

Example response

{
  "data": {
    "currency": "USD",
    "frequency": "daily",
    "quotes": {
      "buy": [
        {
          "period": "Ene.2024",
          "date": "2024-01-31T00:00:00Z",
          "value": 3.02
        }
      ],
      "sell": [
        {
          "period": "Ene.2024",
          "date": "2024-01-31T00:00:00Z",
          "value": 3.02
        }
      ]
    }
  },
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}