{"uid":"cap_WqmvLyKh2Osd-Rc6xZ6-U","slug":"freetier-agent-api-page-to-markdown-converter-0aa67e9b","name":"FreeTier Agent API — Page to Markdown Converter","description":"Page to Markdown: Convert a public web page to clean Markdown (title, headings, paragraphs, lists, links, code), scripts/nav/footer removed, max ~60k chars. robots.txt respected.","url":"https://freetier-agent-api.pages.dev/api/page-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"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":["string","null"]},"note":{"type":["string","null"]},"chars":{"type":["number","null"]},"title":{"type":["string","null"]},"status":{"type":["number","null"]},"sources":{"type":"array","items":{"type":["object","null"]}},"markdown":{"type":["string","null"]},"final_url":{"type":["string","null"]},"truncated":{"type":["boolean","null"]}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","note":"Content belongs to the page owner; respect its license/terms.","chars":156,"title":"Example Domain","status":200,"sources":[{"url":"https://example.com/","name":"Live fetch of the target page by FreeTierAgentAPI (robots.txt respected)"}],"markdown":"This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.","final_url":"https://example.com/","truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bw6DKcIvuHsDlMRj1pWTt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page by URL and returns its content converted to clean Markdown format, including title and structured text.","exampleAgentPrompt":"Can you fetch the content of https://openai.com/blog and give it to me as markdown so I can read through it cleanly?","exampleUseCases":[{"title":"Research article ingestion for RAG","prompt":"Grab the content of https://arxiv.org/abs/2307.09288 and convert it to markdown so I can feed it into my document pipeline."},{"title":"Competitive landing page analysis","prompt":"Fetch https://stripe.com/payments and give me the page content as markdown — I want to see what messaging they're leading with."},{"title":"Documentation extraction for agent context","prompt":"Pull down the content of https://docs.anthropic.com/claude/reference/getting-started-with-the-api and return it as markdown so I can summarize the key steps."}],"resultDescription":"Returns a JSON object with three fields: the original URL, the page title, and the full page content rendered as clean Markdown (e.g. headers, lists, paragraphs). Sources are cited in the response.","failureModes":["URL is unreachable or returns a non-200 HTTP status — endpoint may return an error or empty markdown","Page is behind a login wall or anti-bot protection — content may be incomplete or blocked","URL parameter missing — request will fail validation","Paywalled or JavaScript-heavy pages may return minimal or garbled content","Payment not completed via x402/USDC — request returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to convert a live web page to clean, readable Markdown in a single pay-per-call request with no API key signup. It is especially useful for AI agent pipelines that need to ingest web content for summarization, RAG, or analysis, and where you want sources cited automatically. Prefer it over general-purpose scraping tools when you need guaranteed Markdown output with title metadata and are comfortable with per-call USDC micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:46:46.549Z","isFirstParty":false,"canonicalSlug":"freetier-agent-api-page-to-markdown-converter-0aa67e9b"}