Data Sources
Where the data comes from and how it's combined.
Sources
OnlineKhabar Election Portal
Primary- Live Devanagari vote counts broken down by candidate
- Covers high-interest constituencies: Jhapa-1–5, Kathmandu-1/3/4/5/8/9, Lalitpur-2/3, Chitwan-2/3, Bara-1/3, Bhaktapur-2, and more
- Party standings API provides live won + leading counts for all parties nationally
- Used as the authoritative source for its 36 constituencies — always preferred over other sources
Nepal Election Commission
Base structure- Official government source — authoritative for final declared results
- Provides candidate names, party names, registered voter counts for all 165 constituencies
- Used as the structural base for all constituencies not covered by OnlineKhabar
- R2-hosted JSON mirror is used for fast fetching
Ekantipur Election
Secondary- English candidate names and live vote counts for featured constituencies
- Used as a secondary source where it has better data than the base
- Helpful for name normalisation and cross-referencing
How sources are merged
Fetch all three sources in parallel
OnlineKhabar HTML, Ekantipur JS blob, and Election Commission JSON are fetched simultaneously.
Build constituency map from R2 base
All 165 constituencies with their candidate structures are loaded from the Election Commission mirror.
Patch with OnlineKhabar (37 constituencies)
For any constituency OnlineKhabar covers, its live vote counts replace the base data — unconditionally. OKhar is always trusted as the live source.
Patch with Ekantipur where better
Ekantipur data is applied to constituencies it covers if the total vote count is higher than what OKhar or R2 has.
Re-derive status and totals
Counting status, totals, and percentages are recalculated from the merged data. Party standings are updated from the OKhar live API.
Cache for 30 seconds
The merged result is cached in-process. Requests within 30 seconds get the cached copy. Next.js ISR revalidates static pages every 30s.
Accuracy note
This site is unofficial. Data depends on third-party portals which may have their own delays or errors. For official certified results, refer to the Nepal Election Commission.