/v1/scrape
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | required | URL to scrape |
| formats | array | optional | Output formats (markdown, html, rawHtml, links, screenshot) |
| onlyMainContent | boolean | optional | Extract only main content |
| includeTags | array | optional | HTML tags to include |
| excludeTags | array | optional | HTML tags to exclude |
| waitFor | integer | optional | Wait time in ms |
/v1/crawl
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | required | Starting URL |
| limit | integer | optional | Maximum pages to crawl |
| maxDepth | integer | optional | Maximum crawl depth |
| includePaths | array | optional | URL patterns to include |
| excludePaths | array | optional | URL patterns to exclude |
/v1/crawl/{crawl_id}
| Param | Type | Required | Description |
|---|---|---|---|
| crawl_id | string | required | Crawl job ID |
/v1/map
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | required | Website URL |
| limit | integer | optional | Maximum URLs to return |