IPCA acumulado em 12 meses
Changed onSérie mensal do IPCA acumulado em 12 meses, o índice oficial de inflação do Brasil. Cada ponto é o acumulado dos 12 meses até aquela data.
Endpoint descontinuado. Use as séries macroeconômicas com symbols=ipca12m para o acumulado ou symbols=ipca para a variação do mês.
Sem filtros, devolve os últimos 12 meses. Filtre com start e end no formato DD/MM/YYYY. O IPCA de um mês sai no mês seguinte.
Planos Startup e Pro.
Request
- Base URLhttps://brapi.dev
- URLhttps://brapi.dev/api/v2/inflation
- AuthHTTP bearer
Query parameters
true devolve a série desde 01/01/2000. Sem datas e sem este parâmetro, devolve os últimos 12 meses.
Data inicial no formato DD/MM/YYYY.
Data final no formato DD/MM/YYYY. Padrão: hoje.
Campo de ordenação: date ou value. Padrão: date.
Ordem: asc ou desc. Padrão: desc.
Response
IPCA acumulado em 12 meses, um ponto por mês.
Example response
{
"inflation": [
{
"date": "01/12/2025",
"value": "4.26",
"epochDate": 1764558000000
},
{
"date": "01/11/2025",
"value": "4.46",
"epochDate": 1761966000000
},
{
"date": "01/10/2025",
"value": "4.68",
"epochDate": 1759287600000
}
],
"requestedAt": "2026-02-08T16:26:26.123Z",
"took": 138
}Changes
- breaking
for the
queryrequest parameterhistorical, default valuefalsewas removed - breaking
for the
queryrequest parametersortBy, default valuedatewas removed - breaking
for the
queryrequest parametersortOrder, default valuedescwas removed - breaking
removed the enum value
ascfrom thequeryrequest parametersortOrder - breaking
removed the enum value
datefrom thequeryrequest parametersortBy - breaking
removed the enum value
descfrom thequeryrequest parametersortOrder - breaking
removed the enum value
valuefrom thequeryrequest parametersortBy - breaking
the response's body type changed from
objectto no type for status - breaking
the
//response's property type changed fromintegertonumber, and format fromint64to no format for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
deleted the
queryrequest parametercountry - warning
deleted the
queryrequest parametertoken - info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
Indicadoresadded - info
api tag
Inflaçãoremoved - info
removed the pattern
^\d{2}/\d{2}/\d{4}$from thequeryrequest parameterend - info
removed the pattern
^\d{2}/\d{2}/\d{4}$from thequeryrequest parameterstart - info
for the
queryrequest parameterend, the format was generalized fromdateto no format - info
for the
queryrequest parameterhistorical, the type was generalized frombooleantostring - info
for the
queryrequest parameterstart, the format was generalized fromdateto no format - info
added
subschema #2to the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
the response property
became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking