Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIWeb

    web.product

    Read the product a shop page declares: name, brand, price, currency, availability, rating, images and identifiers.

    Id
    web.product
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/web.product/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of web.product
    FieldTypeDescription
    urlrequiredstringThe product page's address: http or https, on a public host name.Limit: at most 2048 characters.
    renderbooleanHow the page is read. Leave it out and the page is read as the server sent it, and loaded in a browser only when that is refused or the page builds its content with JavaScript. true: always in a browser. false: never.
    timeout_snumberSeconds for reading the page.Limit: 5 to 60. Default: 30.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of web.product
    FieldTypeNotes
    urlstringThe address that was asked for.
    final_urlstringThe address of the page that was read, after redirects.
    product_urlstring or nullThe address the page gives for the product itself.
    namestring or nullThe product's name.
    brandstring or nullThe product's brand, or its manufacturer where no brand is declared.
    descriptionstring or nullThe product's description as declared (the first 5000 characters).
    categorystring or nullThe category the page puts the product in.
    pricenumber or nullThe product's price: the lowest price among its offers that can be bought, else the lowest among all of them.
    price_highnumber or nullThe highest price among the product's offers, when they differ; null otherwise.
    list_pricenumber or nullThe list or struck-through price declared beside price.
    currencystring or nullThe currency of price as an ISO 4217 code, e.g. USD.
    availabilitystring or nullWhether the product can be bought: in_stock when any offer is, else what its offers say (out_of_stock, pre_order, ...).
    conditionstring or nullThe item's condition: new, used, refurbished, damaged.
    ratingnumber or nullThe average rating the page declares.
    rating_scalenumber or nullThe best possible rating (e.g. 5); null when the page does not say.
    rating_countinteger or nullHow many ratings the average is of.
    review_countinteger or nullHow many reviews the product has.
    imagesarray of stringThe addresses of the product's images (the first 20).
    skustring or nullThe shop's stock-keeping unit for the product.
    gtinstring or nullThe product's Global Trade Item Number (EAN, UPC or ISBN), digits only.
    mpnstring or nullThe manufacturer's part number.
    product_idstring or nullThe shop's identifier for the product or for its group of variants.
    offersarray of objectThe product's offers as declared (the first 100).
    name (in offers[])string or nullThe name of the offer or of the variant it is for, e.g. Ground / 1 lb.
    sku (in offers[])string or nullThe shop's stock-keeping unit for this offer.
    gtin (in offers[])string or nullThe offer's Global Trade Item Number (EAN, UPC or ISBN), digits only.
    price (in offers[])number or nullThe offer's price; for a declared range, its lowest price.
    price_high (in offers[])number or nullThe highest price of a declared range; null for a single price.
    list_price (in offers[])number or nullThe list or struck-through price the page declares beside the selling price.
    currency (in offers[])string or nullThe price's currency as an ISO 4217 code, e.g. USD.
    availability (in offers[])string or nullWhether it can be bought: in_stock, out_of_stock, pre_order, back_order and the like.
    condition (in offers[])string or nullThe item's condition: new, used, refurbished, damaged.
    url (in offers[])string or nullThe address of this offer or variant.
    offer_countintegerHow many offers the page declares for the product.
    sourcesarray of "json_ld" | "microdata" | "open_graph"Which of the page's structured data the record was read from.
    renderedbooleanTrue when the page was loaded in a browser before it was read.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/web.product/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"url":"https://www.deathwishcoffee.com/products/death-wish-coffee"}}'
    
    # 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.product", {
        "url": "https://www.deathwishcoffee.com/products/death-wish-coffee",
    })
    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.product", {
      url: "https://www.deathwishcoffee.com/products/death-wish-coffee",
    });
    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.product", map[string]any{"url": "https://www.deathwishcoffee.com/products/death-wish-coffee"})
    	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.product", Map.of("url", "https://www.deathwishcoffee.com/products/death-wish-coffee"));
            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.product --input url=https://www.deathwishcoffee.com/products/death-wish-coffee

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

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "url": "https://www.deathwishcoffee.com/products/death-wish-coffee"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "web.product",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "url": "https://www.deathwishcoffee.com/products/death-wish-coffee"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "url": "https://www.deathwishcoffee.com/products/death-wish-coffee",
          "final_url": "https://www.deathwishcoffee.com/products/death-wish-coffee",
          "product_url": "https://www.deathwishcoffee.com/products/death-wish-coffee",
          "name": "Dark Roast Coffee",
          "brand": "Death Wish Coffee Company",
          "description": "DARKER ROAST FOR BOLDER DAYS. Meet the yin to your yang. While you grit your teeth through the daily grind, know this bold and delicious dark roast brew will have your back all day long. Certified Fair Trade and Organic, our balanced blend … [truncated]",
          "category": null,
          "price": 19.99,
          "price_high": 84.99,
          "list_price": null,
          "currency": "USD",
          "availability": "in_stock",
          "condition": null,
          "rating": null,
          "rating_scale": null,
          "rating_count": null,
          "review_count": null,
          "images": [
            "https://www.deathwishcoffee.com/cdn/shop/files/Dark_Roast_16oz_Ground_Angle_DTC_A4_2.jpg?v=1726752263&width=1920"
          ],
          "sku": "50251G",
          "gtin": null,
          "mpn": null,
          "product_id": null,
          "offers": [
            {
              "name": "Ground / 1 lb",
              "sku": "50251G",
              "gtin": "851552005025",
              "price": 19.99,
              "price_high": null,
              "list_price": null,
              "currency": "USD",
              "availability": "in_stock",
              "condition": null,
              "url": "https://www.deathwishcoffee.com/products/death-wish-coffee?variant=2413985169421"
            },
            {
              "name": "Ground / 2 lbs",
              "sku": "50252GK",
              "gtin": "851552005025",
              "price": 39.98,
              "price_high": null,
              "list_price": null,
              "currency": "USD",
              "availability": "in_stock",
              "condition": null,
              "url": "https://www.deathwishcoffee.com/products/death-wish-coffee?variant=3436627623949"
            }
          ],
          "offer_count": 8,
          "sources": [
            "json_ld"
          ],
          "rendered": false,
          "fetched_at": "2026-11-24T18:00:35.566213Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: description: 1,029 characters, the first 239 shown.
    • Shortened: offers: 8 items, the first 2 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Web scrapers are in their own section there.