{"uid":"cap_wUE_8XBwTDDfZ22qm0mCY","slug":"policypulse-legislation-decoder-f974ec73","name":"PolicyPulse Legislation Decoder","description":"Plain-English legislation translation for policy and compliance agents. Decodes any bill globally with sector impact and passage probability.","url":"https://policypulse.theaslangroupllc.com/api/legislation?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","description":"Bill name or topic (e.g. 'NLRB joint employer rule', 'ACA employer mandate', 'EU AI Act')"},"lang":{"type":"string","description":"Response language (ISO 639-1 code)"},"action":{"type":"string","description":"action"},"jurisdiction":{"type":"string","description":"jurisdiction"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"errors":{"type":"object","description":"Documented error responses, keyed by HTTP status code","additionalProperties":{"type":"object","required":["description"],"properties":{"example":{"type":"object"},"description":{"type":"string"}}}},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","errors":{"400":{"example":{"error":"invalid request"},"description":"Invalid or missing parameter(s). Returned before the payment gate on paid requests, so a malformed call is never charged. JSON body: { error: <what is wrong and how to fix it> } plus usage hints."},"402":{"description":"Payment required — x402 v2 challenge; the accepts array lists scheme, network, and amount. Retry the same request with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. Verification is free."},"500":{"example":{"error":"upstream_failed"},"description":"Unexpected server error. If a payment settled without a usable result, contact info@theaslangroupllc.com with the settlement tx hash for a re-run or credit."}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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":{"p10Cents":"15.0000","medianCents":"15.0000","p90Cents":"15.0000","minCents":"15.0000","maxCents":"15.0000","p95Cents":"15.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dP-86b_ZK68FA2QnSbwyX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates any bill into plain English with sector impact analysis and passage probability for policy and compliance agents.","exampleAgentPrompt":"Can you decode the EU AI Act in plain English for me — specifically what it means for fintech companies and how likely it is to pass in its current form?","exampleUseCases":null,"resultDescription":"Returns a plain-English translation of the specified bill or legislation, including sector-specific impact analysis identifying which industries are most affected, and a passage probability score indicating how likely the bill is to become law.","failureModes":["Bill identifier not found or unrecognized — returns 404 or empty result","Jurisdiction not supported — returns error indicating unsupported region","Ambiguous bill name with multiple matches — returns disambiguation prompt or top match","Payment not processed via x402 — returns 402 Payment Required","Rate limit exceeded — returns 429 Too Many Requests"],"whenToPreferThis":"Use this endpoint when you need to quickly understand what a specific piece of legislation actually means in plain language, especially when assessing how it affects a particular business sector or when you need a passage probability estimate. Ideal for compliance officers, lobbyists, or policy analysts who need fast, actionable summaries of bills globally rather than raw legal text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:05:17.952Z","isFirstParty":false,"canonicalSlug":"policypulse-legislation-decoder-f974ec73"}