Data Sources

Where the data comes from and how it's combined.

Sources

OnlineKhabar Election Portal

Primary
election.onlinekhabar.com
36 key constituenciesNear-realtime (scraped every 30s)
  • 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
result.election.gov.np
All 165 FPTP constituencies (structure)Varies by constituency
  • 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
election.ekantipur.com
~17 featured constituenciesScraped every 30s
  • 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

1

Fetch all three sources in parallel

OnlineKhabar HTML, Ekantipur JS blob, and Election Commission JSON are fetched simultaneously.

2

Build constituency map from R2 base

All 165 constituencies with their candidate structures are loaded from the Election Commission mirror.

3

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.

4

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.

5

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.

6

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.

← Back to resultsAbout →FAQ →