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 'X-API-Key: YOUR_API_KEY'

AI prompt

I'm integrating a Malaysia 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
Important note: 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.

Source: ElectionData.MY (https://electiondata.my/openapi)
Source type: Provider API or developer docs
Endpoint type: Provider API base URL
Integration difficulty: Needs API key
Last checked: 2026-06-29
Production caveat: Keep credentials server-side and confirm current limits, pricing, and webhook/error behaviour in the provider docs.

Help me set up the correct onboarding/authentication path and make the first valid request ~ explain exactly where credentials go and what must happen before production.

Related Government services APIs

data.gov.sg ~ Singapore open data & real-time APIsJAKIM e-Solat Prayer Times APIWaktu Solat API (Malaysia Prayer Times)SSM e-Info Company Registry APIOpenDOSM ~ official Malaysian statisticsGLEIF LEI API ~ global Legal Entity Identifier registryCompanies House API ~ UK company registry, filings & officersSEC EDGAR APIs ~ US public-company filings & financial dataFederal Register API ~ US government documents, rules & noticesOpenSanctions API ~ global sanctions, PEP & watchlist screening