Start using the Time Series API

1. Look for series

To use the API, you have to look for series ids of your interest.

In a file

Indatos.gob.ar you can find the complete time series database, containing the list of available series in different formats:



In the time series explorer

In the Time Series Explorer you can look for series, visualize them and share URLs to the API or the web explorer.

2. Build query

Manually

Series ids must be passed to ids parameter. Additional parameter can be used to filter and transform values.

See the API reference for a complete documentation of all available parameters.

In the call generator

Using the call generator you can see all the available parameters to build an API call.

3. Make query

Use or integrate JSON

For JSON query from the browser or for application integration of the API:

  • Use format=json (default).
  • Choose metadata detail level metadata=none, only, simple o full.

https://apis.datos.gob.ar/series/api/series?ids=168.1_T_CAMBIOR_D_0_0_26,103.1_I2N_2016_M_15&format=json&metadata=full

Download CSV

For downloading a CSV file:

  • Use format=csv.

https://apis.datos.gob.ar/series/api/series?ids=168.1_T_CAMBIOR_D_0_0_26,103.1_I2N_2016_M_15&format=csv

Integrate in a spreadsheet

CSV and JSON calls can be easily integrated in a spreadsheet.

Use in the time series explorer

Any API call can be visualized from the web explorer taking out the apis subdomaing from the URL (and changing to HTTP):

API call

https://apis.datos.gob.ar/series/api/series?ids=168.1_T_CAMBIOR_D_0_0_26:percent_change_a_year_ago&collapse=month

Web explorer URL

http://datos.gob.ar/series/api/series?ids=168.1_T_CAMBIOR_D_0_0_26:percent_change_a_year_ago&collapse=month