# X-RAY Compare

> X-RAY Compare is a paid API for AI agents from mcp.x-ray.me, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-02).

Returns side-by-side metrics for up to four actors, chains, or sectors over a configurable time range

## Facts

- Endpoint: GET https://mcp.x-ray.me/x402/compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-ray-compare-7c84ff4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1RdIrfIf7U79rxVOIRvlc

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 x-ray-compare-7c84ff4d
```

Example prompt: Can you pull up a side-by-side X-RAY comparison of Jupiter and Uniswap as actors over the last 30 days?

## When to prefer this

Use this endpoint when you need to directly compare two to four crypto actors, blockchains, or sectors side-by-side using consistent metrics. Prefer it over individual get_actor or get_scope_metrics calls when the goal is benchmarking or competitive analysis rather than deep-diving into a single entity. Best suited for queries involving 'vs', 'compare', 'benchmark', or 'which is better'.

## Known failure modes

- Invalid or unresolvable slug returns an error or empty result for that entity
- More than four items in the items list may be rejected or truncated
- Unsupported range values (not 7, 30, or 90) result in validation errors
- Mixing incompatible entity types may produce partial or empty comparisons
- Payment failure (x402) blocks the request entirely

## How this service works

X-RAY compare: side-by-side metrics for up to four actors, chains or sectors

## Output

A structured side-by-side metrics object covering up to four entities (actors, chains, or sectors), each with their key performance indicators over the specified time range (7, 30, or 90 days), enabling direct comparison across the selected entities.

## 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": [
      "items"
     ],
     "properties": {
      "items": {
       "type": "string",
       "description": "comma-separated type:slug, e.g. actor:jupiter,chain:solana"
      },
      "range": {
       "type": "integer",
       "description": "7, 30 or 90"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "slug": "jupiter",
    "type": "actor",
    "metrics": {}
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-ray-compare-7c84ff4d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.x-ray.me](https://www.zero.xyz/host/mcp.x-ray.me/llms.txt)
