{"uid":"cap_6GYhJzBclU84Wtlq_TBnq","slug":"tollmint-web-fetch-analysis-0c86b814","name":"Tollmint Web Fetch & Analysis","description":"An API that quotes its own price and takes payment in the same request. Built for autonomous agents: no account, no invoice, no human in the loop.","url":"https://api.tollmint.com/v1/web/fetch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Page to analyse. Fetched respecting robots.txt."},"html":{"type":"string","maxLength":2000000,"description":"Raw HTML, if you already have it. Takes precedence over url."},"max_words":{"type":"integer","maximum":50000,"minimum":100,"description":"Truncate the markdown at this many words. Truncation is reported."},"include_links":{"type":"boolean","default":true,"description":"Keep inline links as markdown. Disable to cut tokens when only prose matters."}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u5kjuwH3mEYd29OFOzLUd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 (or accepts raw HTML) and converts it to clean, truncatable markdown text with optional link preservation, billed per-call via x402 micropayment","exampleAgentPrompt":"Fetch the content of https://example.com/article and convert it to clean markdown — keep inline links, and cap it at 5000 words.","exampleUseCases":[{"title":"AI research assistant reading sources","prompt":"Pull the full text of this article at https://www.nature.com/articles/some-paper and give it to me as clean markdown so I can summarize it — keep the links and limit it to 10000 words."},{"title":"Competitive pricing page monitor","prompt":"Fetch the pricing page at https://competitor.com/pricing and convert it to plain markdown text so I can compare their tiers — no need to keep the links, just the prose."},{"title":"Agent ingesting raw HTML for analysis","prompt":"I already have the raw HTML of a product page — convert it to markdown text, strip inline links to save tokens, and cap it at 2000 words so I can extract the key specs."}],"resultDescription":"A JSON response containing the page content rendered as clean markdown text, with prose truncated to the requested word limit if specified, a flag indicating whether truncation occurred, and optionally inline hyperlinks preserved in markdown format.","failureModes":["URL is blocked by robots.txt — fetch is refused and an error is returned","URL is unreachable or returns a non-200 status — network or HTTP error reported","HTML payload exceeds the 2MB maxLength limit — request rejected","max_words below minimum of 100 — validation error","Payment not provided or insufficient — 402 response with price quote","Malformed URL format — schema validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to fetch and read a web page's content programmatically without requiring a pre-registered account or API key — especially in autonomous, agentic workflows where the agent pays per-call via x402 USDC micropayment. It is ideal when you already have raw HTML you want converted to markdown, or when you want prose limited to a specific word count. Prefer it over browser automation tools when you only need text content, not JavaScript rendering or interactive sessions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:39:20.640Z","isFirstParty":false}