- Notifications
You must be signed in to change notification settings - Fork1
Índices de inflação do Brasil disponibilizados em formato JSON
License
NotificationsYou must be signed in to change notification settings
investash/inflacao
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Esse projeto tem o objetivo de centralizar e disponibilizar dados em JSON dos principais índices de inflação do Brasil.
Índice | Última Atualização | Nome | Fonte |
---|---|---|---|
IPCA | 02/2025 | Índice Nacional de Preços ao Consumidor Amplo | IBGE |
IPCA15 | 02/2025 | Índice Nacional de Preços ao Consumidor Amplo 15 | IBGE |
IPCA - 12 Meses | 02/2025 | IPCA acumulado nos últimos 12 meses | IBGE |
INPC | 02/2025 | Índice Nacional de Preços ao Consumidor | IBGE |
IGP-M | 02/2025 | Índice Geral de Preços - Mercado | FGV |
IGP-DI | 02/2025 | Índice Geral de Preços – Disponibilidade Interna | FGV |
IPC-BR | 02/2025 | Índice de Preços ao Consumidor - Brasil | FGV |
IPC-M | 02/2025 | Índice de Preços ao Consumidor - Mercado | FGV |
IPC-SP | 02/2025 | Índice de Preços ao Consumidor do Município de São Paulo | FIPE |
Além dos índices de inflação, também é disponibilizado asmetas de inflação definida peloConselho Monetario Nacional (CMN) do Banco Central para cada ano.
Você pode consultar um índice fazendo umrequest
direto para o GitHub.
curl --request GET --url https://raw.githubusercontent.com/investash/inflacao/main/ipca/valores.json
De um ano em específico:
curl --request GET --url https://raw.githubusercontent.com/investash/inflacao/main/ipca/anos/2005.json
importrequestsurl="https://raw.githubusercontent.com/investash/inflacao/main/ipca/valores.json"response=requests.get(url)print(response.json())
De um ano em específico:
importrequestsurl="https://raw.githubusercontent.com/investash/inflacao/main/ipca/anos/2005.json"response=requests.get(url)print(response.json())
importaxiosfrom"axios";constoptions={method:"GET",url:"https://raw.githubusercontent.com/investash/inflacao/main/ipca/valores.json",};try{const{ data}=awaitaxios.request(options);console.log(data);}catch(error){console.error(error);}
De um ano em específico:
importaxiosfrom"axios";constoptions={method:"GET",url:"https://raw.githubusercontent.com/investash/inflacao/main/ipca/anos/2005.json",};try{const{ data}=awaitaxios.request(options);console.log(data);}catch(error){console.error(error);}
<?php$client =new \GuzzleHttp\Client();$response =$client->request('GET','https://raw.githubusercontent.com/investash/inflacao/main/ipca/anos/2005.json');echo$response->getBody();
Copyright (c) 2024 Investash Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
About
Índices de inflação do Brasil disponibilizados em formato JSON
Topics
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published