# Shopify Store Scraper API

> Any Shopify store as JSON: products, prices, discounts, variants, SKUs, stock and collections.

Send a **store URL**, get its **catalogue**: products with **prices, compare-at prices and discounts**, every **variant with SKU and stock status**, images, tags and descriptions. Ask one **product page** for its **real stock and barcodes** when the store makes them public. Straight from Shopify's public storefront data: no AI, fast answers.

- Host: `shopify-store-scraper-products-prices-stock.p.rapidapi.com`
- Base URL: `https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/shopify/openapi.json

## Endpoints

### Store

Store name, currency, country and catalogue size.

#### Get Store Details

`GET /v1/shopify/store`

Shopify store details. Name, description, currency, country and city, myshopify domain, and the number of published products and collections. Also tells you whether a site is a Shopify store (400 not_shopify otherwise). 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `url` | query | `string` | yes | Shopify store (any URL of it, or its domain). | `https://www.allbirds.com` |

```bash
curl -G "https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify/store" \
  --data-urlencode "url=https://www.allbirds.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: shopify-store-scraper-products-prices-stock.p.rapidapi.com"
```

### Products

Catalogue pages, and single products with real stock.

#### Get Products

`GET /v1/shopify/products`

Products of a Shopify store, with prices, variants and stock status. Up to 250 products per call: title, vendor, type, tags, description, prices (min, max, compare-at, discount), availability, images, options and every variant with SKU, price and stock status. Page through with `page` while `has_more` is true. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `url` | query | `string` | yes | Shopify store (any URL of it, or its domain). | `https://www.allbirds.com` |
| `page` | query | `integer` | no | Page number. Default `1`. |  |
| `limit` | query | `integer` | no | Products per page (250 max). Default `250`. | `10` |
| `collection` | query | `string` | no | Collection handle, e.g. 'mens' (see /collections). | `mens` |

```bash
curl -G "https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify/products" \
  --data-urlencode "url=https://www.allbirds.com" \
  --data-urlencode "limit=10" \
  --data-urlencode "collection=mens" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: shopify-store-scraper-products-prices-stock.p.rapidapi.com"
```

#### Get Product with Stock

`GET /v1/shopify/product`

One product, with real stock and barcodes when the store exposes them. Everything /products gives for one product, plus each variant's real inventory quantity and barcode (GTIN/EAN/UPC) when the store makes them public. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `url` | query | `string` | yes | Product page URL (…/products/<handle>). | `https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey` |

```bash
curl -G "https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify/product" \
  --data-urlencode "url=https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: shopify-store-scraper-products-prices-stock.p.rapidapi.com"
```

### Collections

Store collections with their product counts.

#### Get Collections

`GET /v1/shopify/collections`

Collections of a Shopify store. Title, handle, URL, description, product count and image of every published collection. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `url` | query | `string` | yes | Shopify store (any URL of it, or its domain). | `https://www.allbirds.com` |
| `page` | query | `integer` | no | Page number (250 per page). Default `1`. |  |

```bash
curl -G "https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify/collections" \
  --data-urlencode "url=https://www.allbirds.com" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: shopify-store-scraper-products-prices-stock.p.rapidapi.com"
```

## Sample call

Get Product with Stock: `GET /v1/shopify/product`.

```bash
curl -G "https://shopify-store-scraper-products-prices-stock.p.rapidapi.com/v1/shopify/product" \
  --data-urlencode "url=https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: shopify-store-scraper-products-prices-stock.p.rapidapi.com"
```

## Response (/product)

```json
{
  "id": 7205196070992,
  "title": "Women's Runner NZ Slip On - Light Grey (Light Grey Sole)",
  "handle": "womens-runner-nz-slip-on-light-grey",
  "url": "https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey",
  "vendor": "Allbirds",
  "product_type": "Shoes",
  "currency": "USD",
  "price_min": 73.5,
  "price_max": 73.5,
  "compare_at_price_max": 105.0,
  "on_sale": true,
  "discount_percent": 30,
  "available": true,
  "total_inventory": 241,
  "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12558_26Q1_Runner-NZ-Slip-On-Light-Grey-Light-Grey_PDP_LEFT_...png",
  "options": [{ "name": "Size", "values": ["5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10", "10.5", "11"] }],
  "variants": [
    {
      "id": 41271201988688,
      "title": "5",
      "sku": "A12558W050",
      "barcode": "196942298909",
      "price": 73.5,
      "compare_at_price": 105.0,
      "available": true,
      "inventory_quantity": 15,
      "options": { "Size": "5" }
    }
  ]
}
```

*A real response (20 Nov 2026), shortened: 1 of 13 variants; tags, description, images and dates omitted.* `/products` returns the same product objects (without `inventory_quantity` and `barcode`), inside `{ "store", "page", "limit", "count", "has_more", "products": [...] }`.

## How it works

Shopify storefronts publish their catalogue as JSON (`/products.json`, `/collections.json`, `/meta.json`, `/products/{handle}.js`). The API reads it, always in the store's own currency, and returns one normalised shape: numbers as numbers, HTML descriptions as plain text, options mapped to names, discounts computed.

## Errors

| Status | `code` | Meaning |
|---|---|---|
| 400 | `invalid_url`, `invalid_request` | Fix the input (`/product` needs a `/products/{handle}` URL). |
| 400 | `not_shopify` | Not a Shopify store, or a headless storefront that hides Shopify's data. |
| 400 | `site_blocked`, `site_unreachable` | The store refused automated access or is down. |
| 404 | `product_not_found` | The store has no product at this URL (removed or renamed). |
| 429 | `daily_limit_reached` | Daily safety limit of your plan; resets at 00:00 UTC. |

## Pricing

1 credit per call. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $3.99/month | 25,000 / month | $0.002 per credit |
| ULTRA | $9.99/month | 100,000 / month | $0.002 per credit |
| MEGA | $29.99/month | 300,000 / month | $0.002 per credit |

Apify actor **Shopify Store Scraper - Products, Prices & Stock**: billed per event; free-plan users get 100 products per run.

| Event | Charged for | Price |
|---|---|---|
| `product` | each product returned | $0.0008 |
| `inventory-check` | each real-stock lookup | $0.0008 |

## Links

- API reference (HTML): https://helenis-api.com/docs/shopify
- OpenAPI: https://helenis-api.com/docs/shopify/openapi.json
- Overview and pricing: https://helenis-api.com/apis/shopify/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-data/api/shopify-store-scraper-products-prices-stock?utm_source=helenis&utm_medium=site&utm_campaign=shopify&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/shopify-store-scraper-products-prices-stock?utm_source=helenis&utm_medium=site&utm_campaign=shopify&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/shopify-store-scraper-products-prices-stock

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
