# YourAITools x402 Endpoint Checker

> YourAITools x402 Endpoint Checker is a paid API for AI agents from api.youraitools.co, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-23).

Validates whether a given URL is a correctly implemented x402 payment-gated API endpoint, returning a grade, score, and detailed compliance report

## Facts

- Endpoint: GET https://api.youraitools.co/x402fix/v1/check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youraitools-x402-endpoint-checker-1d3c757b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AmOxjG5_wSKF2KHOOcVA2

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 youraitools-x402-endpoint-checker-1d3c757b
```

Example prompt: Can you check whether my API at https://api.myservice.com/v1/data is properly set up as an x402 payment route — I want to know its compliance grade, which networks it supports, and if there are any issues to fix?

## When to prefer this

Use this endpoint when you need to programmatically verify that a specific URL correctly implements the x402 payment protocol — especially before listing an API in a directory, debugging payment failures, or confirming multi-network and multi-version compliance. Prefer this over manual inspection or generic HTTP testers when you need a structured grade, score, and actionable fix list specific to x402.

## Known failure modes

- URL is not reachable or returns non-402 response — check returns fail status
- Invalid or malformed URL input — schema validation error
- Endpoint exists but has no x402 headers — grade F or low score with fix recommendations
- CDP has not yet indexed the URL — indexed:false returned
- Network timeout on remote URL fetch — error response

## How this service works

Full x402 endpoint check API with paste-ready fixes. Full x402 endpoint check with paste-ready fixes: everything in lite plus a facilitator validate verdict and Bazaar index status, /openapi.json and /.well-known/x402 consistency, payee checks (EVM code, Solana USDC token account, CounterpartyCheck screening) and a generated, self-validated extensions.bazaar block, multichain accepts (Base, Polygon, Arbitrum One, Solana) and code snippet.

## Output

Returns a JSON object with: a letter grade (e.g. 'A') and numeric score (0-100), pass/fail status, x402 protocol version support (v1/v2), supported blockchain networks (Base, Polygon, Arbitrum One, Solana), CDP crawl status and last crawl timestamp, bazaar indexing flag, a list of specific fixes/issues found, and a human-readable summary string.

## 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",
       "description": "Full https URL of the paid x402 route (site tier: the origin or API base URL)"
      },
      "method": {
       "enum": [
        "GET",
        "POST"
       ],
       "type": "string",
       "description": "Method your paid route uses (default: from its Bazaar declaration, else GET)"
      },
      "framework": {
       "enum": [
        "hono",
        "express",
        "next"
       ],
       "type": "string",
       "description": "Server framework for the generated snippet (check tier, default hono)"
      }
     },
     "description": "Search intents: x402 endpoint audit, openapi x402 check, x402 fix list, x402 seller debugging"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "cdp": {
       "type": "object"
      },
      "url": {
       "type": "string"
      },
      "tier": {
       "type": "string"
      },
      "x402": {
       "type": "object"
      },
      "fixes": {
       "type": "array"
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "method": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "summary": {
       "type": "string"
      },
      "generated": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cdp": {
   "valid": true,
   "failed": [],
   "indexed": true,
   "last_crawled_at": "2026-10-22T16:29:39.916Z"
  },
  "url": "https://api.youraitools.co/counterpartycheck/v1/lite",
  "tier": "check",
  "x402": {
   "v1": true,
   "v2": true,
   "bazaar": true,
   "networks": [
    "Base",
    "Polygon",
    "Arbitrum One",
    "Solana"
   ],
   "price_usd": 0.005
  },
  "fixes": [],
  "grade": "A",
  "score": 100,
  "method": "GET",
  "status": "pass",
  "summary": "A (100/100): x402 v2+v1, Base, Polygon, Arbitrum One, Solana. No problems found.",
  "generated": {
   "note": "Paste-ready: the bazaar block validates against its own schema.",
   "bazaar_self_valid": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youraitools-x402-endpoint-checker-1d3c757b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.youraitools.co](https://www.zero.xyz/host/api.youraitools.co/llms.txt)
