# ConditionCheck

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

Checks whether a specific factual condition is currently true on a given public webpage, returning a yes/no answer with supporting evidence.

## Facts

- Endpoint: POST https://conditioncheck-mainnet-production.up.railway.app/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/conditioncheck-a68a60b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O27_rnQr5S9my_EdVVtEw

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 conditioncheck-a68a60b8 -d '<json body>'
```

Example prompt: Check whether the iPhone 16 Pro 256GB is currently in stock on https://www.apple.com/shop/buy-iphone/iphone-16-pro and confirm the condition 'iPhone 16 Pro 256GB is available to add to cart'.

## When to prefer this

Choose ConditionCheck when you need a structured, evidence-backed true/false answer about a specific factual condition on a public webpage — especially for price checks, stock availability, status verification, or deadline monitoring. It is preferable over generic web scrapers when you need not just raw content but a validated boolean answer with confidence scoring and cited evidence. Best suited for single-page spot checks rather than broad site crawls.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error or low-confidence result
- Condition is ambiguous or too broad — may return low confidence or inconclusive answer
- Page uses heavy JavaScript rendering that prevents content access — evidence may be incomplete
- Condition references information not present on the specified page — answer may be No with no supporting evidence
- Malformed URL input — returns validation error
- Page content has changed between request and evidence extraction — timestamp helps detect staleness

## How this service works

Paid x402 API that checks whether a factual condition is currently true on a public webpage.

## Output

A JSON object containing a boolean 'condition_met' field, a plain-language 'answer' (Yes/No), an array of 'evidence' strings quoting relevant text found on the page, a 'confidence' score between 0 and 1, the 'source_url' that was checked, a 'checked_at' ISO timestamp, and an 'observed_values' array of named key-value pairs extracted from the page (e.g. price, stock status).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) page to inspect"
  },
  "condition": {
   "type": "string",
   "maxLength": 500,
   "minLength": 3,
   "description": "A factual condition to evaluate from the current page, such as price, stock, deadline, or status"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "answer": "Yes",
  "evidence": [
   "Price shown: $479",
   "Status shown: In stock"
  ],
  "checked_at": "2026-10-08T13:00:00.000Z",
  "confidence": 0.98,
  "source_url": "https://example.com/product",
  "condition_met": true,
  "observed_values": [
   {
    "name": "price",
    "value": "$479"
   },
   {
    "name": "stock",
    "value": "In stock"
   }
  ]
 }
}
```

## More

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