Open data

The National Institute of Statistics makes this open data space available to its users to promote the reuse of public information, fostering the quality and transparency of the information it produces.

  • Open Data

    Open data are sets of accessible, reusable, and non-proprietary public information, which are released in open formats to promote transparency, innovation and public participation.

  • Target Audience

    Broad and diverse, as their value multiplies when different users can re-utilise them: citizens, companies, developers and analysts, researchers, the media, organisations and public administrations.

  • Commitment

    The INE is formally committed to the implementation of the European Statistics Code of Practice in all its statistical production, which backs the quality of our service to society.

  • Collaborate

    If you want to participate in promoting the re-utilisation of the information published by the INE. share with us your projects related to or derived from the use of datasets. We will distribute them through our GitHub. Contact aquí.

Datasets

  • INEbase

    System for storing, organising and disseminating statistical information published by the Instituto Nacional de Estadística, whose data can be downloaded in different formats: XLSX, CSV, PC-AXIS and JSON. Includes all official statistics compiled by the INE


  • Experimental statistics

    Statistical data sets that incorporate innovation, whether in the use of new sources of information, the application of innovative statistical methods, the scope of study, or the way of disseminating the results. 


  • High-Value Data

    Data with great potential for society and the economy, as defined by Directive (EU) 2019/1024. These are data sets whose reuse generates significant benefits for society, the economy and the environment, especially due to their ability to drive the creation of value-added services, innovation, research and new business opportunities. Defined in six thematic categories in the  Implementing Regulation (EU) 2023/138 as category 4: Statistics.


  • Inventory of Statistical Operations

    Compendium of statistical operations carried out by the Instituto Nacional de Estadistica, Ministries, the Bank of Spain and the General Council of the Judiciary. It is the fundamental instrument for statistical coordination and planning in Spain. It serves as the basis for developing the National Statistical Plan, which organises all the statistical activity of the State.


APIs (service)

  • API JSON INE

    Documentation, examples and use cases of our web service, which provides access to INEbase information through URL requests with responses in JSON format. This service facilitates the automated use of published statistical information.


  • INEbase OpenAPI

    The OpenAPI documentation (with Swagger UI) is the most intuitive tool for using the INEbase JSON API. OpenAPI allows you to centralise and standardise the entire specification that defines the API (endpoints, parameters, formats). As for Swagger UI, it transforms this document into an interactive test interface in the browser, simplifying the query and validation of data requests.


  • INEapir

    The INEapir package facilitates automated access to data and metadata published by the INE through interaction with the JSON API, allowing R language users to obtain data and metadata from the INE directly in their developments.


  • JSON API 2021 Population and Housing Censuses

    REST API service for querying data from the Population and Housing Census Dissemination System 2021 (SDC21). It allows you to configure requests (POST method) for cross-tabulations of up to 4 variables, specifying the table, metric and variables using a JSON structure.


  • IMF SDMX

    Economic and financial indicators that collect all national information published according to the DSBBdata dissemination standard, approved by the International Monetary Fund (IMF). They can be downloaded through our SDMX service, where their associated metadata can be consulted, and the information source (INE, Bank of Spain, IGAE and AEAT) can be accessed directly.


  • SDMX ODS

    The 2030 Agenda for Sustainable Development consists of 17 goals and 169 targets. For monitoring purposes, a series of indicators were designed, many of them global, which can be measured through statistical data. The INE is the custodian of these indicators in Spain. Your inquiry can be made through our SDMX service.


Microdata

  • Anonymised microdata

    Microdata files contain individual statistical data, conveniently anonymised, in order to preserve the confidentiality of the information. The data appears unaggregated; for its study, suitable programmes for the processing of statistical data are needed.


  • Confidential microdata for researchers

    The INE facilitates access to confidential data for the performance of statistical analyses for scientific purposes in the public interest to entities that justify the need for the use of said data. Requires the signing of terms of use.


Others

  • Cartography

    Digitised mapping of the geographic layer of the census sectioning through visualisation services (WMS) and download (WFS/API Features) and access to the electoral street directory (roads, sections and census tracts).


  • Maps

    Access to the GIS (Geographic Information System) map gallery produced by the INE. These interactive mapping applications allow you to view, explore and analyse territorially referenced statistical information.


  • Applications and infographics

    A website that groups together applications and infographics that allow you to easily consult, view and analyse available statistical data.