{"uid":"cap_F-E7zWKLQ_bGTM0VAFFTF","slug":"uk-parliament-bills-search-1b518ba0","name":"UK Parliament Bills Search","description":"UK Parliament bills with current stage, house, whether it became an Act, defeated or withdrawn flags, last update and link - search by title or list latest","url":"https://saylorinnovations.com/api/uk/bills?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","description":"optional bill title text; omit for the most recently updated bills"},"limit":{"type":"string","description":"optional 1-25, default 8"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["bills"],"properties":{"bills":{"type":"array","items":{"type":"object","properties":{"id":{"description":"Identifier of the record"},"url":{"description":"Canonical URL"},"house":{"type":["string","null"],"description":"House the bill is currently in"},"stage":{"type":["string","null"],"description":"Current legislative stage"},"title":{"description":"Title"},"is_act":{"description":"True when this is act"},"defeated":{"type":["boolean","null"],"description":"True when the bill was defeated"},"withdrawn":{"type":["boolean","null"],"description":"True when withdrawn"},"last_update":{"description":"Last update"},"stage_house":{"description":"Stage house"},"originating_house":{"description":"Originating house"}}},"description":"Bills with id, title, house, current stage, Act or defeated flags, last update and link"},"count":{"type":"number","description":"Number of items returned"},"query":{"type":["string","null"],"description":"The query as the server interpreted it"},"source":{"type":"string","description":"Data source the values come from"},"total_matches":{"type":"number","description":"Total number of matches before any limit is applied"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8DW1NdO6QRTQja780_OVR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search or list UK Parliament bills with current legislative stage, house, Act/defeated/withdrawn status, and last update","exampleAgentPrompt":"Can you search UK Parliament bills for anything related to 'renters reform' and show me the current stage, which house it's in, and whether it became an Act?","exampleUseCases":[{"title":"Track status of specific UK legislation","prompt":"Look up UK Parliament bills about 'Online Safety' and tell me the current stage, which house each one is in, and whether any of them have become Acts."},{"title":"Monitor recent UK legislative activity","prompt":"Show me the 10 most recently updated UK Parliament bills — I want to see their titles, current stages, and whether any were defeated or withdrawn."},{"title":"Check if a bill was passed into law","prompt":"Search UK Parliament bills for 'Economic Crime' and tell me if any of them became an Act, were defeated, or are still in progress."}],"resultDescription":"A JSON object containing an array of bills, each with id, title, current house, legislative stage, stage_house, originating_house, is_act boolean, defeated boolean, withdrawn boolean, last_update timestamp, and canonical URL. Also includes count of items returned, total_matches before limit, the interpreted query, and the data source attribution.","failureModes":["No bills found for the search query — returns empty bills array with count 0","Limit parameter out of range (must be 1-25) — may return default of 8 or an error","Query string too vague returning many unrelated results — total_matches may be high but results loosely relevant","API unavailable or rate limited — returns HTTP error status","Payment not processed — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need structured, up-to-date information about UK Parliament bills including legislative status flags (Act, defeated, withdrawn) and stage tracking. It is particularly valuable for agents that need to track the progress of specific legislation by keyword or monitor recent parliamentary activity. Prefer this over generic web search when you need machine-readable structured bill data with consistent status fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:49:30.355Z","isFirstParty":false,"canonicalSlug":"uk-parliament-bills-search-1b518ba0"}