PASAR API
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# 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'
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.