{"uid":"cap_OZu-fgFXpYOvZeWXVB1Po","slug":"api-the402-ai-b476530d","name":"the402.ai Web Page Scraper","description":"Purchase: Web Page Scraper","url":"https://api.the402.ai/v1/services/svc_0d947adadb39492f/purchase","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_WwlstMgpUlOwkd-x5pJmC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases and initiates a web page scraping job, returning a job ID and thread ID for async result retrieval","exampleAgentPrompt":"Can you scrape the content of https://example.com/article for me and return the text — I want to extract the main body content from that page.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a job_id (unique identifier for the scraping job), a status string (initial job state), and a thread_id (for tracking the async job thread). The agent should use the job_id to poll for results via the job status endpoint.","failureModes":["Invalid or unreachable URL results in job failure status","Insufficient USDC balance causes payment rejection and no job creation","Target website blocks scraping (e.g. bot detection, CAPTCHA) resulting in failed job status","Malformed request body returns 400 error","Payment processing failure returns 402 error"],"whenToPreferThis":"Use this endpoint when you need to programmatically scrape and extract content from a web page and are operating in a pay-per-use context using USDC micropayments. Prefer this over free scrapers when you need reliable, API-driven access with job tracking. Best for agents that need to fetch page content as part of a larger automated workflow and can poll for async results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:13.653Z","isFirstParty":false}