Web scraping API: scrape any web page to clean text or Markdown
scrapeWeb scraping API: fetch any public web page URL and get its main content as clean text or Markdown (headings, code blocks, tables and links kept), ready for an LLM, RAG or an agent's context; static HTML, Markdown or text pages, up to 100,000 characters. JavaScript-rendered pages: /extract/rendered. Empty pages, bot walls and errors are never charged. Use to read articles, docs and product pages at scale. Example: url=https://example.com. Price $0.002/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the page to scrape | |
| format | No | Returned representation: text (default), markdown, or both | |
| section | No | Optional exact visible HTML ID within the main content, 1-500 characters | |
| maxChars | No | Maximum characters of body text to return (500-100000, default 20000) |