# jurat.dev x402 Preflight Conformance Check

> jurat.dev x402 Preflight Conformance Check is a paid API for AI agents from jurat.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Runs a conformance check on a URL's x402 payment endpoint, verifying that it follows the x402 spec and is safe to pay before an agent commits funds

## Facts

- Endpoint: GET https://jurat.dev/v1/preflight
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jurat-dev-x402-preflight-conformance-check-f958aa6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B54Rq39rGRPcyY7-Sn6IR

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 jurat-dev-x402-preflight-conformance-check-f958aa6f
```

Example prompt: Before I pay to call https://zaref.dev/v1/repo-prime, run a preflight conformance check on it — I want to know if the x402 payment terms are correct and it's safe to pay.

## When to prefer this

Use this endpoint when an AI agent needs to verify an x402-paid API before committing USDC payments — especially for unknown or newly discovered paid endpoints, to confirm price agreement between the spec and live response, validate the payment address and network, and get an overall safe_to_pay signal before any funds are spent. Prefer this over blindly calling a paid endpoint when trust in the endpoint's x402 implementation is uncertain.

## Known failure modes

- Target URL is unreachable — endpoint returns error or empty response
- Target URL is not an x402-enabled resource — is_paid_resource returns false
- Price mismatch between spec and live 402 response — check fails with detail explaining discrepancy
- Network identifier in payment terms is unsupported or malformed
- pay_to address is missing or invalid — check flagged as failure
- Conformance summary shows failures > 0 with verdict 'fail' indicating unsafe to pay

## How this service works

Audit any x402 endpoint before you pay it: reads the live HTTP 402 challenge, decodes the payment terms, and compares the price advertised in its openapi.json against the price actually charged. Returns a compliance verdict, a safe-to-pay signal and a per-check fix list. Catches silent price drift, unpayable challenges, and the misconfigurations that make discovery indexes drop a resource.

## Output

Returns a JSON object containing: an array of individual check results (each with check name, detail, and pass/fail/skip status), the target URL, a summary of total checks run and how many passed/failed/warned/skipped, an overall verdict (pass/fail), the live payment terms extracted from the endpoint (pay_to address, network, price_usd, amount_atomic), a safe_to_pay boolean, and an is_paid_resource boolean.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "checks": [
   {
    "check": "price_agreement",
    "detail": "spec and live 402 both say $0.005000",
    "status": "pass"
   }
  ],
  "target": "https://zaref.dev/v1/repo-prime",
  "summary": {
   "checks": 18,
   "passed": 17,
   "skipped": 1,
   "failures": 0,
   "warnings": 0
  },
  "verdict": "pass",
  "live_terms": {
   "pay_to": "0x…",
   "network": "eip155:8453",
   "price_usd": "0.005000",
   "amount_atomic": "5000"
  },
  "safe_to_pay": true,
  "is_paid_resource": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jurat-dev-x402-preflight-conformance-check-f958aa6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jurat.dev](https://www.zero.xyz/host/jurat.dev/llms.txt)
