API Reference
The information available in INEbase is accessed via URL requests. URL requests have the following structure:
https://servicios.ine.es/wstempus/js/{language}/{function}/{input}[?parameters]
Fields enclosed in braces: { } are mandatory. Fields in square brackets: [ ] are optional and change in relation to the function under consideration.
- {language}. They can take the following values:
- ES: Spanish.
- EN: English.
- {función}. Functions implemented in the system to be able to perform different types of queries.
- {input}. Identifiers of the input elements of functions. These inputs vary depending on the function used.
- [¿parámetros]. The parameters in the URL are set from the ? symbol. When there is more than one parameter, the & symbol is used as a separator. Not all functions support all possible parameters.
List of functions
-
TABLE_DATA
Obtain data for a specific table.
-
Input
Table identification code. To obtain the code of a table go to Obtaining the identifier of a table using INEbase.
-
Parameters
- nult: return the last n data or periods.
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A'), include metadata ('M') or both ('AM')¨.
- tv: parameter for filtering, used with the format tv=id_variable:id_value. More information in How to filter data from a table..
- date: Obtain the data between two dates. The format is date=yyyymmdd:yyyymmdd
-
Output
Series information and data contained in the table: series name, Tempu3 unit identifier, Tempus3 scale, date identifier, Tempus3 data type identifier, Tempus3 period, year and value identifier (data).
-
Examples
-
Returns all periods of the table with Id=50902
-
Returns all periods of the table with Id=50902
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=1
-
Returns last 5 periods of the table with Id=50902
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=5
-
Returns all periods of the table with Id=50902 más salida amigable
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=1&tip=A
-
Returns all periods of the table with Id=50902 junto a los metadatos
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=1&tip=M
-
Returns all periods of the table with Id=50902 con salida amigable y metadatos
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=1&tip=AM
-
Returns all periods of the table with Id=50902 y nivel de detalle 2
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?nult=1&det=2
-
Returns the data between 01/01/2024 and 31/12/2024
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?date=20240101:20241231
-
Returns data from 01/01/2025 onwards
https://servicios.ine.es/wstempus/js/EN/DATOS_TABLA/50902?date=20250101:
-
-
SERIES_DATA
Obtain data for a specific series.
-
Input
Code identifying the series. To obtain the code of a series go to Obtaining the identifier of a series using INEbase.
-
Parameters
- nult: return the last n data or periods.
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A'), include metadata ('M') or both ('AM')¨.
- date: Obtain the data between two dates. The format is date=yyyymmdd:yyyymmdd.
-
Output
Series information: series name, Tempu3 identifier of the unit, Tempus3 identifier of the scale, date, Tempus3 data type identifier, Tempus3 period, year and value identifier (data).
-
Examples
-
Returns the last period of the series with code IPC251856
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?nult=1
-
Returns the last 5 periods of the series with code IPC251856
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?nult=5
-
Returns the last period of the series with code IPC251856 con salida amigable y metadatos
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?nult=1&tip=AM
-
Returns the last period of the series with code IPC251856 y nivel de detalle 2
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?nult=1&det=2
-
Returns the data between 01/01/2023 and 31/12/2023
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?date=20230101:20231231&tip=A
-
Returns data from 01/01/2024 onwards
https://servicios.ine.es/wstempus/js/ES/DATOS_SERIE/IPC251856?date=20240101:&tip=A
-
-
METADATAOPERATION_DATA
Obtain series data pertaining to a given operation using a filter.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- p: id of the series periodicity. Common periodicities: 1 (monthly), 3 (quarterly), 6 (half-yearly), 12 (annual). To see a list of the periodicities go to PERIODICITIES.
- nult: return the last n data or periods.
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A'), include metadata ('M') or both ('AM')¨.
- g1: first filter of variables and values. The format is g1=id_variable_id_1:id_value_1. When id_value_1 is not specified, all values of id_variable_1 are returned (g1=id_variable_1:). To obtain the variables of a given operation, see: https://servicios.ine.es/wstempus/js/EN/VARIABLES_OPERACION/IPC. the values of a specific variable of a data operation see: https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLEOPERACION/762/IPC.
- g2: second filter of variables and values. The format is g2=id_variable_id_2:id_value_2. When id_value_2 is not specified, all values of id_variable_2 are returned (g2=id_variable_2:). We would continue with g3, g4,... depending on the number of filters used on variables.
-
Examples
-
Returns the last period of the CPI operation series for the province of Madrid (g1=115:29) for the monthly change (g2=3:84) and all ECOICOP groups (g3=762:)
-
Returns the last 5 periods of the CPI operation series referring to the province of Madrid (g1=115:29) for the monthly variation (g2=3:84) and all ECOICOP groups (g3=762:)
-
Query with user-friendly output and metadata
-
Consultation at level of detail 2
-
-
OPERATIONS_AVAILABLE
Obtain all available operations.
-
Input
None.
-
Parámetros
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- geo: to obtain results based on geographic scope:
- geo=1: results by Autonomous Communities, provinces, municipalities and other breakdowns.
- geo=0: national results.
- page: the answer is paginated. A maximum of 500 items per page is offered in order not to slow down the response. To consult the following pages, the page parameter is used.
-
Output
The identifiers of the statistical operation element are obtained. There are three codes to identify the statistical operation "Consumer Price Index (CPI)":
- internal Tempus3 numerical code (Id=25).
- code of the statistical operation in the Inventory of Statistical Operations (IOE30138).
- internal Tempus3 alphabetic code (IPC).
-
Ejemplos
-
Returns available operations
https://servicios.ine.es/wstempus/js/EN/OPERACIONES_DISPONIBLES
-
Returns all available operations and level of detail 2
https://servicios.ine.es/wstempus/js/EN/OPERACIONES_DISPONIBLES?det=2
-
Returns all available operations containing geographical breakdown (autonomous communities, provinces, municipalities and other breakdowns)
https://servicios.ine.es/wstempus/js/EN/OPERACIONES_DISPONIBLES?geo=1
-
Returns all available operations containing only national results
https://servicios.ine.es/wstempus/js/EN/OPERACIONES_DISPONIBLES?geo=0
-
Returns the available operations (first 500 results)
https://servicios.ine.es/wstempus/js/EN/OPERACIONES_DISPONIBLES?page=1
-
-
OPERATION
Obtain an operation
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
-
Output
CPI statistical operation information: Tempus3 identifier, IOE code and operation name. There are three codes to identify the statistical operation "Consumer Price Index (CPI)":
- internal Tempus3 numerical code (Id=25).
- code of the statistical operation in the Inventory of Statistical Operations (IOE30138).
- internal Tempus3 alphabetic code (IPC).
-
Examples
-
Returns IPC operation using internal Tempus3 alphabetic code (IPC)
-
Returns IPC operation using internal identifier Tempus 3 (id=25)
-
Returns the CPI operation using the code of the statistical operation in the Inventory of Statistical Operations (IOE30138)
-
Returns CPI operation and level of detail 2
-
-
VARIABLES
Obtain all available variables.
-
Input
None.
-
Parameters
- page: the answer is paginated. A maximum of 500 items per page is offered in order not to slow down the response. To consult the following pages, the page parameter is used.
-
Output
Information on all System variables: Tempus3 identifier, variable name and official code.
-
Examples
-
Returns available variables (first 500 results)
-
Returns available variables (second 500 results)
-
-
OPERATION_VARIABLES
Obtain all the variables used in a given operation.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- page: the answer is paginated. A maximum of 500 items per page is offered in order not to slow down the response. To consult the following pages, the page parameter is used.
-
Output
Information on the variables describing the operation: Tempus3 identifier, variable name and official code.
-
Examples
-
Returns the variables of the CPI operation
https://servicios.ine.es/wstempus/js/EN/VARIABLES_OPERACION/IPC
-
Returns the variables of the CPI operation (first 500 results). Same query as above
https://servicios.ine.es/wstempus/js/EN/VARIABLES_OPERACION/IPC?page=1
-
-
VARIABLE_VALUES
Obtain all values for a specific variable.
-
Input
Variable identifier code. To view the available variables go to VARIABLES.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- clasif: Obtain values for a given classification. For classifications see CLASSIFICATIONS.
-
Output
Information on the values that the variable can take: Tempus3 identifier of the value, Tempus3 identifier of the variable to which it belongs, name of the value and official code.
-
Examples
-
Returns the values of the variable Provinces (Id=115)
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLE/115
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLE/115?det=2
-
Query of municipalities in 2019
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLE/19?&clasif=107
-
-
OPERATION_VARIABLE_VALUES
Obtain all values for a specific variable for a given operation.
-
Input
Variable and operation identifier codes. To consult the available operations go to OPERACIONES_DISPONIBLES and to view the available variables go to VARIABLES_OPERACION.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
-
Output
Information on the values that the variable can take to describe the operation: Tempus3 value identifier, Tempus3 variable object to which it belongs, name of the value and official code.
-
Examples
-
Values of the variable "ECOICOP groups" (Id=762) for the CPI operation (IOE30138 / CPI / 25).
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLEOPERACION/762/25
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLEOPERACION/762/25?det=2
-
-
OPERATION_TABLES
Obtain a list of all the tables of an operation.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- geo: to obtain results based on geographic scope.
- geo=1: results by Autonomous Communities, provinces, municipalities and other breakdowns.
- geo=0: National results.
- tip: make the response to requests more user-friendly (`A').
-
Output
Information on the tables associated with the operation: Tempus3 table identifier, table name, code with information on the geographical level and classification, Tempus3 object periodicity, Tempus3 object publication, Tempus3 object start period, start year, PubDateAct within publication, PubDateRef_end and last modification.
DateRef_end: null when the last published period coincides with the publication date, otherwise, when the table is cut in a period before the publication date, it is replaced by Fk_last_end/ Last_last_end_date (date of the last published data). See https://servicios.ine.es/wstempus/js/ES/TABLAS_OPERACION/33.
PubDateAct = contains the last update date of the table and the last published period-year.
-
Examples
-
Statistical tables associated with the CPI statistical operation (IOE30138 / CPI / 25)
https://servicios.ine.es/wstempus/js/EN/TABLAS_OPERACION/IPC
-
Query at the highest level of detaile
https://servicios.ine.es/wstempus/js/EN/TABLAS_OPERACION/IPC?det=2
-
User-friendly output
https://servicios.ine.es/wstempus/js/EN/TABLAS_OPERACION/IPC?det=2&tip=A
-
Tables with geographical content
https://servicios.ine.es/wstempus/js/EN/TABLAS_OPERACION/IPC?geo=1
-
-
TABLE_GROUPS
Obtain all groups for a specific table. A table is defined by different groups or selection combos and each of them by the values taken by one or more variables.
-
Input
Table identification code. To obtain the code of a table go to Obtaining the identifier of a table using INEbase.
-
Parameters
None.
-
Output
Groups of values defining the table: Tempus3 group identifier and group name.
-
Examples
-
Selection groups or combos defining the table Indices by Autonomous Community: general and ECOICOP groups (Id 50913)
-
-
TABLEGROUP_VALUES
Obtain all values of a specific group for a given table. A table is defined by different groups or selection combos and each of them by the values taken by one or more variables.
-
Input
Table and group identification codes. To view the groups of a table go to TABLE_GROUPS.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
-
Output
Information on the values belonging to the group: Tempus3 value identifier, Tempus3 identifier of the variable to which it belongs, name of the value and official code.
-
Examples
-
Values of the group "Autonomous Communities and Cities" (Id=110924) belonging to the table Índices por comunidades autónomas: general y de grupos ECOICOP (Id 50913)
https://servicios.ine.es/wstempus/js/ES/VALORES_GRUPOSTABLA/50913/110924
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/ES/VALORES_GRUPOSTABLA/50913/110924?det=2
-
-
SERIE
Obtain a specific series.
-
Input
Code identifying the series. To obtain the code of a series go to Obtaining the identifier of a series using INEbase.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- tip: make the response to requests more user-friendly (`A'), include metadata (`M') or both (`AM').
-
Output
Series information: Tempus3 identifiers of the series, Tempus3 operation object, series name, number of decimal places to be displayed for the data of that series, Tempus3 periodicity object, Tempus3 publication object, PubDateAct within publication, Tempsu3 classification object, Tempus3 scale object and Tempus3 unit object.
PubDateAct = contains the last update date of the series and the last published period-year.
classification = gives us information on the time version of the series, e.g. the national classification that in some cases it follows, population frame, base used in the calculation of the indices, etc.
-
Examples
-
Series query CPI251852 which shows the monthly change in the Consumer Price Index
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/SERIE/IPC251852?det=2
-
Query with user-friendly output
https://servicios.ine.es/wstempus/js/EN/SERIE/IPC251852?det=2&tip=A
-
Metadata query and user-friendly output
https://servicios.ine.es/wstempus/js/EN/SERIE/IPC251852?tip=AM
-
-
OPERATION_SERIES
Obtain all the series of an operation.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- tip: make the response to requests more user-friendly (`A'), include metadata (`M') or both (`AM').
- page: the answer is paginated. A maximum of 500 items per page is offered in order not to slow down the response. To consult the following pages, the page parameter is used.
-
Output
Series information: Tempus3 series identifiers, Tempus3 operation identifier, series name, number of decimal places to be displayed for the data of that series, Tempus3 periodicity identifier, Tempus3 publication identifier, Tempus3 classification identifier, Tempus3 scale identifier and Tempus3 unit identifier.
-
Examples
-
Query of the first 500 series belonging to the IPC operation (IOE30138 / IPC / 25)
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=1
-
Query of the second 500 series belonging to operation IPC (IOE30138 / IPC / 25)
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=2
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=1&det=2
-
Query with user-friendly output
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=1&det=2&tip=A
-
Metadata query and user-friendly output
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=1&tip=AM
-
-
SERIES_VALUES
Obtain the values and variables that define a series.
-
Input
Code identifying the series. To obtain the code of a series go to Obtaining the identifier of a series using INEbase.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
-
Output
Metadata information defining the series: Tempus3 value identifier, Tempus3 identifier of the variable to which it belongs, value name and official value code.
-
Examples
-
Query of the variables and values of the series that collects the data of the general index of the CPI (CPI251852)
https://servicios.ine.es/wstempus/js/EN/VALORES_SERIE/IPC251852
-
Query with level of detail
https://servicios.ine.es/wstempus/js/EN/VALORES_SERIE/IPC251852?det=1
-
-
SERIES_TABLE
Obtain all the series of a specific table.
-
Input
Table identification code. To obtain the code of a table go to Obtaining the identifier of a table using INEbase.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2.
- tip: make the response to requests more user-friendly (`A'), include metadata (`M') or both (`AM').
- tv: parameter for filtering, used with the format tv=id_variable:id_value. More information in How to filter data from a table.
-
Output
Table series information: Tempus3 identifiers for the series, Tempus3 operation identifier, series name, number of decimal places to be displayed for the data of that series, Tempus3 periodicity identifier, Tempus3 publication identifier, Tempus3 classification identifier, Tempus3 scale identifier and Tempus3 unit identifier.
-
Examples
-
Series appearing in the table Indices by Autonomous Community: general and ECOICOP group indices of the CPI operation (Id 50913)
https://servicios.ine.es/wstempus/jsCache/EN/SERIES_TABLA/50913
-
Query at maximum level of detail
https://servicios.ine.es/wstempus/jsCache/EN/SERIES_TABLA/50913?det=2
-
Query with user-friendly output
https://servicios.ine.es/wstempus/jsCache/EN/SERIES_TABLA/50913?det=2&tip=A
-
Metadata query and user-friendly output
https://servicios.ine.es/wstempus/jsCache/EN/SERIES_TABLA/50913?tip=AM
-
-
OPERATIONMETADATA_SERIES
Obtain series belonging to a given operation using a filter.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- p: id of the series periodicity. Common periodicities: 1 (monthly), 3 (quarterly), 6 (half-yearly), 12 (annual). To see a list of the periodicities go to PERIODICITIES.
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A'), include metadata ('M') or both ('AM')¨.
- g1: first filter of variables and values. The format is g1=id_variable_id_1:id_value_1. When id_value_1 is not specified, all values of id_variable_1 are returned (g1=id_variable_1:). To obtain the variables of a given operation, see: https://servicios.ine.es/wstempus/js/ES/VARIABLES_OPERACION/IPC. To obtain the values of a specific variable of a data operation see: https://servicios.ine.es/wstempus/js/ES/VALORES_VARIABLEOPERACION/762/IPC.
- g2: second filter of variables and values. The format is g2=id_variable_id_2:id_value_2. When id_value_2 is not specified, all values of id_variable_2 are returned (g2=id_variable_2:). We would continue with g3, g4,... depending on the number of filters used on variables.
-
Output
Information on the series for which the metadata definition meets the established criteria: Tempus3 series identifiers, Tempus3 operation identifier, name of series, number of decimal places to be displayed for the data of that series, Tempus3 periodicity identifier, Tempus3 publication identifier, Tempus3 classification identifier, Tempus3 identifier of the scale and Tempus3 identifier of the unit.
-
Examples
-
Returns the definition of the series of the CPI operation referring to the province of Madrid (g1=115:29) for the monthly change (g2=3:84) and all ECOICOP groups (g3=762:)
https://servicios.ine.es/wstempus/js/EN/SERIE_METADATAOPERACION/IPC?g1=115:29&g2=3:84&g3=762:&p=1
-
Query at maximum level of detail
-
Metadata query and user-friendly output
-
-
PERIODICITIES
Obtain available periodicities.
-
Input
None.
-
Parameters
None.
-
Output
Information on available periodicities: Tempus3 periodicity identifier, name and code.
-
Examples
-
Returns all periodicities
-
-
PUBLICATIONS
Obtain the available publications.
-
Input
None.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A').
-
Output
Information on all publications: Tempus3 publication identifier, name, Tempus3 periodicity identifier and Tempus3 publication date identifier.
-
Examples
-
Returns all publications
-
Query at the highest level of detail
-
Query with user-friendly output
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONES?det=2&tip=A
-
-
OPERATION_PUBLICATIONS
Obtain all publications for a given operation.
-
Input
Code identifying the operation. To view the available operations go to AVAILABLE_OPERATIONS.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A').
-
Output
Information on all publications of an operation: Tempus3 publication identifier, name, Tempus3 periodicity identifier and Tempus3 publication date identifier.
-
Examples
-
Returns all publications of the CPI operation (IOE30138 / CPI / 25)
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONES_OPERACION/IPC
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONES_OPERACION/IPC?det=2
-
Query with user-friendly output
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONES_OPERACION/IPC?det=2&tip=A
-
-
PUBLICATION_DATE_PUBLICATION
Obtain the publication dates for a given publication.
-
Input
Code identifying the publication. For a list of publications go to PUBLICATIONS or PUBLICATIONS_OPERATION.
-
Parameters
- det: provides a greater level of detail of the information displayed. Valid values are 0, 1 and 2.
- tip: make the response to requests more user-friendly ('A').
-
Output
Information on all publications of an operation: Tempus3 publication identifier, name, Tempus3 periodicity identifier and Tempus3 publication date identifier.
-
Examples
-
Retrieve the dates of the publication "Consumer Price Index" (Id=8)
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONFECHA_PUBLICACION/8
-
Query at the highest level of detail
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONFECHA_PUBLICACION/8?det=2
-
Query with user-friendly output
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONFECHA_PUBLICACION/8?tip=A
-
-
CLASSIFICATIONS
Obtain all available classifications.
-
Input
None.
-
Parameters
None.
-
Output
Information on all classifications in the System: Tempus3 identifier, classification name and date.
-
Examples
-
Returns the available classifications
-
-
OPERATION_CLASSIFICATIONS
Obtain all classifications of a given operation
-
Input
Identifying code of the operation. For available operations see AVAILABLE_OPERATIONS.
-
Parameters
None.
-
Output
Information on the classifications of an operation: Tempus3 identifier, classification name and date.
-
Examples
-
Classifications for CPI operation (IOE30138 / CPI / 25).
https://servicios.ine.es/wstempus/js/EN/CLASIFICACIONES_OPERACION/25
-
-
CHILDREN_VALUES
Obtain the child values of a given parent value within a hierarchical structure.
-
Input
Variable and value identifier codes. For available variables see VARIABLES and to view the values of a variable see VARIABLE_VALUES.
-
Parameters
- det: It provides a greater level of detail of the information displayed. Valid parameter values: 0, 1 and 2
-
Output
Information on the child values of a value within a hierarchical structure: Tempus3 identifier of the value, Tempus3 variable object to which it belongs, value name and official code, parent value identifiers.
-
Examples
-
Provinces (children in Autonomous Communities) in Andalusia (variable 70 and Id=8997)
https://servicios.ine.es/wstempus/js/EN/VALORES_HIJOS/70/8997
-
Same query but with more output detail
https://servicios.ine.es/wstempus/js/EN/VALORES_HIJOS/70/8997?det=2
-