A free, read-only public API for Kalakram's Nepal history dataset (400 CE–present) — the same data behind kalakram.org's interactive atlas. No API key, no rate limit beyond fair use. Generated 2026-12-01T18:05:22.546Z.
Every list resource (/v1/<resource>) accepts the same parameters, applied consistently across all of them:
| Param | Meaning | Example |
|---|---|---|
| year | Items whose date (or date range) includes this year | ?year=1816 |
| from / to | Items overlapping this year range (either bound optional) | ?from=1800&to=1900 |
| district | Items tied to this district (exact name, case-insensitive) | ?district=Kathmandu |
| q | Case-insensitive substring search across every text field | ?q=earthquake |
| sort | Field to sort by; prefix with - for descending | ?sort=-year |
| limit / offset | Pagination (default limit 100, max 500) | ?limit=20&offset=40 |
A filter that doesn't apply to a resource (e.g. year on /v1/provinces, which has no dates) simply matches nothing on that field rather than erroring.
curl https://api.kalakram.org/v1/wars?from=1814&to=1816 curl https://api.kalakram.org/v1/districts/Kathmandu curl https://api.kalakram.org/v1/disasters?district=Kathmandu&sort=-year
List endpoints: { key, label, description, pagination: { total, limit, offset, returned }, items: [...] }.
Single-item endpoints (/v1/<resource>/:id, /v1/districts/:name): the item itself, no envelope.
Every bilingual field is split into an _en/_ne pair (e.g. name_en/name_ne); a null means no Nepali text exists yet for that field.
/v1/districts lists all 79 of the atlas's districts (75 current Nepali districts plus 4 unadministered regions shown at the historical "Greater Nepal" extent).
/v1/districts/:name returns one district's full record — its shape, population history, and a related map of ids into every other resource that names it (wars fought there, heritage sites, etc.) — so a client can fetch everything about one place with a single extra round trip per related resource, instead of filtering all 40 resources client-side.
| Endpoint | Label | Size | Description |
|---|---|---|---|
| /v1/rulers | Rulers | 152 items | Individual rulers and officeholders, 400-2026 CE, each tied to one ruling polity. |
| /v1/eras | Eras | 7 items | Nepal's named historical periods (Licchavi, Thakuri, Malla, unification, Rana, republic). |
| /v1/snapshots | Snapshots | 22 items | One dated snapshot of which polity ruled which districts, for every year the atlas's map can be set to. |
| /v1/events | Events | 128 items | Turning-point events on the atlas's timeline. |
| /v1/treaties | Treaties | 24 items | Treaties and international agreements affecting Nepal. |
| /v1/practices | Practices | 18 items | Documented social/legal practices and customs, with their own in-force timeline. |
| /v1/constitutions | Constitutions | 6 items | Nepal's successive constitutions and governing charters. |
| /v1/provinces | Provinces | 8 items | Nepal's 7 federal provinces (plus unadministered claimed territory), in force since 2015. |
| /v1/highways | Highways | 7 items | Major highways, gated by construction status over time. |
| /v1/pilgrimages | Pilgrimage routes | 1 items | Multi-district pilgrimage trails. |
| /v1/wars | Wars | 8 items | Wars and military campaigns involving Nepal. |
| /v1/disasters | Disasters | 19 items | Earthquakes, floods, landslides, storms, famines and droughts. |
| /v1/heritage | Heritage sites | 65 items | Heritage sites and monuments, each tied to one district and a built year. |
| /v1/universities | Universities | 14 items | Notable universities, each tied to one district and a founding year. |
| /v1/mythology | Mythology & religion | 13 items | Mythological and religious-history entries, each tied to one district. |
| /v1/current-affairs | Current affairs | 5 items | Recent current-affairs entries. |
| /v1/institutions | Notable institutions | 8 items | Notable institutional firsts (post, telecom, aviation, etc.). |
| /v1/notable-people | Notable people | 8 items | Notable people, each with a field of note and the year they became notable for it. |
| /v1/sports | Sports | 8 items | Sports organized in Nepal, with their governing body and current status. |
| /v1/pms | Prime ministers | 51 items | Every Nepali prime minister's term, 1951-present. |
| /v1/presidents | Presidents | 3 items | Every Nepali president's term, 2008-present. |
| /v1/elections | National elections | 8 items | Nepal's national general elections. |
| /v1/local-elections | Local elections | 2 items | Nationwide local-election tallies. |
| /v1/metro-mayors | Metro mayor races | 12 items | Mayoral race results for Nepal's metropolitan/sub-metropolitan cities. |
| /v1/changelog | Changelog | 77 items | Dated changelog of additions to the atlas itself. |
| /v1/population | National population | 12 items | National population readings over time. |
| /v1/literacy | Literacy | 8 items | National literacy rate readings over time. |
| /v1/life-expectancy | Life expectancy | 6 items | National life expectancy readings over time. |
| /v1/gdp | GDP per capita | 14 items | National GDP per capita (USD) readings over time. |
| /v1/poverty | Poverty rate | 2 items | National poverty-rate readings over time. |
| /v1/remittances | Remittances | 9 items | Remittances as a share of GDP, over time. |
| /v1/tourism | Tourism arrivals | 9 items | Annual international tourist arrivals. |
| /v1/hydropower | Hydropower capacity | 5 items | Installed hydropower capacity (MW) over time. |
| /v1/internet | Internet adoption | 2 items | Internet adoption rate readings over time. |
| /v1/electricity-access | Electricity access | 4 items | Share of population with electricity access, over time. |
| /v1/vaccination | Vaccination coverage | 4 items | Measles vaccination coverage readings over time. |
| /v1/schools | Schools | 2 items | School-count readings (community schools) over time. |
| /v1/colleges | Colleges | 2 items | College/campus-count readings by type over time. |
| /v1/religion | Religion census | 3 items | National religion-census breakdowns over time. |
| /v1/ethnicity | Ethnicity census | 2 items | National ethnicity-census breakdowns (constitutional inclusion categories) over time. |
| /v1/agri-calendar | Agricultural calendar | single object | Nepal's 12-month farming calendar by ecological zone (Terai/Hill/Mountain). |
| /v1/forests | Forest cover | single object | Per-district ecological zone tags plus national/CFUG forest-cover readings over time. |
This is historical reference data, most of it drawn from Wikipedia and the published sources documented in each item's own source field. It is not a peer-reviewed academic source — treat it as a way to find questions, not as something to cite directly. If you build something with it, a link back to kalakram.org is appreciated but not required.