# x402 CORS Pay Expose Diagnostics

> x402 CORS Pay Expose Diagnostics is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Runs a paid x402 CORS payment-exposure diagnostic check against a public URL, returning structured payment and CORS metadata after micropayment settlement.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/corspayexpose?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-cors-pay-expose-diagnostics-2bb8dcdb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sp-FUc00a5AULjqV-zMp-

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 x402-cors-pay-expose-diagnostics-2bb8dcdb
```

Example prompt: Run an x402 CORS pay-expose diagnostic on https://example.com using a GET request and tell me what payment metadata and CORS headers it returns.

## When to prefer this

Choose this endpoint when you need to programmatically verify that an x402-gated URL is correctly configured for CORS-based micropayments, particularly when using the OpenX402 facilitator and EIP-3009 payment authorization. It is the right tool for diagnosing 402 payment flows, inspecting CORS headers on payment-gated APIs, or confirming that an origin is properly exposing x402 payment metadata — not for general HTTP inspection or non-payment CORS debugging.

## Known failure modes

- HTTP 402 returned if payment header is missing or invalid — includes EIP-3009 extras for payment resolution
- Invalid or unreachable target URL returns an error or empty diagnostic
- Non-GET/HEAD/DELETE methods rejected due to enum constraint
- Missing required 'type' or 'method' fields in input causes validation failure
- OpenX402 facilitator unavailability may block payment settlement

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns a JSON object with fields including the SKU name ('corspayexpose'), a human-readable title ('CORS Pay Expose'), the price ($0.02), and a diagnostic note. On unpaid requests, returns HTTP 402 with EIP-3009 payment extras indicating the required payment details for settlement via OpenX402.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "Public 402 or well-known URL. Defaults to this origin's Pipe Check."
      },
      "origin": {
       "type": "string",
       "description": "Public origin URL. Alias of url."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "corspayexpose",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.02",
  "title": "CORS Pay Expose"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-cors-pay-expose-diagnostics-2bb8dcdb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
