# web.product

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

Product page, one of the Web scrapers.

| | |
| --- | --- |
| 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](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | The product page's address: http or https, on a public host name. Limit: at most 2048 characters. |
| `render` | boolean | no | How 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_s` | number | no | Seconds 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`.

| Field | Type | Notes |
| --- | --- | --- |
| `url` | string | The address that was asked for. |
| `final_url` | string | The address of the page that was read, after redirects. |
| `product_url` | string or null | The address the page gives for the product itself. |
| `name` | string or null | The product's name. |
| `brand` | string or null | The product's brand, or its manufacturer where no brand is declared. |
| `description` | string or null | The product's description as declared (the first 5000 characters). |
| `category` | string or null | The category the page puts the product in. |
| `price` | number or null | The product's price: the lowest price among its offers that can be bought, else the lowest among all of them. |
| `price_high` | number or null | The highest price among the product's offers, when they differ; null otherwise. |
| `list_price` | number or null | The list or struck-through price declared beside `price`. |
| `currency` | string or null | The currency of `price` as an ISO 4217 code, e.g. USD. |
| `availability` | string or null | Whether the product can be bought: `in_stock` when any offer is, else what its offers say (`out_of_stock`, `pre_order`, ...). |
| `condition` | string or null | The item's condition: `new`, `used`, `refurbished`, `damaged`. |
| `rating` | number or null | The average rating the page declares. |
| `rating_scale` | number or null | The best possible rating (e.g. 5); null when the page does not say. |
| `rating_count` | integer or null | How many ratings the average is of. |
| `review_count` | integer or null | How many reviews the product has. |
| `images` | array of string | The addresses of the product's images (the first 20). |
| `sku` | string or null | The shop's stock-keeping unit for the product. |
| `gtin` | string or null | The product's Global Trade Item Number (EAN, UPC or ISBN), digits only. |
| `mpn` | string or null | The manufacturer's part number. |
| `product_id` | string or null | The shop's identifier for the product or for its group of variants. |
| `offers` | array of object | The product's offers as declared (the first 100). |
| `offers[].name` | string or null | The name of the offer or of the variant it is for, e.g. `Ground / 1 lb`. |
| `offers[].sku` | string or null | The shop's stock-keeping unit for this offer. |
| `offers[].gtin` | string or null | The offer's Global Trade Item Number (EAN, UPC or ISBN), digits only. |
| `offers[].price` | number or null | The offer's price; for a declared range, its lowest price. |
| `offers[].price_high` | number or null | The highest price of a declared range; null for a single price. |
| `offers[].list_price` | number or null | The list or struck-through price the page declares beside the selling price. |
| `offers[].currency` | string or null | The price's currency as an ISO 4217 code, e.g. USD. |
| `offers[].availability` | string or null | Whether it can be bought: `in_stock`, `out_of_stock`, `pre_order`, `back_order` and the like. |
| `offers[].condition` | string or null | The item's condition: `new`, `used`, `refurbished`, `damaged`. |
| `offers[].url` | string or null | The address of this offer or variant. |
| `offer_count` | integer | How many offers the page declares for the product. |
| `sources` | array of "json_ld" \| "microdata" \| "open_graph" | Which of the page's structured data the record was read from. |
| `rendered` | boolean | True when the page was loaded in a browser before it was read. |
| `fetched_at` | string (date-time) | When the page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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"}}'
```

## 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](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Web scrapers](https://docs.enrichednow.com/results-and-statuses.md#web) are in their own section there.
