{"uid":"cap_n1EvGnqwZD_0CwzDm6fn9","slug":"pocket-network-web-extract-markdown-text-c44f6a47","name":"Pocket Network Web Extract (Markdown/Text)","description":"Fetch a URL and get it back ready for an LLM or RAG pipeline: clean markdown (headings and links kept), plain text, the title, the page's links and fetch metadata. POST /v1/extract with {url} and optional formats and max_chars. JSON in, JSON out, errors included. Pay per request in USDC; no account, no API key.","url":"https://agent.pocket.network/v1/agentsearch-web-extract-v1?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"The page to fetch (http or https)."},"formats":{"type":"array","items":{"enum":["markdown","text"],"type":"string"},"description":"Which renderings to return. Defaults to the service's own choice."},"max_chars":{"type":"integer","maximum":100000,"minimum":1,"description":"Cap on returned characters (default 50000)."}}},"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_70dHDmAxlT4776rF416EW","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 URL and returns it as clean markdown, plain text, title, links, and fetch metadata — formatted for LLM or RAG pipeline ingestion.","exampleAgentPrompt":"Fetch https://en.wikipedia.org/wiki/Large_language_model and give me back the content as clean markdown, keeping headings and links, capped at 20000 characters.","exampleUseCases":[{"title":"RAG pipeline document ingestion","prompt":"Fetch https://docs.openai.com/overview and return it as clean markdown so I can chunk it and load it into my vector database for a retrieval-augmented generation system."},{"title":"LLM context enrichment from article","prompt":"Grab the article at https://www.wired.com/story/the-future-of-ai-agents and convert it to plain text, capped at 10000 characters, so I can feed it to my LLM as context for a summary."},{"title":"Competitive research page extraction","prompt":"Pull the content from https://www.anthropic.com/index/claude-3-5-sonnet and give me the markdown version with headings and links intact so I can analyze what they're saying about their model."}],"resultDescription":"A JSON object containing one or more of: 'markdown' (headings and links preserved, HTML stripped), 'text' (plain prose), 'title' (page title string), 'links' (array of URLs found on the page), and fetch metadata (status, fetch timestamp, source URL). Characters are capped at max_chars (default 50000). Errors are returned inline in the JSON response.","failureModes":["URL is unreachable or returns a non-200 HTTP status — error included in JSON response","Page requires JavaScript rendering not supported by the fetcher — returns partial or empty content","max_chars too low — content silently truncated at the specified limit","Paywalled or login-gated pages — returns only publicly visible content (e.g. login prompt text)","Malformed URL input — error returned in response JSON","USDC payment failure — request rejected before fetch is attempted"],"whenToPreferThis":"Choose this endpoint when you need a URL's content cleaned and structured specifically for LLM or RAG use — it returns markdown with headings/links intact plus plain text in a single call, billed per-request in USDC with no API key required. Prefer it over generic scraping APIs when your downstream consumer is a language model or embedding pipeline and you want immediate, pay-as-you-go access without account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:38:06.978Z","isFirstParty":false,"canonicalSlug":"pocket-network-web-extract-markdown-text-c44f6a47"}