Public APIs

๐ŸŽ Black Friday: 40% off the first payment of every plan, and Skip the queue for $29, through December 6.

Ayes and Noes is in the queue

It will be published on December 17, 2026.

From $29 instead of $49, live within minutes

  1. Added from GitHub

    Added from the open-source list.

  2. In the queue

    Until December 17, 2026.

  3. Live

    Listed on Public APIs, with a link to its website.

Ayes and Noes favicon

Ayes and Noes

Government

UK House of Commons MPs, parties and recorded votes.

Ayes and Noes's website screenshot

About Ayes and Noes

Ayes and Noes provides a free, read-only JSON API for UK House of Commons data, covering current MPs, parties, Commons divisions (recorded votes), and Early Day Motions. The API is built on official UK Parliament open data licensed under the Open Parliament Licence v3.0, requires no API key, supports GET requests over HTTPS, and has open CORS so it can be called directly from a browser. Responses include a standard header with dataset, api_version, licence, source, and attribution fields, and each record links back to its page on the Ayes and Noes site.

Endpoints cover listing and filtering MPs (by party, constituency, or name), retrieving a single MP's voting summary (recorded votes, ayes, noes, rebellions, tellerships) and tenure, listing parties with live Commons seat counts, retrieving divisions with filters for date range, topic, and category (including per-party aye/no breakdowns and motion text for a single division), and listing or retrieving Early Day Motions with full text, sponsor, topics, and signatories. An OpenAPI spec is available at /api/v1/openapi.json for generating typed clients or importing into API tools.

The API is intended for developers building apps, conducting research, or writing articles using UK Parliamentary data. Usage requires crediting "Ayes & Noes" with a link back to the site. Responses carry Cache-Control headers, and a per-IP rate limit applies to the free tier, with higher volume available by contacting the service.

Key features

  • Free read-only JSON API for UK MPs, parties, divisions and Early Day Motions
  • No API key required, with open CORS for direct browser calls
  • MP voting summaries including ayes, noes, rebellions and tellerships
  • Commons divisions with per-party aye/no breakdowns and motion text
  • Filterable endpoints by party, constituency, topic and date range
  • OpenAPI spec available for generating typed clients or Postman/Insomnia imports

Frequently asked questions

Is there a free UK Parliament API?

Yes, Ayes and Noes provides a free, read-only JSON API for UK MPs, parties, Commons divisions, and Early Day Motions. No API key is required and CORS is open.

Do I need an API key, and is there a rate limit?

No key is needed for the free tier, but a generous per-IP rate limit applies to keep the service fair; contact them for higher volume.

How do I get an MP's voting record?

Call GET /api/v1/mps/{id} with a Parliament member id or slug to get recorded votes, ayes, noes, rebellions and tellerships.

What data does the API cover?

Current MPs and parties with live Commons seat counts, Commons divisions with per-party aye/no breakdowns, and Early Day Motions with their signatories.

Can I use the data on my own site or app?

Yes, the data is under the Open Parliament Licence v3.0 and is free for apps, research and journalism as long as you credit Ayes & Noes and link back.

Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon

Show your product to thousands of developers

ยท 100k monthly pageviews
ยท 9k newsletter subscribers

Advertise your product