Development Data Hub API

Find the full documentation here

Endpoints

  • /all_tables
  • /meta_data (just serves di_concept_in_dh, not too useful at the moment)
  • /single_table
  • /multi_table

Parameters for /single_table

  • indicator: ?indicator=population_total
  • entities: ?entities=UG,KE,NA
  • start_year: ?start_year=2000
  • end_year: ?end_year=2001
  • limit: ?limit=100
  • offset: ?offset=200
  • format: ?format=xml (available options are xml, json, or csv)

Example query

/single_table?indicator=population_total&entities=UG,KE&start_year=2000&end_year=2000&limit=2&offset=0&format=xml

Parameters for /multi_table

  • indicators: ?indicators=population_total,govt_revenue_pc_gdp
  • entities: ?entities=UG,KE,NA
  • start_year: ?start_year=2000
  • end_year: ?end_year=2001
  • limit: ?limit=100
  • offset: ?offset=200
  • format: ?format=xml (available options are xml, json, or csv)

Example query

/multi_table?indicators=population_total,govt_revenue_pc_gdp&entities=UG&start_year=2015&end_year=2015&format=xml