# Aayat AI x402 Endpoint Health Check

> Aayat AI x402 Endpoint Health Check is a paid API for AI agents from aayatai.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Probes any x402 pay-per-request endpoint to verify it is live, returns a valid 402 payment request, and reports its pricing, pay-to wallets, version, latency, and Bazaar discovery metadata — without making any payment.

## Facts

- Endpoint: GET https://aayatai.com/x402/check?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-x402-endpoint-health-check-fb3278e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6NOGAE0EwR2kOcY2GfErG

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 aayat-ai-x402-endpoint-health-check-fb3278e6
```

Example prompt: Before I pay for it, can you check whether https://api.example.com/paid is up, returning a valid x402 payment request, and tell me the price in USD and the wallet it pays to?

## When to prefer this

Use this endpoint when you need to verify an x402 pay-per-use API is healthy and correctly configured before committing a payment, when you want to discover its exact USD pricing and recipient wallets across networks, or when you want to check its Bazaar listing and buyer activity. It is the right choice over generic HTTP health checkers because it understands the x402 payment protocol specifically and surfaces payment-relevant metadata like price, wallet, version, and Bazaar catalogue data without ever making a payment.

## Known failure modes

- Target URL is unreachable — returns up: false with null status and null latencyMs
- Target returns non-402 status — returns up: true but x402.valid: false with problems listed
- Malformed or missing payment request header — x402 object populated with problem descriptions
- Invalid URL format passed — request rejected with validation error
- Target endpoint is slow or times out — latencyMs may be null and up may be false

## How this service works

Live health check of any x402 endpoint before you pay it: is it up and answering 402, is the payment request valid, prices in USD per network, pay-to wallets, x402 version, Bazaar discovery metadata, response time, and its buyers in the Bazaar. Never pays the endpoint. Give the endpoint's URL and how it is called (GET or POST). For our own endpoints the answer comes from our in-process monitor (a Worker can't call its own address).

## Output

A JSON object containing: whether the endpoint responded at all (up: boolean), HTTP status code, x402 payment request validity and any detected problems, a list of accepted prices with asset, network, amount in USD, and pay-to wallet per network, x402 protocol version, Bazaar catalogue metadata (listing status, 30-day call and buyer counts, last called timestamp), response latency in milliseconds, and the timestamp of the check.

## 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",
       "format": "uri",
       "maxLength": 2048,
       "description": "The x402 endpoint to check."
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "default": "GET",
       "description": "How the endpoint is called."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "up",
      "status",
      "x402",
      "prices",
      "checkedAt"
     ],
     "properties": {
      "up": {
       "type": "boolean",
       "description": "Answered at all (any HTTP status)."
      },
      "url": {
       "type": "string"
      },
      "x402": {
       "type": "object",
       "description": "Whether a valid x402 payment request came back, and any problems."
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "prices": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "status": {
       "type": [
        "integer",
        "null"
       ]
      },
      "catalogue": {
       "type": [
        "object",
        "null"
       ],
       "description": "Its Bazaar listing in our snapshot, if any."
      },
      "checkedAt": {
       "type": "string"
      },
      "latencyMs": {
       "type": [
        "integer",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "up": true,
  "url": "https://aayatai.com/dns",
  "x402": {
   "from": "PAYMENT-REQUIRED header",
   "valid": true,
   "version": 2,
   "problems": [],
   "description": "DNS lookup for any domain",
   "bazaarDiscovery": true
  },
  "prices": [
   {
    "asset": "0x8335...",
    "payTo": "0xabc...",
    "amount": "1000",
    "scheme": "exact",
    "network": "eip155:8453",
    "priceUsd": 0.001
   }
  ],
  "status": 402,
  "catalogue": {
   "listed": true,
   "calls30d": 900,
   "buyers30d": 40,
   "lastCalledAt": "2026-09-28T10:00:00Z"
  },
  "checkedAt": "2026-09-28T12:00:00Z",
  "latencyMs": 180
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-x402-endpoint-health-check-fb3278e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
