Scrapingdog

Screenshot API

The Screenshot API lets you capture screenshots of any webpage by sending a simple GET request. Control the viewport size, output format, image quality, and when the browser considers the page fully loaded. Each successful request costs 5 credits.

Endpoint: https://api.scrapingdog.com/screenshot

API Parameters

πŸ”‘

Scrapingdog Parameters

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
πŸ”

Query Parameters

  • url Required
    The URL of the page for which you want to take a screenshot.

    Type: String
πŸ“„

Full Page

  • fullPage Optional
    Boolean that tells the server to take a full-page screenshot or just the visible portion without scrolling.

    Type: Boolean
πŸ“

Viewport

  • width Optional
    The width of the browser viewport in pixels.

    Type: String
  • height Optional
    The height of the browser viewport in pixels.

    Type: String
⏳

Wait Until

  • wait_until Optional
    Determines when navigation is considered complete before taking a screenshot.

    Default Value - domcontentloaded

    Options: load, domcontentloaded, networkidle

    Type: String
πŸ–Ό

️ Format

  • format Optional
    Screenshot format option. Available: png, jpg, webp.

    Default Value - png

    Type: String
  • quality Optional
    Image quality setting (0-100 range).

    Default Value - 80

    Type: String

API Examples

API result preview
Code to Integrate
curl "https://api.scrapingdog.com/screenshot?api_key=APIKEY&url=https://www.scrapingdog.com" --output screenshot.png