Obtain data from a table

To obtain the data from a table it is necessary to know its identification code (go to Table and series identifier codes).

Once you know the code of the table you are interested in, you can use the function TABLE_DATA to obtain the associated data.

Obtain all data from the table

For example, for the table ational indices: general and ECOICOP group indices (Id 50902):

https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902

Obtain the latest n data

We use the parameter nult. For example nult=5 to get the last 5 data:

https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=5

How to filter data from a table

When requesting data from a table, it is possible to filter by the variables and values you are interested in using the tv parameter. To do so, we will distinguish the three possible types of table sources (Tempus 3 tables, pc-axis tables and tpx tables).