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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Link
The bill's page on bills.parliament.uk.
Example bills.parliament.uk/bill/4310
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
bill_id | text | Bill ID (hidden) | 3 of 3 |
short_title | text | Short title | 3 of 3 |
long_title | text | Long title | 3 of 3 |
current_house | text | Current house | 3 of 3 |
originating_house | text | Originating house | 3 of 3 |
current_stage | text | Current stage | 3 of 3 |
last_updated_at | date and time | Last updated | 3 of 3 |
is_act | yes or no | Act | 3 of 3 |
is_defeated | yes or no | Defeated | 3 of 3 |
sponsors | list | Sponsors | 3 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Short title | Long title | Current house | Originating house | Current stage | Act | Defeated | Sponsors | Last updated | Link |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Artificial Intelligence (Consent and Misuse) Bill | A 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… | Commons | Commons | 2nd reading | No | No | Dawn Butler | Nov 17, 2026 | bills.parliament.uk/bill/4310 |
| 2 | Artificial Intelligence (Regulation) Bill [HL] | A bill to make provision for the regulation of artificial intelligence; and for connected purposes. | Lords | Lords | 1st reading | No | No | Lord Holmes of Richmond | Apr 30, 2026 | bills.parliament.uk/bill/3942 |
| 3 | Artificial Intelligence (Regulation) Bill [HL] | A Bill to make provision for the regulation of Artificial Intelligence; and for connected purposes. | Lords | Lords | 3rd reading | No | No | Lord Holmes of Richmond | May 29, 2024 | bills.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.