Skip to content
Ayes and Noes logovsElection logo

Ayes and Noes API vs Election API

Two free Government APIs compared on access, reliability and developer ratings, using data from our daily health checks.

The verdict

  • Choose Ayes and Noes API if you want faster responses.
  • Choose Election API if its data fits your use case better; on access and reliability it's level with Ayes and Noes API.

Side by side

Ayes and Noes APIElection API
What it doesUK House of Commons MPs, parties and recorded votes.Source-linked U.S. election and civic records with coverage limits.
ProviderAyes and NoesElection.org
API keyNot neededNot needed
HTTPSYesYes
CORS (browser calls)YesYes
Status todayOnline · 526 msOnline · 962 ms
Uptime (30 days)UpUp
Developer ratingNot rated yetNot rated yet
PriceFree / free tierFree / free tier

About each API

Ayes and Noes logoAyes and Noes API

UK House of Commons MPs, parties and recorded votes.

Free UK Parliament API: JSON data for House of Commons MPs, parties, divisions (recorded votes) and Early Day Motions. Official open data, free to use. Light use needs no key; a free API key (just add a link back) lifts the daily limit. CORS-enabled.

Strengths

  • No API key needed
  • Callable from the browser (CORS)
  • HTTPS

Ratings, reviews and FAQ →

Election logoElection API

Source-linked U.S. election and civic records with coverage limits.

Public beta documentation for Election.org address, ballot, representative, judicial, candidate, government-unit, committee, campaign-finance, certified-result, vendor, and state disclosure-registry endpoints.

Strengths

  • No API key needed
  • Callable from the browser (CORS)
  • HTTPS

Ratings, reviews and FAQ →

How to choose between them

  • Prototyping or a tutorial? Pick the one that needs no API key (both qualify).
  • Calling from a web page? You need CORS. Otherwise route requests through your own server or a serverless function.
  • Going to production? Favour HTTPS, a strong uptime record and a provider with clear rate limits and terms. Check each API's docs before you commit.
  • Still unsure? Both are free to try: send one request to each and compare the data you get back.

Ayes and Noes vs Election FAQ

Do Ayes and Noes API and Election API need an API key?

Neither needs an API key; you can call both straight away.

More comparisons

Ayes and Noes API alternatives · Election API alternatives · best Government APIs