This repository contains a collection of economic indicators for Chile. The data is collected from the Central Bank of Chile. For now you can know the following indicators:
- UF (Unidad de Fomento)
- UTM (Unidad Tributaria Mensual)
- IPC (Indice de Precios al Consumidor)
- USD (Dolar Observado)
- EUR (Euro Observado)
Note
You don't need to use an API key to use this API.
GET https://economic-api.cam1pozas.xyz/api
or
GET https://economic-api.camipg.com/api
GET https://economic-api.cam1pozas.xyz/api?currency=name
or
GET https://economic-api.camipg.com/api?currency=name
| Parameter | Description |
|---|---|
| name | The name of the currency you want to get. For example: uf, utm, ipc, usd, eur |
Tip
You can filter in upper or lower case. Is not case sensitive.
GET https://economic-api.cam1pozas.xyz/api?currency=name1,name2,name3
or
GET https://economic-api.camipg.com/api?currency=name1,name2,name3
| Parameter | Description |
|---|---|
| name1 | The name of the currency you want to get. For example: uf, utm, ipc, usd, eur |
| name2 | The name of the currency you want to get. For example: uf, utm, ipc, usd, eur |
This API uses the following status codes:
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |