The Human Development Report Office (HDRO) offers this REST API for the developers to query human development related data in JSON format. The data can be queried by indicator id(s), year(s) and country code(s) and group by any order.
About the Data
HDRO produces a small dataset each year which consists of approximately 144 indicators by country and year. The data is entered into a SQL Server database by the statistics unit and stored and archived there. For the API, the data is manually extracted from SQL Server and copied into a separate MySQL database. This happens at least once a year upon the publication of the global Human Development Report, which coincides with the release of the data. When this happens, the data present in the API (MySQL) database is wiped and replaced with the new data. This is due to the fact that the data is recalculated retroactively each year, in light of new methodologies and updated data. Throughout the year, when updates are made to the database, the API data may also be updated manually by the database/website manager.
Where to access the API
The user has to register at http://ec2-54-174-131-205.compute-1.amazonaws.com/API/Login.php in order to access the HDRO API. Upon successful registration, the user will be navigated to a page with information on using the API. Users should query the API using the GET method. The resource selection can be done using single or multiple strings, as follows: country_code = 'AFG' indicator_id = '72206' year = '1980, 1990, 2017'. The options selection is by default set to: Data Structure: structure = ciy [ciy, yic, yci, iyc, icy].
Please contact us via email at [email protected]