{"name":"Sri Lanka Budget Analyzer API","version":1,"endpoints":{"GET /api/overview":"Headline series (deficit, growth, spending), eras by president, sector trends and promise totals","GET /api/budgets":"Summary of every budget","GET /api/budgets/:id":"Full budget (e.g. 2010, 2015-interim) with derived sector changes and neighbours","GET /api/sectors":"Allocation time series for all 10 sectors (nominal, real, % of total, % of GDP)","GET /api/sectors/:sector":"One sector's time series plus every related promise and policy change","GET /api/promises":"Promises across all budgets. Filters: status, topic, president, year, budget, q (comma-separated lists allowed)","GET /api/compare?ids=2010,2015":"Side-by-side data for 1–4 budgets","GET /api/world":"Sri Lanka vs 9 neighbours and the world on 12 indicators (IMF, World Bank, WHO, UNDP, SIPRI via Our World in Data)","GET /api/presidents":"Scorecards per president: growth vs neighbours, prices, income, debt, deficits, promises, plus context","GET /api/events":"Timeline of key events and their economic effects","GET /api/elections":"Every presidential election winner since 2005 and how much of the campaign platform was delivered","GET /api/elections/:year":"One election: campaign promises and what happened after (2005, 2010, 2015, 2019, 2024)","GET /api/explorer/catalog":"Every measure available in the data explorer","GET /api/explorer?metric=world:gdp_growth&countries=LKA,IND":"One measure as a year-by-year table"}}