Economic Indexes
Get accumulated economic index for a period
Fetches economic index data from BCB API and calculates the accumulated value for the specified period
get/economic-indexes
Request
- Base URLhttps://api.kolek.com.br (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
startDatestring required
Example:2024-01-01
Start date for the index query
endDatestring required
Example:2024-12-31
End date for the index query
indexType'IGP_M' | 'IPCA' | 'INPC' | 'INCC' required
Example:IGP_M
Type of economic index
Response
Economic index data retrieved successfully
Example response
{
"indexType": "IGP_M",
"indexName": "IGP-M",
"startDate": "2024-01-01",
"endDate": "2024-12-31",
"accumulatedValue": 5.21,
"monthlyValues": [
{
"date": "01/2024",
"value": "0.45"
}
],
"monthsCount": 12
}Changes
No recorded changes to this operation across all 1 revision of this API.