# Forest Commerce Buyability Check

> Forest Commerce Buyability Check 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).

Checks whether a public marketplace item appears purchasable, returning explicit blockers like out-of-stock status without signing in or placing any order.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/commerce/buyability?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-buyability-check-dfab5c5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VUuUpXesltU3cCNQjHnsv

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-buyability-check-dfab5c5d -d '<json body>'
```

Example prompt: Before I try to buy it, can you check if this product URL is actually buyable right now — I want quantity 2 of the blue variant: https://www.example.com/product/12345?

## When to prefer this

Use this endpoint when you need a lightweight, read-only preflight check on whether a public product URL appears buyable before committing to a checkout flow. Prefer this over the cart-checkout endpoint when you want a fast signal without even attempting to build a cart. Best when you need to detect hard blockers (out-of-stock, unavailable variants) early in an automated purchasing workflow.

## Known failure modes

- URL is not a recognized marketplace product page — returns unknown or error status
- Item page requires authentication to view availability — blocker reported as unknown
- Network timeout or unreachable URL — error response
- Requested quantity exceeds provider limits (max 100) — validation error
- Dynamic or JavaScript-rendered pages may not expose stock signals — result may be inconclusive

## How this service works

Report whether a public item appears buyable with explicit blockers such as out-of-stock or unknown. This is a preflight only: it never signs in, buys, creates an order or guarantees checkout. Base mainnet USDC

## Output

Returns a buyability status indicating whether the public item appears purchasable, along with any explicit blockers detected (e.g. out-of-stock, quantity limits exceeded, unknown status). Does not guarantee successful checkout and never initiates a purchase or login.

## 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."
  },
  "variant": {
   "type": "object",
   "description": "Public identifiers value used to scope this lookup.",
   "additionalProperties": true
  },
  "quantity": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1,
   "description": "Requested item quantity to validate against provider limits."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-commerce-buyability-check-dfab5c5d/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)
