{"uid":"cap_Tj9xoVvhtoq3DLeF490e_","slug":"agentpay-web-scrape-86ff4637","name":"AgentPay Web Scrape","description":"Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.","url":"https://agentpay.help/v1/web-scrape","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Absolute URL to fetch"},"max_chars":{"type":"number","description":"Truncation limit, optional"}}},"responseSchema":{"type":"json","example":{"title":"Example Report","content":"First paragraphs of the page as plain text...","word_count":812}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yxzZndA1vCf7tqbQ4ek9J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes a webpage and returns its title, cleaned text content, and word count via a pay-per-call x402 micropayment flow","exampleAgentPrompt":"Can you scrape the content from https://example.com/article and pull out all the readable text so I can summarize it?","exampleUseCases":[{"title":"Summarize a news article","prompt":"Grab the full text from this news article at https://reuters.com/technology/ai-regulation-2025 and summarize the key points for me."},{"title":"Extract product description from e-commerce page","prompt":"Scrape the product page at https://shop.example.com/products/widget-pro and get me the title and full description text."},{"title":"Research competitor blog post content","prompt":"Fetch the content from https://competitor.com/blog/our-strategy and tell me what their main arguments are — get the raw text first."}],"resultDescription":"A JSON object containing the scraped page's title (string), the cleaned main text content (string), and the total word count (number). No HTML — just the readable text extracted from the page.","failureModes":["URL is unreachable or returns a non-200 HTTP status — scrape fails with an error","Page uses heavy JavaScript rendering that server-side scraping cannot execute — content may be empty or partial","Payment via x402/USDC fails or wallet has insufficient balance — request is rejected with 402","URL points to a PDF or binary file rather than an HTML page — content extraction may fail","Anti-scraping measures (CAPTCHA, bot detection) on the target site block the request"],"whenToPreferThis":"Choose this endpoint when your agent needs quick, keyless web content extraction paid per-call via USDC micropayments (x402), especially in serverless or ephemeral contexts where managing API credentials is undesirable. It is ideal for one-off URL scrapes where you want raw text and word count without setting up a full scraping infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:41.985Z","isFirstParty":false}