Versiones

Economic Indicators

 
 
 
 

Released November 2021 – Release note: changes in the value of the PATH variable, “Referer” data is incorporated in the headers of requests or GETs

Contents

Provides a list of the most common economic indicators, providing the value of the day for the UF, DOLLAR, UTM, IPC and EURO. These values are updated once a day from the official source in Chile.

Security

It requires authentication from the credentials provided when registering your application: client secret and clientId. To do this, you must follow the steps detailed in the Getting Started Guide.

 

Call Example

Once the Authorization Token has been obtained, you can invoke the different operations:

 

GET /list

Obtains values ​​of the day of the main economic indicators.

curl --location --request GET '

https://apiprogram.bci.cl/{api_environment}/v1/api-economic-indicators/

list?query-date=2019-11-26' \

--header 'Content-Type: application/json' \

--header 'x-apikey: {{PublicConsumerKeyAPP}}'

--header 'Referer: <string>'

 

Where:

  • 'x-apikey', is the value of the api key delivered to the app in its registry.
  • query-date is the date you want to query.
  • 'Referer', is the URI (callBackUrl) that linked to this resource.

 

Sandbox data

You can make the corresponding requests with the following information:
 

Key Value
query-date 2019-11-26
Scope economic-indicators

 

File ApiDoc
 
 
 
 

Remember that Version 1.0 will expire soon, so we recommend you use Version 2.0.

Contents

Economic Indicators provides a list of the most common economic indicators, providing the value of the day for the UF, DOLLAR, UTM, IPC and EURO. These values ​​are updated once a day from the official source in Chile.

Security

It requires authentication from the credentials provided when registering your application: client secret and clientId. To do this, you must follow the steps detailed in the Getting Started Guide.

 

Call Example

Once the Authorization Token has been obtained, you can invoke the different operations:

 

GET /list

Obtains values ​​of the day of the main economic indicators.

curl --location --request GET '

https://apiprogram.bci.cl/{api_environment}/v1/api-economic-indicators/

list?query-date=2019-11-26' \

--header 'Content-Type: application/json' \

--header 'x-apikey: {{PublicConsumerKeyAPP}}'

 

Where:

  • 'x-apikey', is the value of the api key delivered to the app in its registry.
    query-date is the date you want to query.

 

Sandbox data

You can make the corresponding requests with the following information:
 

Key Value
query-date 2019-11-26
Scope economic-indicators