UK Parliament Bills API

Bills before the UK Parliament by title word or session: short and long title, current house and stage, originating house, last update, whether it became an Act or was defeated, and its sponsors.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 11 fieldsv1.0

Data from bills-api.parliament.uk/api/v1/Bills

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words in bill titles.
Example: artificial intelligence
Sitting periodoptional
Parliamentary session id, such as 40 for the current session.
Example: 40
Actoptional
Only bills that became Acts.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/uk-parliament-bills/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/uk-parliament-bills/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"artificial intelligence"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words in bill titles.
example: artificial intelligence
sitting_periodnumber
Parliamentary session id, such as 40 for the current session.
example: 40
is_actyes/no
Only bills that became Acts.
example: false

What's in each record

11 fields: 10 here, 1 technical one under Technical details.

Basics

  • Short title

    Short title of the bill.

    Example Artificial Intelligence (Consent and Misuse) Bill

  • Long title

    Long title, which says what the bill sets out to do.

    Example A Bill to make provision about a requirement for consent to generate a likeness of a person using, or with the…

  • Current house

    House the bill is in now: Commons or Lords.

    Example Commons

  • Originating house

    House the bill started in.

    Example Commons

  • Current stage

    Current stage, such as 2nd reading or Royal Assent.

    Example 2nd reading

  • Act

    Yes when the bill became an Act.

    Example No

  • Defeated

    Yes when the bill was defeated.

    Example No

  • Sponsors

    Names of the sponsors of the bill.

    Example Dawn Butler

Dates

  • Last updated

    When the bill's record last changed (UTC).

    Example Nov 17, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Bill ID bill_idParliament's id of the bill.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
bill_idtextBill ID (hidden)3 of 3
short_titletextShort title3 of 3
long_titletextLong title3 of 3
current_housetextCurrent house3 of 3
originating_housetextOriginating house3 of 3
current_stagetextCurrent stage3 of 3
last_updated_atdate and timeLast updated3 of 3
is_actyes or noAct3 of 3
is_defeatedyes or noDefeated3 of 3
sponsorslistSponsors3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordShort titleLong titleCurrent houseOriginating houseCurrent stageActDefeatedSponsorsLast updatedLink
1Artificial Intelligence (Consent and Misuse) BillA Bill to make provision about a requirement for consent to generate a likeness of a person using, or with the assistance of, artificial intelligence; to make further provision relating to that requirement; to make provision about civil action in circumstances where that…CommonsCommons2nd readingNoNoDawn ButlerNov 17, 2026bills.parliament.uk/bill/4310
2Artificial Intelligence (Regulation) Bill [HL]A bill to make provision for the regulation of artificial intelligence; and for connected purposes.LordsLords1st readingNoNoLord Holmes of RichmondApr 30, 2026bills.parliament.uk/bill/3942
3Artificial Intelligence (Regulation) Bill [HL]A Bill to make provision for the regulation of Artificial Intelligence; and for connected purposes.LordsLords3rd readingNoNoLord Holmes of RichmondMay 29, 2024bills.parliament.uk/bill/3519

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Each bill needs a second request for its long title and sponsors, so large runs take a while (about 3 bills a second).
  • Newest updated bills come first. The search matches words in bill titles only, not the bill text.
  • The 'only Acts' filter is applied to the bills read, so a rare filter may read many bills before it finds matches; combine it with a session or a search word.
  • Sponsors are the Members of Parliament or Lords named on the bill; some bills have none listed.
  • Data comes from the UK Parliament under the Open Parliament Licence v3.0: credit UK Parliament when you publish it.

Version history

A run uses the live version unless the request names another one with version.