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