Skip to the content

Scraper API

Shopify

shopify.collectionsAvailable

Shopify store collections

A page of the store's collections: name, handle, description, number of products and picture.

Give it a Shopify store's domain.

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

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

POST/v1/scrapers/shopify.collections/runs

{
"input": {
"store": "www.deathwishcoffee.com"
}
}

sent, and answered

a record of the run13 fields

{
store: "www.deathwishcoffee.com"
collection_id: "265837412407"
handle: "accessories"
url: "https://www.deathwishcoffee.com/collections/accessories"
title: "Accessories"
description: null
products_count: 204
image: null
published_at: "2023-04-11T15:09:58-04:00"
… 4 more fields

ok1 unit a run

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

deathwishcoffee.com
The page Shopify store collections 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

Map a store's range
A Shopify store's collections with their name, description and number of products, to see how a shop organises what it sells.
Catch new collections
Read a store's collections on a schedule and spot the new ones by published_at, with how many products each holds.
Read a collection next
Take a collection's handle and pass it to the products scraper to read its products with their versions and prices.

What you send

A Shopify store's domain. These are its 3 inputs, as its schema has them.

storestring Required
The shop's domain, or any address on it, e.g. allbirds.com.
pageinteger Optional
The page of the list, from 1.Default 1
limitinteger Optional
Collections a page, at most 250.Default 250

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/shopify.collections/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"store":"www.deathwishcoffee.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("shopify.collections", {"store": "www.deathwishcoffee.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("shopify.collections", { store: "www.deathwishcoffee.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, "shopify.collections", map[string]any{"store": "www.deathwishcoffee.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("shopify.collections", Map.of("store", "www.deathwishcoffee.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 shopify.collections --input store=www.deathwishcoffee.com

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

What comes back

A page of the store's collections: name, handle, description, number of products and picture. A record has 13 fields. One we could not read is null, never an empty string or a zero.

A record shopify.collections returned
{
  "store": "www.deathwishcoffee.com",
  "collection_id": "265837412407",
  "handle": "accessories",
  "url": "https://www.deathwishcoffee.com/collections/accessories",
  "title": "Accessories",
  "description": null,
  "products_count": 204,
  "image": null,
  "published_at": "2023-04-11T15:09:58-04:00",
  "updated_at": "2026-11-18T14:47:41-05:00",
  "position": 2,
  "page": 1,
  "fetched_at": "2026-11-19T18:07:41.253275Z"
}

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

storestring
The shop's host name, as asked for.
collection_idstring
Shopify's id of the collection.
handlestring
The collection's name in its address: /collections/<handle>.
urlstring
The collection's address in the shop.
titlestring
The collection's name.
descriptionstring or null
The collection's description, as text without markup.
products_countinteger or null
How many products the collection holds.
imagestring or null
The address of the collection's picture, when it has one.
published_atdatetime or null
When the shop published the collection.
updated_atdatetime or null
When the collection was last changed.
positioninteger
The collection's place in the whole list, from 1.
pageinteger
The page of the list the collection was on.
fetched_atdatetime
When the shop was read, 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

  • One run reads one page of up to 250 collections.

The bounds its schema sets

page
1 to 100; 1 unless you say otherwise
limit
1 to 250; 250 unless you say otherwise

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

Questions

What does Shopify store collections return?

A page of the store's collections: name, handle, description, number of products and picture. A record has 13 fields, among them store, collection_id, handle, url, title and description. A value that could not be read is null, never an empty string or a zero.

What do I send?

A Shopify store's domain. The input store is required. Optional: page and limit.

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: page 1 to 100 (1 unless you say otherwise); limit 1 to 250 (250 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one page of up to 250 collections.

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 shopify.collections and the same input. It costs what the same API call costs.

Shopify

Any store built on Shopify, by its domain: its catalogue, one product, its collections.

  • Shopify store products

    shopify.products

    A Shopify store's domain, and optionally one of its collections. A page of the store's catalogue: each product with its versions, prices, availability, options, tags and images.

  • Shopify store product

    shopify.product

    A product's address in a Shopify store, or the store's domain and the product's handle. The product: every version with its price, availability, SKU and barcode, the description, options, tags and images.

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