# Web Page Price Extractor

> Web Page Price Extractor is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Extracts all monetary amounts found on any product or listing page, with currency codes, surrounding context, and schema.org Offer price data.

## Facts

- Endpoint: GET https://api.x-402.online/v1/web/prices?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-price-extractor-f87ca9d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SXgfNui-AEz0lTmSkrSPx

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 web-page-price-extractor-f87ca9d1
```

Example prompt: Can you pull all the prices and currencies shown on this product page — https://www.example.com/product/123 — including any schema.org Offer price if the page has one?

## When to prefer this

Use this endpoint when you need to extract price and currency data from any public product or listing page without building a custom scraper. It works across any website, not just major marketplaces, and additionally surfaces structured schema.org Offer pricing when available. Prefer this over a generic web scraper when you specifically need monetary amounts with currency context rather than full page content.

## Known failure modes

- Page is behind a login wall or paywall — prices not accessible without authentication
- URL is invalid or unreachable — returns connection or DNS error
- Page uses heavy JavaScript rendering that prevents price detection
- No monetary amounts found on the page — returns empty list
- Schema.org Offer data absent — that field returns null
- Rate limiting or bot-detection on the target site causes incomplete extraction

## How this service works

Find the current prices shown on a product or listing page, with currency and context. Every monetary amount found on a page with its currency and surrounding context, plus the schema.org Offer price when the page declares one. Works on any product page, not only marketplaces. Fetche…

## Output

Returns a structured list of every monetary amount found on the page, each with its currency code and surrounding text context, plus the schema.org Offer price if the page includes structured product markup.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/web-page-price-extractor-f87ca9d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
