# x402 Resource Comparator

> x402 Resource Comparator is a paid API for AI agents from nohands-coinbase-bazaar.bytoken2023.workers.dev, paid per call via x402, $0.010002/call, status unknown (last checked 2026-11-02).

Compares two to five x402 payment-gated resources or servers side-by-side across price, payment metadata, schema quality, seller consistency, and budget fit.

## Facts

- Endpoint: GET https://nohands-coinbase-bazaar.bytoken2023.workers.dev/v1/x402/x402/resource-compare?utm_source=zero.xyz
- Price: $0.010002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-resource-comparator-82ba7a77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jwKP_xYVTDxamGONjXpai

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-comparator-82ba7a77
```

Example prompt: Can you compare these three x402 endpoints for me — https://api-a.example.com/data, https://api-b.example.com/data, and https://api-c.example.com/data — and tell me which has the best price, schema quality, and seller consistency given my budget of $0.05 USDC per call?

## When to prefer this

Use this endpoint when an agent needs to choose among multiple x402 payment-gated APIs before committing to one — especially when price, schema quality, and seller trustworthiness all matter. It is the right choice over single-resource inspection tools when a side-by-side ranking is needed to make a purchase or routing decision.

## Known failure modes

- Fewer than two or more than five resource URLs provided — returns a validation error
- One or more URLs are not valid x402 endpoints — returns an inspection failure for that resource
- Network timeout fetching metadata from one or more resources — partial results or error
- Malformed payment metadata on a resource — that resource receives a low schema quality score
- Budget parameter missing — budget fit dimension omitted from comparison

## How this service works

Compare two to five x402 resources or servers by price, payment metadata, schema quality, seller consistency, and budget fit.

## Output

A structured comparison report covering each submitted x402 resource's price, payment metadata quality, schema completeness, seller consistency signals, and how well each fits the declared budget — with a ranked recommendation.

## 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": [
      "resources"
     ],
     "properties": {
      "resources": {
       "type": "string",
       "example": "https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/alpha-risk,https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/base/token-alpha-snapshot",
       "pattern": "^https?://",
       "maxLength": 4096,
       "description": "Comma-separated list of two to five public x402 resource or server URLs."
      },
      "budget_usdc": {
       "type": "string",
       "example": "0.02",
       "pattern": "^[0-9]+(?:\\.[0-9]{1,6})?$",
       "description": "Optional maximum acceptable spend for one chosen resource."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "x-schema-family": "STRUCTURED_PRODUCT_RESULT",
     "x-schema-authority": "STRUCTURED_PRODUCT_RESULT",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-resource-comparator-82ba7a77/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nohands-coinbase-bazaar.bytoken2023.workers.dev](https://www.zero.xyz/host/nohands-coinbase-bazaar.bytoken2023.workers.dev/llms.txt)
