{"uid":"cap_urptRk5mRSPUZFDd92oeb","slug":"agentwork-web-markdown-url-to-markdown-converter-a416f7e7","name":"AgentWork Web Markdown — URL to Markdown Converter","description":"Web read / URL to markdown (batch, JavaScript rendering), PDF text extraction and website change monitoring for agents. From $0.003 per URL on Base. x402 USDC, no API key.","url":"https://api.agentwork.run/v1/web/markdown?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public HTTP/HTTPS URL (URL-encoded)"},"selector":{"type":"string","maxLength":300},"max_chars":{"type":"integer","maximum":60000,"minimum":1000}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"url":"https://example.com/","text":"Example Domain\nThis domain is for use in illustrative examples.","title":"Example Domain","format":"markdown","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples.","final_url":"https://example.com/","fetched_at":"2026-10-09T00:00:00Z","text_sha256":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","markdown_sha256":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","javascript_rendered":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LBUGinby4TRL82fqV_RIO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL and returns its content as clean Markdown text, with JavaScript rendering support and SHA-256 fingerprinting for change detection.","exampleAgentPrompt":"Fetch https://docs.stripe.com/api and convert it to clean markdown so I can use it as context — limit to 20000 characters.","exampleUseCases":[{"title":"Documentation ingestion for RAG","prompt":"Grab https://docs.openai.com/api-reference and turn it into clean markdown, up to 30000 characters, so I can index it for retrieval."},{"title":"Competitive pricing page research","prompt":"Fetch the pricing page at https://www.competitor.com/pricing and give me clean readable text — I want to see their current plans."},{"title":"JavaScript-rendered SPA content","prompt":"Read https://app.example.com/dashboard — it's a React app, so make sure JavaScript is rendered — and return the markdown content."}],"resultDescription":"A JSON object containing: 'ok' (boolean success flag), 'url' (requested URL), 'markdown' (full Markdown-formatted page content), 'text' (plain text version), 'title' (page title), 'final_url' (after redirects), 'fetched_at' (ISO timestamp), 'text_sha256' and 'markdown_sha256' (fingerprints for change detection), and 'javascript_rendered' (boolean indicating if JS rendering was used).","failureModes":["URL is not publicly accessible or returns a non-200 status — endpoint returns ok:false","URL is behind a login wall or CAPTCHA — content may be incomplete or empty","JavaScript rendering fails for complex SPAs — javascript_rendered returns false","PDF or binary file submitted instead of an HTML URL — use the PDF endpoint instead","URL-encoded URL parameter missing or malformed — returns 400 validation error","max_chars too small (below 1000) or exceeds 60000 — schema validation error","Timeout on slow-loading pages — may return partial content or error"],"whenToPreferThis":"Use this endpoint when you need to convert a public webpage into clean Markdown or plain text for downstream RAG, research, or agent context — especially when the page uses JavaScript rendering. Prefer this over generic scraping tools when you also need SHA-256 fingerprinting for change detection, when you want a no-API-key x402 USDC micropayment flow on Base, or when you need to optionally scope content with a CSS selector.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:30:06.637Z","isFirstParty":false,"canonicalSlug":"agentwork-web-markdown-url-to-markdown-converter-a416f7e7"}