# Shopify Public Products API

List products exposed by a Shopify store's public catalog to compare assortments, review availability and prepare product records for enrichment. Send the store address with page and limit in the JSON request body to retrieve product titles, vendor names, price strings and source URLs, checking the store currency before comparing prices and using additional requests to read later pages.

Documentation: https://openany.si/shopify/list-a-shopify-store-s-public-products/
API ID: 9441bdb2-ec10-4b39-8471-d2f2389f0f1b
Provider: treg
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.shopify.store.products
Page update time: 2026-12-04T06:27:46.363Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T06:27:46.363Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Shopify Public Products API

Send the store host or URL, including its market path where applicable, with page and limit to read public products.json. The response contains product rows with store-currency price strings, availability flags and variant counts, up to 250 products per page.

## What You Can Build with the Shopify Public Products API

- **Compare assortments**: Collect public titles, vendors and product types across comparable stores.
- **Monitor public availability**: Store timestamped snapshots and compare availability flags.
- **Prepare catalog enrichment**: Use product URLs, images and variant counts as inputs to your own catalog workflow.

Pass returned records to a downstream Agent for organization, comparison or reporting; additional data retrieval is a separate operation.

## Shopify Public Products API Returned Data Fields & Response Coverage

Only public products.json is covered. Disabled endpoints may return no rows; price and price\_max are store-currency strings without a currency code. No order or customer records are included.

| Field | Meaning |
| --- | --- |
| `rows[].title` | Public product title |
| `rows[].url` | Product source URL |
| `rows[].vendor` | Product vendor |
| `rows[].price` | Lowest variant price text without currency code |
| `rows[].available` | Whether any variant is available |
| `rows[].variants` | Variant count |

## Quick Start: Call the Shopify Public Products API via REST

1. Configure OPENANY\_API\_KEY securely in your local environment and select TREG.
2. The example reads one product from page one of allbirds.com; replace the store and choose your page size.
3. Check Selected price before running the command; execution sends a real request under the current contract.

```
curl --request POST \
  "https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.shopify.store.products" \
  --header "Authorization: Bearer ${OPENANY_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{"limit":1,"page":1,"store":"allbirds.com"}'
```

## Understanding Response Examples

| Example | Provenance and scope |
| --- | --- |
| Third-party reference · Testnet excerpt | Excerpt of a historical third-party testnet response, showing fields and structure. |

Use the documented request as a calling template; consult the [public API contract](https://openany.si/api/v1/agent-apis/9441bdb2-ec10-4b39-8471-d2f2389f0f1b) and the actual response for fields and status.

## Connect AI Agents via OpenAny MCP

Connect to https://mcp.openany.si, discover with search\_apis, then read the current contract and api\_version with get\_api. Use run\_api only after approval of inputs, price and call count; keep the key in secure client configuration.

**Agent prompt:** List up to twenty public products from my Shopify store URL on page one. Inspect the TREG contract and current cost, request execution approval, then return product links, titles, price strings, availability and variant counts, with currency included only when the source supplies it.

## Pricing & Billing Rules

- No subscription; check the selected implementation’s contract and Selected price for the current amount and unit.
- Browsing, preparing inputs and viewing examples do not execute the API; curl and run\_api do.
- Extra pages, retries and chained requests are separate executions; review their billing and spending limit first.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Shopify Public Products API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "limit": {
          "description": "default 50",
          "example": 20,
          "maximum": 250,
          "minimum": 1,
          "type": "integer"
        },
        "page": {
          "description": "default 1",
          "example": 1,
          "minimum": 1,
          "type": "integer"
        },
        "store": {
          "description": "",
          "example": "allbirds.com",
          "type": "string"
        }
      },
      "required": [
        "store"
      ],
      "type": "object",
      "description": "The products a Shopify store lists at its public /products.json, one row per product: title, handle, product URL, vendor, product type, the lowest and the highest variant price as the store's own text (no currency code: the store's default currency), whether any variant is in stock, the variant count, the first image, the tags, and the update time. `store` is the store's host (allbirds.com) or its URL, with a market path (www.x.com/en-ca) when the store has one; `limit` is products per page (up to 250); `page` picks a later page. A store with products.json off answers 404 or HTML: no rows.\nUsage limits: Public products.json only; disabled stores return no rows. Up to 250 products/page. Price strings lack a currency code. No orders or customer data.\nDraft retail price: USD 0.000150/successful call, equal to the TREG catalog rate; no markup."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "blocked": {
          "type": "array",
          "items": {}
        },
        "elapsed_ms": {
          "type": "integer"
        },
        "from_cache": {
          "type": "boolean"
        },
        "llm_calls": {
          "type": "integer"
        },
        "pages_fetched": {
          "type": "integer"
        },
        "partial": {
          "type": "boolean"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "recipe": {
      "type": "string"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "handle": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "price_max": {
            "type": "string"
          },
          "product_type": {
            "type": "string"
          },
          "tags": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "variants": {
            "type": "integer"
          },
          "vendor": {
            "type": "string"
          }
        }
      }
    },
    "usage": {
      "type": "object",
      "properties": {
        "boxes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cache": {
          "type": "string"
        },
        "engine": {
          "type": "string"
        },
        "lines": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "about": {
                "type": "string"
              },
              "boxes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cache": {
                "type": "string"
              },
              "call": {
                "type": "string"
              },
              "engine": {
                "type": "string"
              },
              "units": {
                "type": "integer"
              },
              "url": {
                "type": "string"
              }
            }
          }
        },
        "units": {
          "type": "integer"
        }
      }
    },
    "version": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Third-party reference · Testnet 2026-11-04: success (abridged)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/treg/call/crawl4ai.shopify.store.products' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "limit": 1,
  "page": 1,
  "store": "allbirds.com"
}'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Documented HTTP 200
```json
{
  "meta": {
    "blocked": [],
    "elapsed_ms": 590,
    "from_cache": false,
    "llm_calls": 0,
    "pages_fetched": 1,
    "partial": false,
    "warnings": [
      "module: shopify-products: allbirds.com · page 1 · 1 products"
    ]
  },
  "recipe": "shopify-products",
  "rows": [
    {
      "available": true,
      "handle": "womens-wool-cruiser-soft-eucalyptus-burnt-olive-sole",
      "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12859W-SOFTEUCALYPTUS_SIDE_TRANSPARENT.png?v=1793753768",
      "price": "120.00",
      "price_max": "120.00",
      "product_type": "",
      "tags": "11/3/26 DROP, allbirds::cfId => color-1a2553b2435c172242f89b919b2c44f4, allbirds::hue => green, allbirds::master => womens-wool-cruiser, DNAM BRANDS, Onsite @ WC 5.26.26",
      "title": "Women's Wool Cruiser - Soft Eucalyptus (Burnt Olive Sole)",
      "updated_at": "2026-11-03T22:46:15-08:00",
      "url": "https://allbirds.com/products/womens-wool-cruiser-soft-eucalyptus-burnt-olive-sole",
      "variants": 13,
      "vendor": "Allbirds"
    }
  ],
  "usage": {
    "boxes": [
      "gate",
      "crawl"
    ],
    "cache": "miss",
    "engine": "recipe",
    "lines": [
      {
        "about": "the call",
        "boxes": [
          "gate"
        ],
        "cache": "miss",
        "call": "recipes",
        "engine": "gate",
        "units": 1
      },
      {
        "cache": "miss",
        "call": "scrape",
        "engine": "fetch",
        "units": 1,
        "url": "https://allbirds.com/products.json?limit=1&page=1"
      }
    ],
    "units": 2
  },
  "version": 2
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Do I need Shopify admin access or a subscription?
The published route reads public products.json and does not require Shopify admin credentials. OpenAny uses an API key and per-call billing without a subscription.

### Why can a store return no products?
Its products.json endpoint may be disabled or respond with HTML or an error. Verify the store URL and public availability before treating an empty result as an empty catalog.

### Can I compare price strings across countries directly?
No. The returned strings do not include currency codes and use the store's default currency. Establish currency and market context before comparing values.

### How do I retrieve more products?
Use page and limit, with at most 250 products per page. Each additional page is another API execution governed by the current contract.

### Is available a per-variant inventory quantity?
No. It indicates whether any variant is available. The route does not establish stock quantities for each variant.

### Does this expose orders or customer information?
No. The documented scope is the public product catalog. Orders and customer information are outside this contract.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
