# PriceCheck

> PriceCheck is a paid API for AI agents from pricecheck-mainnet-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Extracts current price, discount percentage, and availability from a public ecommerce or software pricing webpage, with optional comparison against a target price.

## Facts

- Endpoint: POST https://pricecheck-mainnet-production.up.railway.app/price?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pricecheck-d567b89f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-7uKtHcUD-7kh9IhVDRs1

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 pricecheck-d567b89f -d '<json body>'
```

Example prompt: Can you check the current price and availability of this product — https://www.example.com/product/blue-sneakers — and tell me if it's discounted below $75?

## When to prefer this

Choose PriceCheck when you need to programmatically extract live pricing, discount, and availability data from a specific public product or SaaS pricing URL without scraping infrastructure of your own. It is ideal for price-drop monitoring, budget comparison workflows, or enriching product data pipelines. Prefer it over generic web scrapers when structured pricing fields (current price, original price, discount %, availability) are needed in a clean JSON format ready for agent use.

## Known failure modes

- URL is behind a login wall or paywall — extraction fails or returns low confidence
- Dynamic pricing rendered via JavaScript may not be captured if the page is JS-heavy
- Product page has been removed or returns a 404 — no data extractable
- Ambiguous or multi-product pages may return incorrect product name or price
- Currency detection may fail for non-standard or regional pricing pages
- Low confidence score when pricing layout is unusual or obfuscated

## How this service works

Paid x402 API that extracts current pricing, discount and availability from public ecommerce and software pricing pages.

## Output

A JSON object containing the extracted product name, current price, original price, discount percentage, currency, availability status (e.g. in_stock), a confidence score for the extraction, and a boolean indicating whether the current price meets the optional target price provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public product, ecommerce or software pricing webpage"
  },
  "target_price": {
   "type": "number",
   "description": "Optional target price to compare against the extracted current price"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "currency": "GBP",
  "confidence": 0.96,
  "discounted": true,
  "availability": "in_stock",
  "product_name": "Example Product",
  "current_price": 79.99,
  "original_price": 99.99,
  "discount_percent": 20,
  "meets_target_price": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pricecheck-d567b89f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pricecheck-mainnet-production.up.railway.app](https://www.zero.xyz/host/pricecheck-mainnet-production.up.railway.app/llms.txt)
