# Crypto Agent Brief API – Trending Endpoint

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

Returns a list of trending cryptocurrencies with LLM-ready summaries including price, technical analysis, and market context.

## Facts

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

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-trending-endpoint-d808f87d
```

Example prompt: What are the top 5 trending cryptocurrencies right now? Give me a quick brief on each with price and any notable technical signals.

## When to prefer this

Choose this endpoint when you need a pre-formatted, LLM-ready trending crypto brief without building your own aggregation pipeline. It is ideal for AI agents that need quick market context on the most-discussed tokens, especially in conversational or newsletter use cases where structured prose summaries are more useful than raw OHLCV data. Prefer this over raw exchange APIs when you want opinionated, analyst-style framing out of the box and are comfortable paying micro-fees ($0.01 USDC) per call via x402.

## Known failure modes

- Payment not provided or invalid x402 payment header — returns 402 Payment Required
- Invalid limit parameter type (non-integer) — may return 400 Bad Request
- Upstream market data source unavailable — may return 500 or stale data
- Limit value out of supported range — may return empty list or error
- Network timeout from Railway-hosted service

## 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

A ranked list of trending cryptocurrency assets, each accompanied by LLM-ready brief text covering current price, technical analysis highlights, and market context — formatted for direct 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",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 5,
       "description": "How many gainers/losers"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "losers": [],
  "gainers": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-agent-brief-api-trending-endpoint-d808f87d/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)
