c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 7h ago
B

Bills API

APINational · United KingdomNo auth

API to get and search for information regarding Bills, their stages, associated amendments and publications.

legislation
0
good

Composite of 5 axes from our methodology (proof-based officialness, live verification, metadata completeness, license clarity, agent readiness).

  • Officialnessweight 25%40/100

    40/100 from 5 proof signals (domain / portal-backlink / GitHub-org / reciprocal / policy).

  • Availabilityweight 25%100/100

    Latest verification succeeded.

  • Metadata completenessweight 20%90/100

    9 of 10 recommended metadata fields populated.

  • License clarityweight 15%50/100

    License info not yet tracked for APIs (datasets only).

  • Agent readinessweight 15%70/100

    OpenAPI spec URL declared · Spec format known (openapi) · Homepage URL present · Topic tags assigned

Official Proof

Public Sector API

Proof Evidence

official domain (parliament.uk)

Data schema (111 fields)

Filterable via the API (31)
billIdbillStageIdSearchTermAmendmentNumberDecisionMemberIdSkipTakeamendmentIdCategorySessionCurrentHouseOriginatingHouseDepartmentIdBillStageBillStagesExcludedIsDefeatedIsWithdrawnBillTypeSortOrderBillIdsIsInAmendableStagepublicationIddocumentIdpingPongItemIddatestageIdidHouseDateFromDateTo
FieldTypeDescription
billIdFilterable via the APIinteger (int32)Amendments relating to a Bill with Bill ID specified
billStageIdFilterable via the APIinteger (int32)Amendments relating to a Bill stage with Bill stage ID specified
SearchTermFilterable via the APIstring
AmendmentNumberFilterable via the APIstring
DecisionFilterable via the APIstring
MemberIdFilterable via the APIinteger (int32)
SkipFilterable via the APIinteger (int32)
TakeFilterable via the APIinteger (int32)
amendmentIdFilterable via the APIinteger (int32)Amendment with amendment ID specified
CategoryFilterable via the APIstring
SessionFilterable via the APIinteger (int32)
CurrentHouseFilterable via the APIstring
OriginatingHouseFilterable via the APIstring
DepartmentIdFilterable via the APIinteger (int32)
BillStageFilterable via the APIarray
BillStagesExcludedFilterable via the APIarray
IsDefeatedFilterable via the APIboolean
IsWithdrawnFilterable via the APIboolean
BillTypeFilterable via the APIarray
SortOrderFilterable via the APIstring
BillIdsFilterable via the APIarray
IsInAmendableStageFilterable via the APIboolean
publicationIdFilterable via the APIinteger (int32)Document with publication Id specified
documentIdFilterable via the APIinteger (int32)Document with Id specified
pingPongItemIdFilterable via the APIinteger (int32)Motions or amendments with ping pong item ID specified
dateFilterable via the APIstring (date-time)Publications with a display date matching this date.
stageIdFilterable via the APIinteger (int32)
idFilterable via the APIinteger (int32)Id of Bill
HouseFilterable via the APIstring
DateFromFilterable via the APIstring (date-time)
DateToFilterable via the APIstring (date-time)
statusIndicatorAmendmentDetailstring
decisionAmendmentDetailobject
decisionExplanationAmendmentDetailstring
sponsorsAmendmentDetailarray<object>
amendmentTypeAmendmentDetailobject
clauseAmendmentDetailinteger (int32)
scheduleAmendmentDetailinteger (int32)
pageNumberAmendmentDetailinteger (int32)
lineNumberAmendmentDetailinteger (int32)
amendmentPositionAmendmentDetailstring
marshalledListTextAmendmentDetailstring
dNumAmendmentDetailstring
amendmentLinesAmendmentDetailarray<object>
explanatoryTextPrefixAmendmentDetailstring
explanatoryTextAmendmentDetailstring
amendmentNoteAmendmentDetailstring
amendmentLocationAmendmentDetailstring
mainHeaderAmendmentDetailstring
typeAmendmentDetailMotionDetailPingPongItemobject
amendmentAmendmentDetailMotionDetailPingPongItemobject
motionAmendmentDetailMotionDetailPingPongItemobject
textAmendmentGrouparray<object>
amendmentsAmendmentGrouparray<object>
sortOrderAmendmentGroupinteger (int32)
indentationAmendmentLineinteger (int32)
hangingIndentationAmendmentLinestring
isImageAmendmentLineboolean
imageTypeAmendmentLinestring
memberIdAmendmentMemberinteger (int32)
nameAmendmentMemberstring
partyAmendmentMemberstring
partyColourAmendmentMemberstring
houseAmendmentMemberobject
memberPhotoAmendmentMemberstring
memberPageAmendmentMemberstring
memberFromAmendmentMemberstring
isLeadAmendmentMemberboolean
summaryTextAmendmentSearchItemarray<string>
itemsAmendmentSearchItemSearchResultarray<object>
totalResultsAmendmentSearchItemSearchResultinteger (int32)
itemsPerPageAmendmentSearchItemSearchResultinteger (int32)
shortTitleBillstring
formerShortTitleBillstring
currentHouseBillobject
originatingHouseBillobject
lastUpdateBillstring (date-time)
billWithdrawnBillstring (date-time)
isDefeatedBillboolean
billTypeIdBillinteger (int32)
introducedSessionIdBillinteger (int32)
includedSessionIdsBillarray<integer (int32)>
isActBillboolean
currentStageBillobject
longTitleBillstring
summaryBillstring
promotersBillarray<object>
petitioningPeriodBillstring
petitionInformationBillstring
agentBillobject
addressBillAgentstring
phoneNoBillAgentstring
emailBillAgentstring
websiteBillAgentstring
titleBillPublicationstring
publicationTypeBillPublicationobject
displayDateBillPublicationstring (date-time)
linksBillPublicationarray<object>
filesBillPublicationarray<object>
publicationsBillPublicationListarray<object>
sessionIdBillStageDetailsinteger (int32)
descriptionBillStageDetailsstring
abbreviationBillStageDetailsstring
stageSittingsBillStageDetailsarray<object>
committeeBillStageDetailsobject
nextStageBillStageIdBillStageDetailsinteger (int32)
previousStageBillStageIdBillStageDetailsinteger (int32)
hasMotionsBillStageDetailsboolean
sittingsBillStagePublicationListarray<object>
sittingIdBillStageSittingPublicationListinteger (int32)
categoryBillTypeobject

Schema captured from openapi 2 days ago.

Verification Status

Using the API

Configuration

Base URL
https://bills-api.parliament.uk
Version
v1
Format
openapi
Endpoints
21

Try the API

GET/api/v1/Bills/{billId}/Stages/{billStageId}/Amendments

Returns a list of amendments.

GET/api/v1/Bills/{billId}/Stages/{billStageId}/Amendments/{amendmentId}

Returns an amendment.

GET/api/v1/Bills/{billId}/NewsArticles

Returns a list of news articles for a Bill.

GET/api/v1/BillTypes

Returns a list of Bill types.

GET/api/v1/Bills

Returns a list of Bills.

Requests are proxied through our servers. Only GET endpoints are testable.

Query examples

curl -s 'https://bills-api.parliament.uk/swagger/v1/swagger.json' -H 'Accept: application/json'

Machine-readable API description (use it to generate clients).

Machine-readable & source

Bills API — live verification badge

Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.