Skip to the content

Scraper API

Web

web.screenshotAvailable

Web page screenshot

A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.

Give it the address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
12, 1 required
Record
20 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/web.screenshot/runs

{
"input": {
"url": "https://example.com/"
}
}

sent, and answered

a record of the run20 fields

{
url: "https://example.com/"
final_url: "https://example.com/"
status: 200
image_url: null
image_url_expires_at: null
format: "png"
content_type: "image/png"
width: 1366
height: 768
… 11 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 20 fields are set down here; the whole record is below.

en.wikipedia.org
The page Web page screenshot reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Keep a visual record of a page
Take a picture of a page on a schedule and keep the files: a dated record of what a price list, a landing page or a notice looked like.
Check a page on a phone
Choose device mobile or tablet and see the page in that window, without a device lab, to catch the layout that breaks on a small screen.
Spot changes without reading HTML
Compare sha256 between runs to know at once whether a page looks different, and download image_url only when it does.

What you send

The address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. These are its 12 inputs, as its schema has them.

urlstring Required
The page's address: http or https, on a public host name.
formatstring Optional
The image format. JPEG is several times smaller for a page with photographs.Default png
qualityinteger Optional
For JPEG: 1 (smallest) to 100 (best).Default 80
full_pageboolean Optional
False: the window only. True: the whole page, top to bottom.Default false
selectorstring Optional
A CSS selector: the picture is of the first element it matches instead of the window, e.g. #pricing.
devicestring Optional
The device the page is shown on: desktop (1366 by 768), desktop_large (1920 by 1080), tablet (820 by 1180) or mobile (390 by 844). A tablet and a phone have a touch screen, a mobile browser's name and two image pixels per page pixel.Default desktop
viewport_widthinteger Optional
The window's width in pixels, in place of the device's.
viewport_heightinteger Optional
The window's height in pixels, in place of the device's.
wait_untilstring Optional
What to wait for before the picture is taken: domcontentloaded (the document is parsed), load (its resources too), or networkidle (no request for half a second).Default load
wait_for_selectorstring Optional
A CSS selector that must be in the page before the picture is taken, e.g. img.hero.
wait_msinteger Optional
Milliseconds to wait after the other conditions.Default 0
timeout_snumber Optional
Seconds for loading the page and taking the picture.Default 30

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/web.screenshot/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://example.com/"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("web.screenshot", {"url": "https://example.com/"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("web.screenshot", { url: "https://example.com/" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "web.screenshot", map[string]any{"url": "https://example.com/"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("web.screenshot", Map.of("url", "https://example.com/"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run web.screenshot --input url=https://example.com/

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum. A record has 20 fields. One we could not read is null, never an empty string or a zero.

A record web.screenshot returned
{
  "url": "https://example.com/",
  "final_url": "https://example.com/",
  "status": 200,
  "image_url": null,
  "image_url_expires_at": null,
  "format": "png",
  "content_type": "image/png",
  "width": 1366,
  "height": 768,
  "bytes": 73213,
  "sha256": "4cc3b61f1186174f6ec7085cca0ab96bb2382cbecf37caf33c5bafd29b5393f8",
  "full_page": false,
  "selector": null,
  "device": "desktop",
  "viewport_width": 1366,
  "viewport_height": 768,
  "truncated": false,
  "wait_satisfied": true,
  "render_ms": 480,
  "fetched_at": "2026-11-19T18:07:42.616469Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

urlstring
The address that was asked for.
final_urlstring
The address of the page in the picture, after redirects.
statusinteger
The HTTP status of the page's own document (a 404 page is still a page, and is in the picture).
image_urlstring or null
Where the image is downloaded from. The address works by itself until image_url_expires_at; after that, send your API key with it. The file is kept as long as the run's records.
image_url_expires_atdatetime or null
Until when image_url works without an API key, in UTC.
formatstring
The image's format.
content_typestring
The image's media type: image/png or image/jpeg.
widthinteger
The image's width in pixels.
heightinteger
The image's height in pixels.
bytesinteger
The image file's size in bytes.
sha256string
The SHA-256 of the image file, in hexadecimal.
full_pageboolean
True when the whole page was asked for, not the window only.
selectorstring or null
The CSS selector of the element in the picture; null for the window or the page.
devicestring
The device the page was shown on.
viewport_widthinteger
The window's width in page pixels.
viewport_heightinteger
The window's height in page pixels.
truncatedboolean
True when the page was taller than a picture may be and the picture ends before the page does.
wait_satisfiedboolean
False when the wait condition did not come true in time; the picture is of the page as it stood.
render_msinteger
Milliseconds loading the page and taking the picture took.
fetched_atdatetime
When the picture was taken, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • A whole page is taken down to 16,000 pixels. A taller page is cut there and the record's truncated field says so.
  • A cookie notice the site shows is in the picture: nothing is clicked.
  • A page that answers with a CAPTCHA, or an element that is not on the page, ends the run as failed and costs nothing.

The bounds its schema sets

format
png, jpeg; png unless you say otherwise
quality
1 to 100; 80 unless you say otherwise
device
desktop, desktop_large, tablet, mobile; desktop unless you say otherwise
viewport_width
320 to 2,560
viewport_height
240 to 2,160
wait_until
load, domcontentloaded, networkidle; load unless you say otherwise
wait_ms
0 to 10,000; 0 unless you say otherwise
timeout_s
5 to 60; 30 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Web page screenshot return?

A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum. A record has 20 fields, among them url, final_url, status, image_url, image_url_expires_at and format. A value that could not be read is null, never an empty string or a zero.

What do I send?

The address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. The input url is required. Optional: format, quality, full_page, selector, device, viewport_width, viewport_height, wait_until, wait_for_selector, wait_ms and timeout_s.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: format png, jpeg (png unless you say otherwise); quality 1 to 100 (80 unless you say otherwise); device desktop, desktop_large, tablet, mobile (desktop unless you say otherwise); viewport_width 320 to 2,560; viewport_height 240 to 2,160; wait_until load, domcontentloaded, networkidle (load unless you say otherwise); wait_ms 0 to 10,000 (0 unless you say otherwise); timeout_s 5 to 60 (30 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

A whole page is taken down to 16,000 pixels. A taller page is cut there and the record's truncated field says so. A cookie notice the site shows is in the picture: nothing is clicked. A page that answers with a CAPTCHA, or an element that is not on the page, ends the run as failed and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id web.screenshot and the same input. It costs what the same API call costs.

Web

Public web pages: as the server sends them, after their scripts ran, as Markdown or as a picture, and what is in them. A domain's registration and its DNS records.

  • Web page

    web.fetch

    The address of a public web page. The status, headers and body its server sent.

  • The address of a public web page. The page as clean Markdown, with its title, description, links and metadata.

  • PDF document

    web.document

    The address of a public PDF, how many of its pages to read (up to 500), and whether to read scanned pages with OCR. Each page's text in reading order, the whole document as Markdown, its tables as rows and columns with their page, and its title, author and dates.

  • The address of an RSS, Atom or JSON feed. Each entry of the feed: its title, link, summary and content as plain text, author, categories, dates, image and attached files.

  • Sitemap

    web.sitemap

    A sitemap's address, or a website's address to find its sitemap from robots.txt. Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states.

  • The address of a public web page that builds its content with JavaScript. The page's HTML after a browser has loaded it and run its scripts.

  • The address of a public web page, and your own CSS or XPath rules, each with a name. One record with what each rule selected, under its name: text, an attribute, HTML, a list, or an object of fields.

  • The address of a public news or blog article. Its title, authors, dates, section and tags, the body as text and as Markdown, the lead image, the site and the language.

  • The address of a public web page. The technologies it reveals, each with its category, version where shown, and the evidence it was recognised by.

  • Product page

    web.product

    The address of a product's page in any online shop. The product the page declares: name, brand, description, category, price and price range, list price, currency, availability, condition, rating and reviews, images, SKU, GTIN and part number, and each offer or variant.

  • The address of a public web page, a phone or a desktop, and how many times to load it (one to three). Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript".

  • A domain name. Its registrar, creation, update and expiry dates, statuses, name servers, DNSSEC, and the registrant where the registry publishes one.

  • A host name. Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV.

  • Website contacts

    web.contacts

    A company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.

  • A start page on a public website. The site's pages as clean Markdown, one record for each page.

Web on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.