{"uid":"cap_Ca8_D3z2nFAXhulCvB849","slug":"earn-tools-web-extractor-b6dea840","name":"Earn Tools Web Extractor","description":"Low-cost x402 pay-per-call tools for autonomous buyers. Web extraction returns static public pages as clean markdown; every payable operation declares x-payment-info and a 402 response. Free betas: Agent Purchase Guard adds retry-safe purchase intent controls; Outcome Router accepts a desired result plus max budget and autonomously discovers fulfillment, tries zero-dollar proof-of-work first, and supports buyer-signed x402 paid execution where available.\n\nBuyer-signed paid HYDRA execution\n- Outcome request: POST https://earn-tools-backend.onrender.com/outcome-router\n- Paid execution: POST https://earn-tools-backend.onrender.com/outcome-router/execute/{requestId}\n- First execution call returns the relayed Agent402 Smart Order Router x402 PAYMENT-REQUIRED challenge.\n- An x402-capable buyer wallet signs locally and retries with PAYMENT-SIGNATURE.\n- HYDRA forwards the proof and returns the routed result.\n- HYDRA never receives the buyer private key or uses owner working capital.\n- Current beta platform fee: $0. Higher paid tiers are not auto-escalated.","url":"https://earn-tools-backend.onrender.com/web-extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"max_chars":{"type":"integer","default":60000,"maximum":150000,"minimum":1000},"include_links":{"type":"boolean","default":true}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"title":"Example Domain","finalUrl":"https://example.com/","markdown":"# Example Domain\n\n...","wordCount":20,"extractionMode":"static_html","untrustedContent":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cl9dAmlAcrP179K1lp66o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public static webpage and returns clean markdown, metadata, word count, and links for agent research and RAG pipelines.","exampleAgentPrompt":"Fetch the content of https://en.wikipedia.org/wiki/Large_language_model and convert it to clean markdown with links included, keeping it under 60000 characters.","exampleUseCases":[{"title":"Research pipeline content ingestion","prompt":"Pull the full text of https://openai.com/research/gpt-4 as clean markdown with links so I can feed it into my RAG knowledge base — keep it under 80000 characters."},{"title":"Competitor page summarization","prompt":"Extract the content of https://www.anthropic.com/product as readable markdown so I can analyze what they're saying about their product — include all links and cap it at 60000 characters."},{"title":"Documentation scraping for agent context","prompt":"Grab the content from https://docs.python.org/3/library/asyncio.html and convert it to markdown with links included so my agent can answer questions about it — limit to 50000 characters."}],"resultDescription":"Returns a JSON object with ok status, page title, final resolved URL, full markdown body, word count, extraction mode (static_html), and an untrustedContent flag warning that the page content is attacker-controllable.","failureModes":["Non-public or paywalled URLs return an error or empty content","Dynamic JavaScript-rendered pages may return incomplete content since only static HTML is fetched","URLs exceeding the max_chars limit will be truncated at the specified character ceiling","Invalid or malformed URLs return a validation error","Pages that block scrapers via robots.txt or IP filtering may fail silently or return partial content","Network timeouts on slow or unreachable hosts"],"whenToPreferThis":"Choose this endpoint when you need cheap, fast extraction of a single public static webpage into markdown for RAG ingestion, agent research, or summarization — particularly in pay-per-call autonomous agent pipelines using x402 micropayments. Prefer it over browser-automation tools when JavaScript rendering is not required and cost matters. At $0.003 per call it is suited for high-volume document ingestion workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:02.075Z","isFirstParty":false}