{"uid":"cap_E6tBGqFXJgpQC_QJfCjIy","slug":"agentdiet-paywall-scanner-8e7d4989","name":"AgentDiet Paywall Scanner","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-scanner?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_jjVYRBZ37k4FhP1crj6ft","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":"Scans a given URL to detect paywalls and returns a compression/distillation analysis with ROI proof for context window optimization","exampleAgentPrompt":"Can you scan https://example.com/article to check if it's behind a paywall and tell me the compression ratio you'd achieve distilling its content?","exampleUseCases":[{"title":"Pre-fetch paywall check for RAG pipeline","prompt":"Before I try to pull content from https://nytimes.com/2025/01/01/tech/ai-agents.html into my RAG pipeline, can you scan it to see if it's paywalled and what compression ratio I'd get?"},{"title":"Content accessibility audit for agent workflow","prompt":"I need to know if https://wsj.com/articles/some-story is behind a paywall before routing my agent to fetch it — can you run a paywall scan on that URL?"},{"title":"Token budget planning before context injection","prompt":"Scan https://medium.com/@author/long-article for me — I want to know if it's gated and what the expected compression ratio would be so I can plan my token budget."}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing the scan results, and an roi_proof object that includes a compression_ratio_pct value (e.g. 91.4%) indicating how much the content could be compressed for context window optimization.","failureModes":["Invalid or unreachable URL returns an error status","Missing required 'input' object causes schema validation failure","Non-HTTP URL type returns a validation error","Payment not settled in USDC on Base results in 402 payment required response","Rate limiting or access restrictions on the target URL may prevent scanning"],"whenToPreferThis":"Choose this endpoint when you need to programmatically check whether a target URL is behind a paywall before committing tokens or downstream pipeline steps to fetching its content. Particularly useful for AI agents managing token budgets, RAG pipelines that need to pre-qualify content sources, or workflows that need to avoid wasting API calls on gated content. The compression ratio output also makes it useful for planning context window usage before ingestion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:53.785Z","isFirstParty":false,"canonicalSlug":"agentdiet-paywall-scanner-8e7d4989"}