Data API
Every number on this site is available as plain JSON or CSV, free to use. No key or sign-up is needed. Files are rebuilt whenever the site updates.
Figures are official statistics published by the Uganda Bureau of Statistics (UBOS) and its partner agencies. Cite UBOS as the source; the links in each dataset point to the original files.
Start here
The index lists every dataset and table, with links to each file and to the original UBOS sources.
GET /api/v1/index.json/api/v1/datasets/<id>.json: a whole dataset as the site uses it, with its sources./api/v1/tables/<id>.csv: a tidy table, ready for Excel or Google Sheets./api/v1/tables/<id>.json: the same table ascolumnsandrows.
Datasets (23)
- Consumer prices (CPI)Monthly index and annual inflation for the headline, 13 spending categories, 10 towns and about 345 items.JSON
- Economic growth (GDP)Annual and quarterly GDP, growth, GDP per person and output by activity.JSON
- Exports and importsGoods trade since 1996, by product and partner country.JSON
- Government revenue and spendingSpending by purpose (COFOG), central vs local, revenue and tax registrations.JSON
- Money and bankingExchange rates, interest rates, bank lending, money supply and insurance premiums.JSON
- PopulationSingle-age projections (banded), census counts since 1911 and life expectancy.JSON
- PovertyPoverty rates since 1999/00, by region and residence, poverty dynamics and household possessions.JSON
- EducationLiteracy, PLE/UCE/UACE results, completion rates and NAPE test scores.JSON
- Jobs and earningsLabour force indicators by sex, youth indicators, employment by industry and median earnings.JSON
- HealthChild mortality, fertility, maternal care, vaccination, stunting, nets, HIV testing and health spending.JSON
- Crime and prisonsCrimes reported and prosecuted, victims and offenders by sex and age, prison population and occupancy.JSON
- Road safetyRoad crashes, deaths and injuries by road user, vehicle, time and region.JSON
- EnvironmentLand cover, forest reserves, temperature by weather station and piped water supply.JSON
- ProductionEnergy, factories, transport, tourism, mobile money and agriculture.JSON
- National standard indicatorsUBOS’s scorecard for lower-middle-income status, multidimensional poverty, electricity access and more.JSON
- Mineral productionValue and quantity of recorded mineral production by mineral, 2019–2023.JSON
- Justice and elections (survey)Where people take grievances, satisfaction with justice processes and reported election irregularities (published 2018).JSON
- Rail, air cargo and transport licencesRailway and ferry freight, Entebbe air cargo and public transport licences issued.JSON
- Arrivals, hotels and attractionsArrivals by month and border (2023), EAC visitors, hotel occupancy and visitors to major attractions.JSON
- Building plans and permitsBuilding plans submitted, approved, rejected and deferred, and occupation permits, 2016–2020.JSON
- Disability (functional difficulty)Disability by type, age, sex, sub-region, wealth, schooling and marital status (UDHS 2022), with trends since 2011.JSON
- Violence against women and menPhysical violence since 2006, spousal violence and help seeking (UDHS 2022).JSON
- Census 2024 by districtIndicators for every district, city and sub-region from the 2024 census.JSON
Tables
- Census 2024: every districtOne row per district or city, one column per indicator; the first row after the header is Uganda overall.CSVJSON
- Inflation: headline, categories and townsAnnual inflation (%) by month.CSVJSON
- Inflation by itemAnnual price change (%) by month for each of the items UBOS tracks.CSVJSON
Chart data (47)
The numbers behind each shareable chart.
- Uganda’s inflation rateCSVJSON
- Which prices are rising fastest?CSVJSON
- Inflation by townCSVJSON
- Uganda’s economic growthCSVJSON
- GDP per person in UgandaCSVJSON
- What Uganda’s economy is made ofCSVJSON
- Uganda’s exports and importsCSVJSON
- What Uganda sells to the worldCSVJSON
- Uganda’s population, 1911 to 2050CSVJSON
- Uganda’s population pyramidCSVJSON
- Life expectancy in UgandaCSVJSON
- Poverty in Uganda since 2000CSVJSON
- Poverty by regionCSVJSON
- Poverty before and during COVID-19CSVJSON
- Road deaths in UgandaCSVJSON
- Who is killed or injured on Uganda’s roads?CSVJSON
- When do road crashes happen?CSVJSON
- PLE results, 2023CSVJSON
- What does a job pay in Uganda?CSVJSON
- Child deaths in UgandaCSVJSON
- Too few health workers where people need them mostCSVJSON
- Who works for Uganda’s government?CSVJSON
- Uganda now pays more in interest than in salariesCSVJSON
- Where Uganda’s government spends its moneyCSVJSON
- More cargo flies out of Entebbe than inCSVJSON
- Where people enter UgandaCSVJSON
- Popular days out in UgandaCSVJSON
- Building plans submitted and approvedCSVJSON
- What Uganda mines: iron ore takes offCSVJSON
- Poor in several ways at onceCSVJSON
- Disability rises with ageCSVJSON
- Violence from a husband, wife or partnerCSVJSON
- Women in Uganda earn less in every sectorCSVJSON
- Where women and men differ in UgandaCSVJSON
- What crimes are reported in Uganda?CSVJSON
- Who are the victims of crime in Uganda?CSVJSON
- Uganda’s prisons keep filling upCSVJSON
- What a dollar costs in Uganda shillingsCSVJSON
- Banks lend dear and pay little on savingsCSVJSON
- Uganda’s forests are shrinkingCSVJSON
- How hot does it get in Uganda’s towns?CSVJSON
- House prices in greater KampalaCSVJSON
- Which building materials got dearer?CSVJSON
- Factory prices and shop pricesCSVJSON
- Who has power from the grid?CSVJSON
- Children out of school, by districtCSVJSON
- Young people not in work, school or trainingCSVJSON
Good to know
- Files can be fetched from any website (CORS is open) and are cached for up to a day.
- Field names inside
/datasets/may change as the site grows;/tables/are the stable, tidy format. Breaking changes will get a new version (/api/v2/). - Where UBOS’s own tables contain errors, the site’s pages explain what was done; see each page’s “About these numbers” section.