{"uid":"cap_nFK8V5pSEBKP-siBYXn3w","slug":"call402-text-extract-api-887a27ee","name":"call402 Text Extract API","description":"USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.","url":"https://call402.com/api/text-extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) page URL to extract"}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/article","meta":{"extractor":"mozilla readability (apache-2.0), first-party servers"},"text":"Full readable body text...","chars":4200,"title":"Example article","excerpt":"Short summary","truncated":false}},"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_FZn3llIQsGlSARV5c7tvM","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":"Extracts the main readable text content from any public webpage URL using Mozilla Readability, returning clean body text, title, excerpt, and metadata","exampleAgentPrompt":"Pull the full readable text from https://www.bbc.com/news/technology-12345678 so I can summarize it.","exampleUseCases":[{"title":"Summarize a news article from URL","prompt":"Grab the article text from https://techcrunch.com/2024/05/01/openai-news/ and give me a 3-sentence summary of what it says."},{"title":"Research content from a competitor page","prompt":"Extract all the readable body text from https://www.competitor.com/about so I can analyze what messaging they use."},{"title":"Feed webpage content into a Q&A","prompt":"Get the text content out of https://docs.example.com/faq so I can answer questions about it without having the user paste the whole page."}],"resultDescription":"Returns a JSON object containing: the original URL, the full readable body text extracted by Mozilla Readability, the page title, a short excerpt/summary, total character count, a boolean indicating whether the text was truncated, and metadata about the extractor used.","failureModes":["URL is not publicly accessible or requires authentication — extraction will fail or return empty content","Page is JavaScript-rendered (SPA) with no server-side HTML — Readability may return little or no text","URL points to a PDF, image, or non-HTML resource — not supported","Malformed or invalid URL in request body — likely 4xx error","Page blocks server-side crawlers via robots.txt or IP blocking — may return empty or partial content","Payment not attached or invalid PAYMENT-SIGNATURE header — returns HTTP 402 with payment requirements"],"whenToPreferThis":"Choose this endpoint when you need clean, readable main-body text from a public webpage without dealing with HTML parsing yourself. It's ideal for feeding article content into summarization, Q&A, or analysis pipelines. Prefer it over raw HTML scrapers when you want Readability-processed prose rather than full DOM content. Best for news articles, blog posts, documentation pages, and other text-heavy public URLs. Avoid it for paywalled, login-required, or JavaScript-heavy single-page applications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:44:16.119Z","isFirstParty":false,"canonicalSlug":"call402-text-extract-api-887a27ee"}