{"uid":"cap_a3ndDMuFjdCtgBat1Qo9T","slug":"fittings-url-to-markdown-d656bc06","name":"fittings URL to Markdown","description":"Fetch a public web page and return it as clean Markdown with its title. Capped at 2 MB.","url":"https://fittings.sh/v1/doc/url-to-markdown","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(s) URL"}}}},"additionalProperties":false}}},"responseSchema":null,"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_Uv28xY95-Y36M6NfWEOck","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 web page and returns its content as clean Markdown with its title, capped at 2 MB.","exampleAgentPrompt":"Can you fetch the page at https://en.wikipedia.org/wiki/Markdown and give me its content as clean Markdown so I can read through it?","exampleUseCases":[{"title":"Summarize a news article","prompt":"Grab the article at https://www.reuters.com/technology/ai-regulation-2024/ and convert it to Markdown so I can summarize the key points."},{"title":"Extract documentation for reference","prompt":"Fetch the page at https://docs.python.org/3/library/asyncio.html and return it as clean Markdown — I need to reference the API docs in my notes."},{"title":"Archive a blog post as Markdown","prompt":"Pull down https://martinfowler.com/articles/microservices.html and convert it to Markdown so I can save it to my knowledge base."}],"resultDescription":"Returns the fetched web page converted to clean Markdown text along with the page's title. HTML markup, navigation, and boilerplate are stripped, leaving readable prose and structure in Markdown format. Response is capped at 2 MB of content.","failureModes":["URL is not publicly accessible or requires authentication — returns an error","Page exceeds the 2 MB cap — content is truncated or rejected","URL is malformed or uses a non-http/https scheme — validation error","Target server is slow or unresponsive — timeout error","Page is JavaScript-rendered only (SPA) — may return minimal or empty content","URL points to a binary file (PDF, image) rather than an HTML page — may fail or return garbled output"],"whenToPreferThis":"Choose this endpoint when you need to read a public web page's human-readable content in a clean, LLM-friendly Markdown format without dealing with raw HTML. It is ideal for agents that need to ingest, summarize, or archive web content. Prefer it over raw HTTP fetching when you want boilerplate stripped and structure preserved as Markdown. Not suitable for pages that require login, JavaScript rendering, or for crawling entire sites.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:53.226Z","isFirstParty":false}