{"uid":"cap_0WrlvxiycfqXT_PZg9hA5","slug":"agentdiet-paywall-check-rag-context-distiller-paywall-validator-14de167e","name":"AgentDiet Paywall Check — RAG Context Distiller Paywall Validator","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/paywall-check?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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"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_5kXQWFB0t22su6KRoQOaa","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":"Checks whether a given URL is behind a paywall and returns compression/ROI proof for the AgentDiet context distillation service","exampleAgentPrompt":"Before we try to distill the content at https://example.com/premium-article, can you check if it's behind a paywall using AgentDiet's paywall-check — I want to know the compression ROI proof too.","exampleUseCases":[{"title":"Pre-flight paywall check for agent pipeline","prompt":"Check whether https://techcrunch.com/2024/05/01/article is behind a paywall before I have my agent try to fetch and summarize it — I don't want to waste tokens if it's gated."},{"title":"Validate content accessibility for RAG pipeline","prompt":"I'm building a RAG pipeline and need to know if https://ft.com/content/some-article is freely accessible or requires payment — can you run a paywall check on it?"},{"title":"Confirm x402 micropayment requirement on a URL","prompt":"Does https://rag-diet.agentdiet.dev/v1/some-document require an x402 micropayment to access? Please check and tell me the compression ratio proof if available."}],"resultDescription":"A JSON object with a status field ('ok'), a data object, and an roi_proof object containing the compression_ratio_pct (e.g. 91.4%) indicating how much context compression AgentDiet can achieve on the target content. Confirms whether the URL is paywalled or accessible.","failureModes":["Missing or invalid URL query parameter returns an error","URL is unreachable or times out","Payment not settled (x402 payment required before accessing this endpoint itself)","Malformed input object missing required 'type' or 'method' fields","Target URL returns unexpected content type that cannot be assessed"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a URL is behind a paywall before committing to fetching or distilling its content, especially in automated agent pipelines where token costs matter. Prefer this over blind fetch attempts when operating in x402/micropayment-aware environments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:43.300Z","isFirstParty":false,"canonicalSlug":"agentdiet-paywall-check-rag-context-distiller-paywall-validator-14de167e"}