Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIShopify

    shopify.products

    A page of a Shopify store's catalogue, or of one of its collections: every product with its versions, prices and availability.

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

    Start it with POST /v1/scrapers/shopify.products/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 shopify.products
    FieldTypeDescription
    storerequiredstringThe shop's domain, or any address on it, e.g. allbirds.com.Limit: at least 4 characters, at most 2048 characters.
    collectionstringOnly the products of this collection: its handle (the name in /collections/<handle>) or its address. The whole catalogue when not given.Limit: at most 2048 characters.
    pageintegerThe page of the list, from 1.Limit: 1 to 100. Default: 1.
    limitintegerProducts a page, at most 250.Limit: 1 to 250. Default: 250.

    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 shopify.products
    FieldTypeNotes
    storestringThe shop's host name, as asked for.
    store_namestring or nullThe shop's name, as the shop states it.
    product_idstringShopify's id of the product.
    handlestringThe product's name in its address: /products/<handle>.
    urlstringThe product's address in the shop.
    titlestringThe product's name.
    brandstring or nullThe brand or maker the shop files the product under.
    product_typestring or nullThe kind of product, in the shop's own words; many shops leave it empty.
    tagsarray of stringThe shop's tags on the product.
    descriptionstring or nullThe product description, as text without markup.
    priceobject or nullThe lowest price among the product's versions.
    amount (in price)numberThe amount as the shop states it.
    currency (in price)string or nullThe shop's currency code, e.g. USD; null when the shop does not state one.
    price_maxobject or nullThe highest price among the product's versions; the same as price when all cost the same.
    amount (in price_max)numberThe amount as the shop states it.
    currency (in price_max)string or nullThe shop's currency code, e.g. USD; null when the shop does not state one.
    compare_at_priceobject or nullThe highest struck-through earlier price among the versions, when the shop sets one.
    amount (in compare_at_price)numberThe amount as the shop states it.
    currency (in compare_at_price)string or nullThe shop's currency code, e.g. USD; null when the shop does not state one.
    availableboolean or nullTrue when at least one version can be bought now; null when the shop does not say.
    optionsarray of objectThe options the product is offered in. A product sold as it is has none.
    name (in options[])stringWhat the option is, e.g. Size or Color.
    values (in options[])array of stringThe choices the product offers for it, in the shop's order.
    variantsarray of objectEvery version of the product, in the shop's order.
    variant_id (in variants[])stringShopify's id of this version of the product.
    title (in variants[])string or nullThe version's name, e.g. "9 / Black".
    sku (in variants[])string or nullThe shop's stock-keeping code, when it gives one.
    barcode (in variants[])string or nullThe barcode number (UPC, EAN), when the shop gives one. Only a single product's answer carries it.
    options (in variants[])object of string valuesThe version's choice for each option, e.g. {"Size": "9", "Color": "Black"}.
    price (in variants[])object or nullThe version's price.
    amount (in variants[].price)numberThe amount as the shop states it.
    currency (in variants[].price)string or nullThe shop's currency code, e.g. USD; null when the shop does not state one.
    compare_at_price (in variants[])object or nullThe higher earlier price the shop shows struck through, when it sets one.
    amount (in variants[].compare_at_price)numberThe amount as the shop states it.
    currency (in variants[].compare_at_price)string or nullThe shop's currency code, e.g. USD; null when the shop does not state one.
    available (in variants[])boolean or nullWhether the version can be bought now; null when the shop does not say.
    weight_grams (in variants[])integer or nullThe shipping weight in grams, when the shop states one above zero.
    requires_shipping (in variants[])boolean or nullFalse for a version that is not shipped, e.g. a gift card or a download.
    image (in variants[])string or nullThe address of the picture of this version, when it has one of its own.
    url (in variants[])stringThe product's address with this version chosen.
    imagesarray of stringThe addresses of the product's pictures, in the shop's order.
    published_atstring (date-time) or nullWhen the shop published the product.
    created_atstring (date-time) or nullWhen the product was created in the shop.
    updated_atstring (date-time) or nullWhen the product was last changed. A list of products carries it; a single product's answer does not.
    positioninteger or nullThe product's place in the whole list asked for, from 1: 251 is the first product of page 2. Null for a single product.
    pageinteger or nullThe page of the list the product was on. Null for a single product.
    fetched_atstring (date-time)When the shop 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/shopify.products/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"store":"allbirds.com","limit":5}}'
    
    # 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("shopify.products", {
        "store": "allbirds.com",
        "limit": 5,
    })
    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("shopify.products", { store: "allbirds.com", limit: 5 });
    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, "shopify.products", map[string]any{"store": "allbirds.com", "limit": 5})
    	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("shopify.products", Map.of("store", "allbirds.com", "limit", 5));
            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 shopify.products --input store=allbirds.com --input limit=5

    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": {
        "store": "allbirds.com",
        "limit": 5
      }
    }

    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": "shopify.products",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "store": "allbirds.com",
        "limit": 5
      },
      "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": [
        {
          "store": "allbirds.com",
          "store_name": "Allbirds",
          "product_id": "7215082405968",
          "handle": "womens-wool-runner-nz-shadow-blue-natural-white-sole",
          "url": "https://allbirds.com/products/womens-wool-runner-nz-shadow-blue-natural-white-sole",
          "title": "Women's Wool Runner NZ - Shadow Blue (Natural White Sole)",
          "brand": "Allbirds",
          "product_type": null,
          "tags": [
            "11/3/26 DROP",
            "allbirds::cfId => color-edf97af257c1e36d936a28375fac5f9c",
            "allbirds::hue => blue"
          ],
          "description": "Rethinking a classic isn’t easy, but breaking new ground rarely is. The Wool Runner NZ manages both, combining the original Wool Runner’s DNA with next-level comfort and more refined styling, while nodding to our New Zealand roots.",
          "price": {
            "amount": 120,
            "currency": "USD"
          },
          "price_max": {
            "amount": 120,
            "currency": "USD"
          },
          "compare_at_price": null,
          "available": true,
          "options": [
            {
              "name": "Size",
              "values": [
                "5"
              ]
            }
          ],
          "variants": [
            {
              "variant_id": "41314103427152",
              "title": "5",
              "sku": "A12799W050",
              "barcode": null,
              "options": {
                "Size": "5"
              },
              "price": {
                "amount": 120,
                "currency": "USD"
              },
              "compare_at_price": null,
              "available": true,
              "weight_grams": 1000,
              "requires_shipping": true,
              "image": null,
              "url": "https://allbirds.com/products/womens-wool-runner-nz-shadow-blue-natural-white-sole?variant=41314103427152"
            }
          ],
          "images": [
            "https://cdn.shopify.com/s/files/1/1104/4168/files/A12799W-SHADOWBLUE_SIDE_TRANSPARENT.png?v=1793835066",
            "https://cdn.shopify.com/s/files/1/1104/4168/files/A12799W-SHADOWBLUE_HEEL_TRANSPARENT.png?v=1793835066"
          ],
          "published_at": "2026-11-04T15:32:48-08:00",
          "created_at": "2025-08-27T09:16:36-07:00",
          "updated_at": "2026-11-18T14:52:38-08:00",
          "position": 2,
          "page": 1,
          "fetched_at": "2026-11-19T18:07:41.267607Z"
        }
      ],
      "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: tags: 5 items, the first 3 shown.

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