# Forest Commerce Product State

> Forest Commerce Product State is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Normalizes a public product URL into current title, selected variant, price, currency, availability, and buyability using read-only provider responses or JSON-LD.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/product-state?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-commerce-product-state-c4b6a1b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eLAiL0MBIeaOrYlF8bGhW

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 forest-commerce-product-state-c4b6a1b6 -d '<json body>'
```

Example prompt: Can you check this product URL and tell me what the current price is, which variant is selected, and whether it's actually available to buy right now? https://www.example-store.com/products/blue-sneakers

## When to prefer this

Use this endpoint when you need a normalized, structured snapshot of a public product page's current state — price, variant, availability, and buyability — without needing to authenticate, purchase, or interact with the page. Prefer it over raw web scraping when you want a clean, schema-consistent output. Best for price-checking, availability verification, and product data normalization workflows where the product URL is publicly accessible.

## Known failure modes

- URL is not a public product page — returns error or empty result
- Product page requires login or is behind a paywall — cannot resolve
- Retailer blocks automated access — request may fail or return incomplete data
- JSON-LD or structured data is absent or malformed — extraction may be partial
- Product URL has expired or been delisted — availability may reflect 404 or redirect state
- Price or stock is dynamically loaded via JavaScript and not present in static response — may return stale or missing values

## How this service works

Normalize a public product URL into current title, selected variant, price, currency, availability and buyability. Uses bounded read-only provider responses or JSON-LD; it never buys, logs in or guarantees unpublished stock. Base mainnet USDC

## Output

Returns a normalized object containing the product title, selected variant details, current price, currency, availability status, and buyability flag — derived from read-only scraping of the public product page or its JSON-LD metadata. Does not perform any purchase, login, or access unpublished stock data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?://",
   "maxLength": 2048,
   "description": "Public HTTP(S) URL to inspect, resolve, or compare."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-commerce-product-state-c4b6a1b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
