/v1/inflation
IPCA inflation
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bcb-api/v1/inflation" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bcb-api/v1/inflation", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bcb-api/v1/inflation");
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/bcb-api/v1/inflation",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"unit": "%",
"month": "2026-04-01",
"source": "Banco Central do Brasil",
"history": [
{
"date": "2025-11-01",
"month_pct": 0.18
},
{
"date": "2025-12-01",
"month_pct": 0.33
},
{
"date": "2026-01-01",
"month_pct": 0.33
},
{
"date": "2026-02-01",
"month_pct": 0.7
},
{
"date": "2026-03-01",
"month_pct": 0.88
},
{
"date": "2026-04-01",
"month_pct": 0.67
}
],
"indicator": "IPCA — Brazil official consumer price index",
"month_pct": 0.67,
"accumulated_12m_pct": 4.39,
"accumulated_12m_date": "2026-04-01"
},
"meta": {
"timestamp": "2026-06-09T11:38:31.542Z",
"request_id": "20bf6d3a-73b3-4e70-8fe8-61bb7e1967f4"
},
"status": "ok",
"message": "Inflation retrieved successfully",
"success": true
}