{"uid":"cap_sSLOVMumfIOXkxZ4vaNev","slug":"us-federal-bill-search-40d4441e","name":"US Federal Bill Search","description":"Search US federal bills by keyword (optionally within one Congress) and get a ranked list of matching bills with id, title and latest action. Source: Congress.gov, public-domain.","url":"https://api.agentstools.dev/legislative/search","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":{"q":{"type":"string","description":"Keyword / phrase to search bill text"},"limit":{"type":"integer","maximum":25,"minimum":1,"description":"Max bills to return, default 10"},"keyword":{"type":"string","description":"Alias for q"},"sponsor":{"type":"string","description":"Optional sponsor name filter"},"congress":{"type":"integer","description":"Optional Congress number to scope the search"},"policyArea":{"type":"string","description":"Optional policy-area keyword to filter results"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_T57ZBCPUepdnJjJqjFe1U","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 US federal bills by keyword with optional filters for Congress number, sponsor, and policy area, returning ranked matching bills with IDs, titles, and latest actions","exampleAgentPrompt":"Search Congress.gov for federal bills about 'clean energy' in the 118th Congress — show me up to 15 results with their titles and latest actions.","exampleUseCases":null,"resultDescription":"A ranked list of matching US federal bills, each with a bill ID, title, and latest legislative action taken, sourced from Congress.gov public-domain data.","failureModes":["No bills found matching the keyword — returns empty list","Invalid Congress number — returns error or empty results","Query too broad returns maximum 25 results with no guarantee of relevance ranking","Rate limit or payment failure returns 402 or 429 error","Sponsor name not found returns empty filtered results"],"whenToPreferThis":"Use this endpoint when you need to search and discover US federal legislation by topic, keyword, sponsor, or policy area. Prefer this over manual Congress.gov browsing when building automated legislative monitoring, policy research tools, or when an agent needs to surface relevant bills for a given subject quickly. Best when you need a ranked list of bills rather than deep detail on a single known bill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:54:44.449Z","isFirstParty":false}