{"uid":"cap_zSmi6lQ7ttfYA9o6thqbY","slug":"agentdiet-web-scrape-ai-optimized-content-extractor-755591f9","name":"AgentDiet Web Scrape — AI-Optimized Content Extractor","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/web-scrape?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"},"mode":{"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.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_W1tcQwo7fv95kSB3o2Ctc","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":"Fetches and distills a web page URL into a compressed, token-efficient representation, achieving up to 91% compression ratio for AI agent context windows","exampleAgentPrompt":"Fetch the content of https://example.com/article and compress it down as much as possible before adding it to our context — I want the full gist but minimal tokens.","exampleUseCases":[{"title":"Research pipeline token reduction","prompt":"Pull the content from https://techcrunch.com/2025/01/15/ai-funding-roundup and distill it down so it fits cleanly in my context window without eating up all my tokens."},{"title":"Competitive intelligence agent","prompt":"Scrape https://competitor.com/pricing and give me the compressed, token-efficient version so I can compare their plans without blowing up my context."},{"title":"Document ingestion for Q&A agent","prompt":"Fetch this documentation page at https://docs.example.com/api-reference and strip it down to just the meaningful content — I need the key info but as few tokens as possible."}],"resultDescription":"A JSON object containing the distilled page content under `data`, a status field ('ok' on success), and an `roi_proof` object with a `compression_ratio_pct` indicating how much the content was compressed (e.g. 91.4% compression). The agent receives a dramatically smaller representation of the page, suitable for injection into a context window.","failureModes":["Invalid or unreachable URL returns an error status","Payment failure via x402/USDC results in 402 response before content is returned","Paywalled or bot-blocked pages may return empty or partial content","Malformed input schema (missing 'type' or 'method') causes validation error","Rate limiting or node unavailability on the AgentDiet network"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to read web page content but context window size or token cost is a concern. It is especially valuable in multi-step agentic pipelines where many pages must be ingested without exceeding LLM context limits. Prefer it over raw HTTP fetchers when you want automatic token compression (up to 91%) rather than raw HTML. It is purpose-built for A2A and MCP agent workflows paying per call via x402/USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:05.014Z","isFirstParty":false,"canonicalSlug":"agentdiet-web-scrape-ai-optimized-content-extractor-755591f9"}