# Agent402 Exchange Tickers

> Agent402 Exchange Tickers is a paid API for AI agents from agent402.tools, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Fetches live trading tickers (price, volume, spread, trust score) for a specific cryptocurrency exchange via CoinGecko data, pay-per-call over x402.

## Facts

- Endpoint: GET https://agent402.tools/api/exchange-tickers
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-exchange-tickers-a57d1794
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ezZQttKAiZyktlWkxt1Ol

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 agent402-exchange-tickers-a57d1794
```

Example prompt: Pull the live tickers for ethereum and bitcoin on Binance — I want to see the current USD price, 24-hour volume, spread, and trust score for each pair.

## When to prefer this

Use this endpoint when you need live, per-exchange ticker data (price, volume, spread, trust score) sourced from CoinGecko without managing API keys — especially in agent workflows that pay per call over x402. Prefer over direct CoinGecko API when you want no-signup access with USDC micropayments and built-in filtering by coin id.

## Known failure modes

- Invalid or unknown exchange id returns empty tickers or error
- Invalid coin id filter silently returns no matching tickers
- Page number beyond available data returns empty result set
- Rate limit or payment failure returns 402 with no data
- Stale upstream data reflected in ticker timestamps

## How this service works

Markets (tickers) listed on one exchange: base/target pair, last price, 24h volume, USD- and BTC-converted last price and volume, bid-ask spread %, trust score (green/yellow/red), anomaly and stale flags, trade URL and last trade time. Filter by `coins` (coin ids, max 10); pages of up to 100 tickers (`page`), trimmed to `limit` (default 50). Where is a coin actually trading, at what spread, and is the volume trusted. Cached in-process for 60 seconds.

## Output

Returns a paginated list of ticker objects for the requested exchange, each containing base/target trading pair, last price in USD and BTC, 24h volume in USD, spread percentage, trust score (green/yellow/red), trade URL, coin IDs, last traded timestamp, and stale/anomaly flags. Also includes exchange name, source (CoinGecko), fetch timestamp, and total count.

## 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": [
      "exchange"
     ],
     "properties": {
      "page": {
       "type": "number",
       "description": "Page of 100 tickers upstream (default 1)."
      },
      "coins": {
       "type": "string",
       "description": "Optional comma-separated coin ids to filter (max 10), e.g. \"bitcoin,ethereum\"."
      },
      "limit": {
       "type": "number",
       "description": "Max tickers returned from that page, 1-100 (default 50)."
      },
      "exchange": {
       "type": "string",
       "description": "Exchange id (binance, gdax, kraken, ...). See the exchanges tool."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "source",
      "fetchedAt",
      "cached",
      "exchange",
      "exchangeName",
      "page",
      "count",
      "tickers"
     ],
     "properties": {
      "page": {
       "type": "integer"
      },
      "count": {
       "type": "integer"
      },
      "cached": {
       "type": "boolean"
      },
      "source": {
       "type": "string"
      },
      "tickers": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "exchange": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      },
      "exchangeName": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "page": 1,
  "count": 1,
  "cached": false,
  "source": "coingecko",
  "tickers": [
   {
    "base": "ETH",
    "last": 2424.51,
    "stale": false,
    "coinId": "ethereum",
    "target": "USDT",
    "anomaly": false,
    "lastBtc": 0.0314,
    "lastUsd": 2424.6,
    "tradeUrl": "https://www.binance.com/en/trade/ETH_USDT",
    "spreadPct": 0.01,
    "volume24h": 412000.5,
    "trustScore": "green",
    "lastTradedAt": "2026-08-22T13:19:30.000Z",
    "targetCoinId": "tether",
    "volume24hUsd": 998000000
   }
  ],
  "exchange": "binance",
  "fetchedAt": "2026-08-22T13:20:00.000Z",
  "exchangeName": "Binance"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-exchange-tickers-a57d1794/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
