Skip to the content

Scraper API

Web

web.fetchAvailable

Web page

The status, headers and body its server sent.

Give it the address of a public web page.

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

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

POST/v1/scrapers/web.fetch/runs

{
"input": {
"url": "https://docs.widgetlib.org/en/stable/quickstart.html"
}
}

sent, and answered

a record of the run12 fields

{
url: "https://docs.widgetlib.org/en/stable/quickstart.html"
final_url: "https://docs.widgetlib.org/en/stable/quickstart.html"
status: 200
headers: { "content-type": "text/html; charset=utf-8" }
content_type: "text/html"
charset: "utf-8"
body: "<!DOCTYPE html>\n<html class=\"writer-html5\" lang=\"en\">\n<head>\n …
body_encoding: "text"
bytes: 3848
… 3 more fields

ok1 unit a run

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

docs.python.org
The page Web page 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

Get a page as it was sent
Fetch a public address and get the status, the headers, the redirects followed and the body, byte for byte, without running a fetcher of your own.
Check your own pages
Read the status and the headers of a list of addresses on a schedule, and see which redirect, which changed and which stopped answering.
Feed your own parser
Keep your extraction code and hand the fetching to the API. The body is the server's own answer, with its content_type and charset stated.

What you send

The address of a public web page. These are its 6 inputs, as its schema has them.

urlstring Required
The page's address: http or https, on a public host name.
methodstring Optional
GET is the only method.Default GET
headersobject Optional
A few request headers, such as Accept-Language or User-Agent. No cookie and no Authorization header.
follow_redirectsboolean Optional
Follow up to 5 redirects. Send false to get the redirect itself.Default true
timeout_snumber Optional
Seconds for the whole fetch. 30 unless you say otherwise; up to 120.Default 30
max_bytesinteger Optional
The body is cut after this many bytes. 2,000,000 (2 MB) unless you say otherwise.Default 2000000

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.fetch/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://docs.widgetlib.org/en/stable/quickstart.html"}}'

# 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.fetch", {
    "url": "https://docs.widgetlib.org/en/stable/quickstart.html",
})
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.fetch", {
  url: "https://docs.widgetlib.org/en/stable/quickstart.html",
});
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.fetch", map[string]any{"url": "https://docs.widgetlib.org/en/stable/quickstart.html"})
	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.fetch", Map.of("url", "https://docs.widgetlib.org/en/stable/quickstart.html"));
        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.fetch --input url=https://docs.widgetlib.org/en/stable/quickstart.html

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

What comes back

The status, headers and body its server sent. A record has 12 fields. One we could not read is null, never an empty string or a zero.

A record web.fetch returned
{
  "url": "https://docs.widgetlib.org/en/stable/quickstart.html",
  "final_url": "https://docs.widgetlib.org/en/stable/quickstart.html",
  "status": 200,
  "headers": {
    "content-type": "text/html; charset=utf-8"
  },
  "content_type": "text/html",
  "charset": "utf-8",
  "body": "<!DOCTYPE html>\n<html class=\"writer-html5\" lang=\"en\">\n<head>\n  <meta charset=\"utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n  <title>Quickstart &mdash; widgetlib 2.4 documentation</title>\n  <base … [truncated]",
  "body_encoding": "text",
  "bytes": 3848,
  "truncated": false,
  "redirects": [],
  "fetched_at": "2026-11-19T18:07:42.604327Z"
}

The scraper returned this record for the input above, reading a page built for its tests, not the live site.

Values shortened for this page: body: 3,846 characters, the first 229 shown.

The fields of a record

urlstring
The address that was asked for.
final_urlstring
The address that answered, after redirects.
statusinteger
The HTTP status of the answer (a 404 or 500 is still the page).
headersobject
The response headers that describe the page, names in lower case.
content_typestring or null
The media type, without parameters, e.g. text/html.
charsetstring or null
The charset the text was decoded with; null for a base64 body.
bodystring
The body: text, or base64 when body_encoding says so.
body_encodingstring
base64 for a body that is not text (an image, a PDF).
bytesinteger
The size of the returned body in bytes, before text decoding or base64.
truncatedboolean
True when the server sent more than max_bytes and the body was cut.
redirectslist of strings
The addresses the redirects led to, in order.
fetched_atdatetime
When the answer was received, 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

  • GET only: no request body, no cookies, no login.
  • No JavaScript is run. A page that builds its content in the browser comes back as the shell it starts from.
  • The body is cut at 2 MB unless you ask for another limit, and the record's truncated field says when it was.
  • A site that refuses the request, with a 403, a 429 or a CAPTCHA, ends the run as failed, with the reason blocked, rate_limited or captcha. It costs nothing.

The bounds its schema sets

timeout_s
1 to 120; 30 unless you say otherwise
max_bytes
1 to 10,000,000; 2,000,000 unless you say otherwise

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

Questions

What does Web page return?

The status, headers and body its server sent. A record has 12 fields, among them url, final_url, status, headers, content_type and charset. 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. The input url is required. Optional: method, headers, follow_redirects, timeout_s and max_bytes.

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: timeout_s 1 to 120 (30 unless you say otherwise); max_bytes 1 to 10,000,000 (2000000 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

GET only: no request body, no cookies, no login. No JavaScript is run. A page that builds its content in the browser comes back as the shell it starts from. The body is cut at 2 MB unless you ask for another limit, and the record's truncated field says when it was. A site that refuses the request, with a 403, a 429 or a CAPTCHA, ends the run as failed, with the reason blocked, rate_limited or captcha. It 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.fetch and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs Web page as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Marketing

    Broken Link Prospects

    Resource pages on your topic that link to pages or sites that are gone, each with the dead link and the site's email.

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.

  • 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.

  • Web page screenshot

    web.screenshot

    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. A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.

  • 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.

Used with other scrapers for:Web data for AI agents