{"uid":"cap_7B3rk56I8scElqYEfzf2v","slug":"us-federal-bill-lookup-by-id-acf6d118","name":"US Federal Bill Lookup by ID","description":"Look up one US federal bill by id: title, sponsor, cosponsors, committees, policy area, full action history and computed lifecycle stages (introduced to enacted). Source: Congress.gov + GovInfo, public-domain.","url":"https://api.agentstools.dev/legislative/bill","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"bill_id":{"type":"string","description":"Bill id like hr3076-118 (billtype+number-congress)"},"billType":{"enum":["hr","s","hjres","sjres","hconres","sconres","hres","sres"],"type":"string","description":"Bill type"},"congress":{"type":"integer","description":"Congress number, e.g. 118 (with billType+billNumber)"},"billNumber":{"type":"integer","description":"Bill number, e.g. 3076"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UFrcHSgOkLcOkE465AVaX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up a single US federal bill by bill ID or type/number/congress, returning title, sponsor, cosponsors, committees, policy area, full action history, and computed lifecycle stages.","exampleAgentPrompt":"Can you pull up the full details on HR3076 from the 118th Congress — I want to see who sponsored it, what committees it went through, and where it is in the legislative process?","exampleUseCases":null,"resultDescription":"Returns a structured JSON object for the requested bill including its title, primary sponsor, list of cosponsors, assigned committees, policy area classification, a full chronological action history, and computed lifecycle stage labels (e.g., introduced, passed house, enacted).","failureModes":["Bill ID not found — returns 404 or empty result if the bill_id, billType+billNumber+congress combination does not exist","Invalid bill type enum — returns validation error if billType is not one of the accepted values (hr, s, hjres, etc.)","Missing required combination — querying by type/number without specifying congress may return ambiguous or no results","Payment failure — x402 payment of $0.02 USDC not completed, endpoint returns 402","Rate limiting or upstream Congress.gov outage may cause 5xx errors"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured legislative data for a single known US federal bill — including sponsor identity, cosponsors, committee referrals, policy area, and full action timeline. Prefer this over web scraping or general search when you have a specific bill ID or type/number/congress and need machine-readable structured output with lifecycle stage computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:15.326Z","isFirstParty":false}