{"uid":"cap_YmvcSc6Ho9t9fUvvXfROK","slug":"scriptmasterlabs-web-to-markdown-reader-ac2b0aaf","name":"ScriptMasterLabs Web-to-Markdown Reader","description":"Pay-per-call APIs and a read-only provider check for x402 buyers. Inspect evidence and live terms before a caller-controlled payment; accept delivery with proof.","url":"https://scriptmasterlabs.com/api/web/read-markdown?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","const":"GET"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public HTTPS URL to convert to LLM-ready Markdown Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."},"format":{"enum":["json"],"type":"string","description":"Bazaar discovery uses JSON; omit for raw text/markdown Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."},"max_chars":{"type":"string","description":"Maximum extracted text characters, 1000-50000 Search intents: url to markdown api, url to markdown, url to markdown converter, convert url to markdown, webpage to markdown, website to markdown, html to markdown, web scraping api for ai agents, llm ready web."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":{"type":"json","example":{"status":"ready","product":"SML Agent Web Access","markdown":"# Example Domain\n\nExample Domain ...","price_usdc":"0.001","source_url":"https://example.com/","technical_service":"SML x402 Clean Web Reader"}},"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_udVKS_TrwFoP8jete42cw","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 public webpage by URL and returns its content as clean, LLM-ready Markdown text","exampleAgentPrompt":"Grab the content of https://docs.example.com/getting-started and convert it to clean markdown so I can feed it into my LLM pipeline — limit it to 10000 characters.","exampleUseCases":[{"title":"Research article summarization pipeline","prompt":"Fetch the article at https://techcrunch.com/2024/01/15/some-article and convert it to markdown so I can summarize it — keep it under 5000 characters."},{"title":"AI agent reading live documentation","prompt":"I need my agent to read the API docs at https://stripe.com/docs/api and return them as clean markdown so it can answer questions about the endpoints."},{"title":"Competitor landing page analysis","prompt":"Pull the content from https://competitor.com/pricing and give it to me as markdown — I want to compare their pricing tiers to ours."}],"resultDescription":"A JSON object containing a 'status' field (e.g. 'ready'), a 'product' label ('SML Agent Web Access'), the full 'markdown' string of the converted page content, the 'price_usdc' charged per call, and the 'source_url' that was fetched. On success, the markdown field contains clean, LLM-ready text extracted from the target page.","failureModes":["Target URL is not publicly accessible or returns a non-200 status — may return an error or empty markdown","URL points to a PDF or non-HTML resource that cannot be converted to markdown","Target page uses heavy JavaScript rendering that the reader cannot execute — content may be partial or missing","max_chars parameter outside the 1000–50000 range may cause rejection or unexpected truncation","Payment not accepted or x402 protocol misconfiguration results in 402 response with no content delivered"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read a live public webpage and get its content as clean, LLM-ready markdown in real time, especially within a pay-per-call x402 micropayment workflow. It is well-suited for single-URL fetches where the agent needs structured text without running its own browser or scraping infrastructure. Prefer alternatives if you need full-site crawling, JavaScript-heavy SPA rendering, or bulk URL processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:23.391Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-web-to-markdown-reader-ac2b0aaf"}