DocumentationAPI DetailsScrape URLRecord Video

Record Video

Record a video of the entire browser session - from initial page load through all browser commands and captcha solving to the final rendered page. The recording is saved as a WEBM video file.

Set includeVideo to true to enable this feature. The resulting WEBM file is stored temporarily and a download URL is provided in the response. Video recording requires a real browser - if useBrowser is not set, it will be enabled automatically.

Each video recording costs an additional 3 credits. See Credit Usage for details.

When To Use This

  • Debugging browser commands - Watch exactly what happens during command execution to identify issues with selectors, timing, or page behavior.
  • Audit and compliance - Record evidence of browser interactions for regulatory or internal audit requirements.
  • Workflow verification - Verify that multi-step scraping workflows (form submissions, navigation, pagination) execute as expected.
  • Client deliverables - Provide visual proof of automated processes to clients or stakeholders.
  • Troubleshooting failures - Review what happened when a scrape fails or returns unexpected content.

Response Data

The video download URL appears in the JSON response:

{
  "videoUrl": "https://scrapi.blob.core.windows.net/[API-KEY]/[FILE].webm"
}

When using HTML or Markdown format, the URL is returned in the X-ScrAPI-VideoUrl header instead.

Video files are stored temporarily. Download them promptly after the response.

Example Request

GET https://api.scrapi.tech/v1/scrape?url=https://deventerprise.com&useBrowser=true&includeVideo=true

POST https://api.scrapi.tech/v1/scrape

{
  "url": "https://deventerprise.com",
  "useBrowser": true,
  "includeVideo": true
}
  • Screenshot - Capture the final page state as a PNG image (lighter weight than video).
  • PDF Generation - Generate a PDF document of the final page.
  • Browser Commands - The video records all browser command execution for review.
  • Real Browser - Required for video recording (enabled automatically).
  • Credit Usage - Video recording costs 3 additional credits per request.

Testing

Test this request in the Playground or view the OpenAPI specification.