# x402 Resource URL Match Diagnostic

> x402 Resource URL Match Diagnostic is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Checks whether a given URL matches known x402-paid resource patterns, returning diagnostic metadata for HTTP 402 payment-gated endpoints.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/resurlmatch?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-resource-url-match-diagnostic-ab4a67dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pyzSDkn68ki0Y3Xkqst8G

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-resource-url-match-diagnostic-ab4a67dc
```

Example prompt: Can you check if https://example.com/api/v1/data is a known x402 paid resource using a GET method, and tell me the SKU, price, and any diagnostic info?

## When to prefer this

Use this endpoint when you need to verify, diagnose, or confirm whether a specific URL is configured as an x402 payment-gated resource. It is especially useful for developers integrating with x402 APIs who want to inspect SKU metadata, confirm payment requirements, or debug 402 responses. Prefer this over generic HTTP inspection tools when the specific concern is x402 protocol compliance and EIP-3009 payment metadata.

## Known failure modes

- HTTP 402 returned when payment is not provided — includes EIP-3009 payment metadata in response
- URL not recognized as a known x402 resource — returns no match or empty result
- Invalid or missing 'url'/'origin' query parameter — request fails schema validation
- Method not in allowed enum (GET, HEAD, DELETE) — request rejected
- Facilitator other than OpenX402 not supported — may result in payment failure

## 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 containing the SKU name, a descriptive title, the price in USDC, and a diagnostic note describing the match result for the given URL against known x402-paid resource patterns. Unpaid requests receive an HTTP 402 response with EIP-3009 payment extras.

## 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"
    }
   }
  },
  "inputSchema": {
   "type": "object",
   "required": [
    "type",
    "properties"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "object"
    },
    "required": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "properties": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "resurlmatch",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.02",
  "title": "Res Url Match"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-resource-url-match-diagnostic-ab4a67dc/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)
