PASAR API

🇲🇾 ElectionData.MY ~ open Malaysian election results, seats, candidates & parties

← directory
ElectionData.MYGovernment servicestier: commercialauth: API keypricing: freeverified 2026-06-29

Programmatic REST/JSON access to comprehensive Malaysian election data from 1954 to present ~ seats, candidates, parties, results and by-elections. CC0 public domain, free with no hard rate limit and no premium tier; needs a free API key (email OTP from the API Console) sent as a Bearer token. Versioned, currently beta. Boundary/geospatial data is served via the separate open data lake, not this API. MY-first.

View docs ↗ More Government services APIs

Get started

# ElectionData.MY ~ open Malaysian election results, seats, candidates & parties needs an API key ~ get yours at:
# https://electiondata.my/openapi
curl 'https://api.electiondata.my/v1' \
  -H 'Authorization: Bearer YOUR_TOKEN'

AI prompt

I'm integrating a Malaysian API into my app.

API: ElectionData.MY ~ open Malaysian election results, seats, candidates & parties
Provider: ElectionData.MY
Auth: requires an API key (sign up: https://electiondata.my/openapi)
Pricing: free
Base URL: https://api.electiondata.my/v1

Help me set up authentication and make my first successful request ~ explain exactly where the credentials go.

Related Government services APIs

data.gov.sg ~ Singapore open data & real-time APIsSSM e-Info Company Registry APICompanies House API ~ UK company registry, filings & officersOpenSanctions API ~ global sanctions, PEP & watchlist screeningAir4Thai ~ live air quality & PM2.5 station feed