One call, several formats
snapshotOne call, several formats: rendered HTML content and a base64 screenshot (plus optional Markdown and accessibility tree), with the page's status and title. Price: $0.005 a call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The page to snapshot (https). Set url or html, not both. | |
| html | No | HTML to render instead of a URL. | |
| cookies | No | ||
| deliver | No | {store, name?}: keep the snapshot's screenshot in file storage | |
| formats | No | At least two of: content, screenshot, markdown, accessibilityTree (default content+screenshot) | |
| viewport | No | ||
| userAgent | No | ||
| addStyleTag | No | ||
| bestAttempt | No | ||
| gotoOptions | No | ||
| addScriptTag | No | ||
| authenticate | No | ||
| waitForTimeout | No | ||
| waitForSelector | No | ||
| emulateMediaType | No | ||
| screenshotOptions | No | Puppeteer screenshot options for the snapshot's screenshot format | |
| allowResourceTypes | No | ||
| allowRequestPattern | No | ||
| rejectResourceTypes | No | ||
| setExtraHTTPHeaders | No | ||
| rejectRequestPattern | No | ||
| setJavaScriptEnabled | No |