# Scrapling x402 E-commerce Product Price & Stock Lookup

> Scrapling x402 E-commerce Product Price & Stock Lookup is a paid API for AI agents from scraplingdata.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-25).

Search 180+ public Shopify brand stores by product name or SKU to get current price, stock status, discount, and 30-day price/stock history for matching variants

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/ecom/product?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapling-x402-e-commerce-product-price-stock-lookup-6368affa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zsyJJJ9PffwezuKPCLhXH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapling-x402-e-commerce-product-price-stock-lookup-6368affa
```

Example prompt: Can you check the current price and stock status for 'Athletic Greens AG1' across all the brand stores you index, and show me the 30-day price low so I can see if it's worth buying now?

## When to prefer this

Use this endpoint when you need current price, stock, or price-history data for consumer products sold by brand-direct Shopify stores (apparel, beauty, supplements, home, outdoor, jewelry, pets, toys, electronics accessories). It covers 180+ curated brand stores with daily refresh and 30-day history — ideal for price comparison, deal detection, and stock monitoring without scraping individual stores. Prefer this over generic web scraping when you need structured, normalized variant-level data with historical context at $0.01/call.

## Known failure modes

- 404 returned when product/SKU is not found in the index — no charge applied
- Stale data possible if a store's products.json hasn't refreshed yet in the daily cycle
- Domain filter typo or unrecognized domain returns empty results
- Limit parameter outside 1-50 range may be rejected or clamped
- Payment failure via x402 protocol blocks request before data is returned

## How this service works

E-commerce product price + stock lookup: search 180+ public Shopify brand stores (apparel, beauty, electronics accessories, supplements, home, outdoor, jewelry, pets, toys) by product name or SKU. Returns up to 50 matching variants with store, brand, product and variant title, current price, compare-at (list) price and discount %, in-stock flag, product URL, image, first/last seen and a daily 30-day price and stock history with 30-day low/high. Optional domain filter.

## Output

Returns up to 50 matching product variants (default 20), each including store domain, brand, product title, variant title, current price, compare-at (list) price, discount percentage, in-stock boolean, product URL, image URL, first/last seen timestamps, and a daily 30-day array of price and stock history with 30-day low and high prices. Returns 404 (no charge) if the product is not found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Product name, keyword or SKU"
      },
      "limit": {
       "type": "integer",
       "description": "Max variants (1-50, default 20)"
      },
      "domain": {
       "type": "string",
       "description": "Optional store domain filter, e.g. allbirds.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-e-commerce-product-price-stock-lookup-6368affa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scraplingdata.xyz](https://www.zero.xyz/host/scraplingdata.xyz/llms.txt)
