> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vexqo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify products

> Extract prices, variants, availability and public product data from a Shopify product URL.

## Extract one product

`POST /shopify` reads a public Shopify product. It does not search ads. The default price is **2 credits per successful request**. Your account's active price is `credit_costs.shopify_product` in `GET /account`.

```bash theme={null}
curl --fail-with-body --request POST "https://api.vexqo.dev/shopify" \
  --header "X-API-Key: $VEXQO_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"url":"https://www.gymshark.com/products/gymshark-arrival-5-shorts-silhouette-grey-aw22"}'
```

Send a JSON body with one required `url` string. Use a public HTTP or HTTPS product URL with a `/products/{handle}` path. Include `?variant=123` to select a known variant. Unknown request fields are rejected.

## Read the response

The response has `product` and `credits_charged` fields. Successful metered responses also include `X-Credits-Used` and `X-Credits-Remaining` headers.

| Product field | What it contains |
| - | - |
| `id`, `handle`, `url`, `name`, `brand` | Product identity and canonical URL. |
| `description`, `type`, `tags`, `options` | Public description and product attributes. |
| `price`, `price_min`, `price_max`, `compare_at_price`, `currency` | Prices as decimal strings, with the observed currency when known. |
| `available` | Source-reported availability for the selected variant or product. |
| `variants` | Exposed IDs, SKUs, barcodes, prices, options, availability and other public variant fields. |
| `selected_variant_id`, `selected_variant_found` | Requested variant and whether it appeared in the extracted data. |
| `variants_complete` | Whether variant collection is known to be complete; `null` means unknown. |
| `images`, `media` | Public media URLs and media records. |
| `store` | Store name, domain and linked social profiles. |
| `raw_product` | Original public product data, before normalization. |
| `source` | Source URLs and `observed_at` timestamp. |

Review summaries and manufacturer part numbers are included when exposed by the page. Missing values remain unknown.

## Availability and inventory

`available` is not an inventory count. Inventory quantities appear only when the storefront publishes them; this route does not access private Shopify admin data. Store observations can vary by region, currency and collection time.

The public Shopify endpoint exposes at most 250 variants. At that limit, `variants_complete` is unknown. Gymshark's supported custom storefront also reports unknown completeness. An unrecognized selected variant is flagged instead of being treated as a verified SKU.

## Supported storefronts and failures

Standard Shopify product pages with readable public product data are supported. Gymshark's custom storefront has a dedicated fallback. Other custom storefronts may not expose supported data.

Invalid URLs, unsupported inputs and unreadable product data return `422`. Failed requests release their credit reservation and cost zero. See [credits and errors](https://docs.vexqo.dev/usage.md) for authentication, limits and retries.

To connect the product to Meta ads and other sellers, use [product research](https://docs.vexqo.dev/research.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.