# Crypto Agent Brief API – Compare Endpoint

> Crypto Agent Brief API – Compare Endpoint is a paid API for AI agents from price-bot-production-4d6a.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns an LLM-ready side-by-side comparison brief for multiple cryptocurrencies, including price and technical analysis data.

## Facts

- Endpoint: GET https://price-bot-production-4d6a.up.railway.app/api/compare
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-agent-brief-api-compare-endpoint-609abd10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bO_r2wJ4ESlBiKlezPob4

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 crypto-agent-brief-api-compare-endpoint-609abd10
```

Example prompt: Can you compare Bitcoin, Ethereum, and Solana right now — I want a quick brief covering their prices and technical analysis so I can see which one has the strongest momentum?

## When to prefer this

Choose this endpoint when you need a ready-to-use, LLM-formatted brief comparing two or more cryptocurrencies in a single call, especially for AI agent workflows where the output needs to be ingested directly without further parsing. Prefer it over raw price APIs when you want technical analysis and narrative summary bundled together, and over general market data feeds when you need low-cost, per-call micropayment pricing via x402 on Base.

## Known failure modes

- Invalid or unrecognized coin symbols return an error or empty result
- Too many coins in a single request may cause timeouts or malformed output
- Payment not fulfilled via x402 returns a 402 Payment Required response
- Unsupported format value may cause fallback to default formatting
- Market data source outage may return stale or incomplete data

## How this service works

x402 pay-per-call crypto trading intelligence for AI agents. Get live Bitcoin/ETH/SOL BUY/SELL/HOLD signals with support/resistance, volatility regime, risk, edge_score and invalidation — not raw CoinGecko dumps. Price: 0.01 USDC on Base per call. Best value: compare up to 5 coins + vs-BTC strength in one payment. Free routes use security: []. Paid routes require x402 (PAYMENT-SIGNATURE / X-PAYMENT) after HTTP 402. Free tease: GET /api/preview?q=btc (price only). Docs: /llms.txt.

## Output

Returns a structured, LLM-ready text brief containing side-by-side price data, technical analysis indicators, and relative performance summaries for the requested coins, formatted for easy consumption by AI agents or language models.

## 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": [
      "coins"
     ],
     "properties": {
      "coins": {
       "type": "string",
       "description": "Comma-separated tickers to rank, e.g. btc,eth,sol"
      },
      "format": {
       "enum": [
        "agent",
        "full"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok",
  "results": [],
  "summary": {
   "best_edge": "ETH",
   "best_vs_btc": "SOL",
   "best_performer": "SOL"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-agent-brief-api-compare-endpoint-609abd10/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from price-bot-production-4d6a.up.railway.app](https://www.zero.xyz/host/price-bot-production-4d6a.up.railway.app/llms.txt)
