{"uid":"cap_nNjZ6ooe-Je41so8aI9WE","slug":"red-web-utils-legislation-search-c0423e91","name":"red-web-utils Legislation Search","description":"Pay-per-call web and onchain utilities for AI agents (MPP + x402, USDC on Base).","url":"https://red-web-utils.agent-tools-x402.workers.dev/api/legislation/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pbWhbdNzSM5-pMvgkuYj_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches legislation and bills by keyword query, returning relevant legislative records for AI agents.","exampleAgentPrompt":"Can you search for legislation related to artificial intelligence regulation and tell me what bills or laws come up?","exampleUseCases":[{"title":"Policy research on climate bills","prompt":"Search for all legislation related to carbon emissions and climate policy so I can see what bills have been introduced or passed."},{"title":"Tracking cryptocurrency regulation","prompt":"Find any legislation related to cryptocurrency, digital assets, or stablecoins so I can understand the current regulatory landscape."},{"title":"Healthcare reform bill lookup","prompt":"Look up legislation about Medicare expansion and drug pricing reform — I need to know what bills are currently in play."}],"resultDescription":"Returns a list of legislative records matching the search query, likely including bill titles, identifiers, summaries, status, and relevant metadata drawn from legislative databases.","failureModes":["Empty query string returns validation error","No matching legislation found returns empty results array","Overly broad queries may return too many or low-relevance results","Payment failure (402) if USDC balance is insufficient","Service unavailable or worker timeout on the Cloudflare edge"],"whenToPreferThis":"Use this endpoint when an agent needs to look up real legislation, bills, or laws by keyword in a pay-per-call context using USDC micropayments via x402. Prefer this over scraping congress.gov or similar sites when you need a structured, agent-friendly API response with predictable pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:33:25.297Z","isFirstParty":false,"canonicalSlug":"red-web-utils-legislation-search-c0423e91"}