scrape_url
Scrape one or more URLs and return content as markdown, raw HTML, or XHR data. Credits: 1.5 per URLParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
urls | array | Yes | 1-5 URLs to scrape |
use_javascript | boolean | No | Render JavaScript before scraping (default: true) |
output | string | No | Output format: markdown (default), raw (HTML), or xhr |
geo | string | No | Geographic location for proxy routing |
locale | string | No | Locale code (e.g., en-gb) |
Request
Response
Notes
- Maximum 5 URLs per call
- Credits are charged per URL (e.g., 3 URLs = 4.5 credits)
- JavaScript rendering is enabled by default for dynamic pages
- Results are always fresh (not cached)