{"uid":"cap_phYeGW9ybSsX8EDScWWMX","slug":"leo-shi-blog-web-fetch-a6ba806a","name":"Leo Shi Blog Web Fetch","description":"一个人的思考、创作与成长记录。关于生活、技术、商业和一切有趣的事。","url":"https://leoshi-blog.vercel.app/api/web/fetch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"https URL of the page to read"},"main_content_only":{"type":"boolean","description":"Strip nav/ads; default true"}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","title":"Example","markdown":"# Example\n\nHello"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_utA4chmOkemp_yEWmWkFa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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 as clean Markdown, title, and the original URL","exampleAgentPrompt":"Can you fetch the content of https://example.com/article and give me the full text as markdown so I can read it?","exampleUseCases":[{"title":"Article content extraction for summarization","prompt":"Grab the full content of this news article at https://techcrunch.com/2024/05/01/ai-trends/ and convert it to markdown so I can summarize it."},{"title":"Research page archiving","prompt":"Fetch the page at https://en.wikipedia.org/wiki/Large_language_model and return the content in markdown format so I can save it for my research notes."},{"title":"Blog post reading in plain text","prompt":"Pull the text from https://leoshi-blog.vercel.app/posts/my-thoughts-on-startups and give it to me as markdown — I want to read it without all the HTML noise."}],"resultDescription":"Returns a JSON object containing the original URL, the page title, and the full page content converted to Markdown format, suitable for reading, summarizing, or further processing by an agent.","failureModes":["URL is unreachable or returns a non-200 status — may return an error or empty content","Paywalled or login-gated pages may return partial or no content","Dynamically rendered JavaScript-heavy pages may yield incomplete markdown","Invalid or malformed URLs will likely cause a fetch error","Rate limits or network timeouts from the target host may cause failures"],"whenToPreferThis":"Choose this endpoint when you need to retrieve the readable text content of a specific URL and want it returned in clean Markdown format. It is ideal for single-page fetches where the goal is to read, summarize, or process the text of a web page. Prefer this over general-purpose search endpoints when you already have the URL and just need the content converted to Markdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:38.602Z","isFirstParty":false}