{"uid":"cap_QUf9ExytkNiBk1OvLLkdJ","slug":"agentdiet-spa-markdown-reader-c63b4db6","name":"AgentDiet SPA Markdown Reader","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/spa-markdown-reader?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_v7SqgbBy7egJiN4877lui","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 a URL and returns its content as compressed, token-efficient markdown, stripping bloat to reduce context window usage by up to 91%.","exampleAgentPrompt":"Fetch the content at https://example.com/docs/getting-started and return it as clean, compressed markdown — I want to minimize tokens used in my context window.","exampleUseCases":[{"title":"Summarize a documentation page cheaply","prompt":"Read the content at https://docs.openai.com/api-reference and give it to me as lean markdown so I can fit it in my context without blowing up my token budget."},{"title":"Agent ingesting a blog post","prompt":"Pull in https://simonwillison.net/2024/Mar/22/claude-and-chatgpt-case-study/ as compressed markdown so I can analyze it without wasting context space."},{"title":"Monitor a landing page's text content","prompt":"Grab the text from https://anthropic.com and convert it to minimal markdown — I need the content without all the HTML cruft eating up my context window."}],"resultDescription":"Returns a JSON object with a `data` field containing the page content as markdown, a `status` field ('ok'), and an `roi_proof` object showing the compression ratio achieved (e.g. 91.4% compression_ratio_pct).","failureModes":["URL is unreachable or returns non-200 status — endpoint may return error status","Single-page applications requiring JavaScript execution may not render fully","Very large pages may hit size or timeout limits","Invalid or missing `url` query parameter causes bad request","Paywalled or login-gated pages may return empty or partial content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read web content but must minimize token consumption — especially when fetching pages into a context window repeatedly or at scale. It is preferable to raw HTML fetchers when the agent only needs readable text content, and to general scrapers when the primary concern is token efficiency and cost. Best suited for documentation pages, blog posts, and SPAs where clean markdown output is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:55.505Z","isFirstParty":false,"canonicalSlug":"agentdiet-spa-markdown-reader-c63b4db6"}