Skip to content

Ayes and Noes API

No authHTTPSCORSGovernment
Open documentation ↗

Overview

UK House of Commons MPs, parties and recorded votes

Ayes and Noes is a government API. It needs no API key. It is served over HTTPS and allows browser requests (CORS).

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Yes
Category
Government

Questions

Does the Ayes and Noes API need an API key?

No. The Ayes and Noes API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Can I call the Ayes and Noes API from the browser?

Yes. The Ayes and Noes API sends CORS headers, so a web page can call it directly with fetch().

Does the Ayes and Noes API support HTTPS?

Yes, the Ayes and Noes API is served over HTTPS.

What are alternatives to the Ayes and Noes API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT).