{"uid":"cap_8HRJ-59mWHhVU-_LklTZ1","slug":"codepulse-api-web-scrape-f26567a5","name":"CodePulse API - Web Scrape","description":"Extracts clean readable text from any website URL.","url":"https://codepulse-api.hahavoid0.workers.dev/web/scrape","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Website URL to scrape"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"text":"Example Domain\nThis domain is for use in illustrative examples..."},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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_lP5QZq58FKa5tCmCZ22B2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes a webpage and returns its text content as plain text, with confidence scoring and warnings","exampleAgentPrompt":"Can you scrape the text content from https://example.com and tell me what it says?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the full extracted text content of the page, a list of warnings (if any), a supported flag indicating whether scraping succeeded, a confidence level (e.g. 'high'), and a data_as_of timestamp.","failureModes":["URL is unreachable or returns a non-200 status — supported may be false","Page is JavaScript-heavy and content cannot be statically extracted — low confidence returned","Invalid or malformed URL provided — error or empty result","Payment not fulfilled via x402 — request rejected before scraping"],"whenToPreferThis":"Use this endpoint when you need to extract the plain text content of a public webpage quickly and cheaply ($0.03 USDC per call) without managing a browser or API keys. Ideal for AI agents that need to read web content on demand. Prefer this over alternatives when you want pay-per-call pricing with no subscription, and when plain text extraction (not structured data) is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:50.150Z","isFirstParty":false}