Scrape Screenshot

The AutoScraper Screenshot API programmatically captures pixel-perfect snapshots of web pages, including dynamic content rendered by JavaScript, Single-Page Applications (SPAs), and login-protected areas. Designed for visual audits, compliance checks, and AI/ML training, it goes beyond basic screenshots by integrating with our Scraping Browser and Residential Proxies to bypass anti-bot systems and capture even the most elusive content.


Scrape content from a URL

This endpoint allows you to scrape markdown content from a given URL. You must provide a valid URL as a query parameter.

Required parameters

  • Name
    urls
    Type
    array
    Description

    The URLs from which the content will be scraped. For example: [https://www.example.com/]

  • Name
    quality
    Type
    number
    Description

    JPEG compression (1-100).

  • Name
    selector
    Type
    string
    Description

    CSS selector for element-specific capture.

  • Name
    proxy_premium
    Type
    boolean
    Description

    Use premium proxies to make the request harder to detect

  • Name
    proxy_country
    Type
    string
    Description

    Geolocation of the IP used to make the request. Only for Premium Proxies, ISO 3166 country codes.

  • Name
    output_format
    Type
    string
    Description

    Image format: png, jpeg, pdf. The default is png.

Request

POST
/v1/scraper/screenshot
curl -G https://api.autoscraper.pro/v1/scraper/screenshot \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
      "urls": [
        "https://www.example.com/"
      ],
      "proxy_premium": true,
      "proxy_country": ""
    }'

Response

{
  "url": "https://www.maginative.com/",
  "data": "BASE64 DATA"
}

Was this page helpful?

Previous
Article