{"uid":"cap_5l9K954fVumQSzkVeAe-r","slug":"x402-agent-toolkit-url-to-text-4daff821","name":"x402 Agent Toolkit – URL to Text","description":"Paid utility endpoints for AI agents. Pay with USDC on Base or Solana. Pure computation, no LLM dependency.","url":"https://x402-agent-toolkit.vercel.app/api/url-to-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL to scrape"}}},"responseSchema":{"type":"object","properties":{"url":{"type":"string"},"text":{"type":"string"},"chars":{"type":"integer"}}},"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_lUKGqHnbraYGW0y2c4GGA","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":"Scrapes a given URL and returns the full page content as plain text, along with character count","exampleAgentPrompt":"Can you fetch the text content from https://example.com/article and tell me what it says?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the original URL, the full plain text extracted from the page, and the total character count of the extracted text.","failureModes":["URL is unreachable or returns a non-200 status — request may fail or return empty text","URL points to a binary file (PDF, image) rather than an HTML page — text extraction may be incomplete or empty","URL is paywalled or behind authentication — only publicly accessible content will be returned","Payment fails or is rejected — endpoint returns 402 before processing","Very large pages may return truncated or partial text"],"whenToPreferThis":"Use this endpoint when an AI agent needs to read the content of a public webpage as plain text without any LLM-based summarization or interpretation. Ideal for agents that need raw page content for downstream processing, when you want deterministic scraping billed per-call via USDC micropayment on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:35:56.233Z","isFirstParty":false,"canonicalSlug":"x402-agent-toolkit-url-to-text-4daff821"}