Capture synchronously
Capture a URL, HTML document, or Markdown input and return the generated PDF or image bytes in the same response.
Authorizations
Authenticate with a Snapsnip API key using Authorization: Bearer <api-key>.
Body
Capture configuration.
One isolated page-capture request.
Primary render output selection. format is the public JSON discriminator.
- PNG
- JPEG
- WebP
- AVIF
- PDF
Input document loaded into the isolated capture page.
- URL
- HTML
- Markdown
One page mutation or wait executed before rendering.
- Add style
- Hide selector
- Evaluate
- Click
- Hover
- Press key
- Wait
Capture-layer request blocking policy.
Optional conservative page cleanup performed before explicit actions.
Automatic JavaScript-dialog response.
- Dismiss
- Accept
- Accept with prompt
Browser environment configured before loading the source.
Metadata fields collected after page preparation.
Navigation behavior for one capture request.
Lightweight headless-browser masking policy.
None on the request inherits browser defaults. This does not guarantee
evasion of automation detection or anti-bot systems.
disabled, hide_headless Page area rendered by a capture.
- Viewport
- Full page
- Element
- Clip
1 <= x <= 90Response
Capture bytes.
The response is of type file.