{"uid":"cap_0NQt-DlzIT5K0TK3Wp47a","slug":"url-text-extractor-x402-pay-per-use-4afce522","name":"URL Text Extractor (x402 Pay-Per-Use)","description":"Fetch a public HTTP(S) URL and return cleaned readable text, title, final URL, status, and redirect details. This deterministic endpoint does not call an upstream model. Pay up to $0.002 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/url-text","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":2048,"minLength":1},"max_bytes":{"type":"integer","maximum":524288,"minimum":4096},"max_chars":{"type":"integer","maximum":10000,"minimum":200},"timeout_ms":{"type":"integer","maximum":12000,"minimum":1000},"max_redirects":{"type":"integer","maximum":3,"minimum":0}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"url":"https://example.com","max_bytes":65536,"max_chars":5000,"timeout_ms":5000,"max_redirects":2}}},"response":{"h1":"Example Domain","ok":true,"url":"https://example.com","text":"Example Domain Example Domain This domain is for use in documentation examples without needing permission. Avoid use in operations. Learn more","title":"Example Domain","status":200,"finalUrl":"https://example.com/","fetchedAt":"2026-06-18T06:16:36.187Z","redirects":[],"textChars":142,"truncated":false,"contentType":"text/html","contentLength":null}},"exampleRequest":{"url":"https://example.com","max_bytes":65536,"max_chars":5000,"timeout_ms":5000,"max_redirects":2},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FRxIdUtzXo4I2npcm2Qz1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 clean, readable plain text extracted from the webpage content","exampleAgentPrompt":"Fetch the text content from https://example.com/article and give me the clean readable text, with a max of 5000 characters.","exampleUseCases":null,"resultDescription":"A JSON object with ok (boolean), tool name ('urlText'), a clean readable text summary extracted from the fetched webpage, and a fetchedAt timestamp. Returns extracted plain text stripped of HTML markup up to the requested character or byte limits.","failureModes":["URL unreachable or times out — returns ok: false with error detail","URL redirects exceed max_redirects limit — fetch aborted","Response body exceeds max_bytes before extraction completes — truncated or error","Invalid or malformed URL input — validation error","Paywalled or bot-blocked page returns empty or minimal text","x402 payment fails or USDC balance insufficient — 402 response before fetch occurs"],"whenToPreferThis":"Use this endpoint when you need cheap ($0.0001 per call), pay-as-you-go plain text extraction from a known URL without a subscription. Ideal for agents that occasionally need to read webpage content, summarize articles, or ingest web data as text. Prefer over full browser automation tools when you only need readable text and not structured data, screenshots, or JavaScript-rendered content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-24T11:32:43.548Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:28.065Z","isFirstParty":false}