# AgentShelf Crypto Spot Trades

> AgentShelf Crypto Spot Trades is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns the latest public spot trades for a given crypto symbol, newest first, aggregated across Coinbase Exchange, Kraken, OKX, and Binance — no API key required.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/crypto-trades?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-crypto-spot-trades-fdc2ad33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NJMBraOjnZK6N1Mz1V032

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 agentshelf-crypto-spot-trades-fdc2ad33 -d '<json body>'
```

Example prompt: Fetch the 5 most recent public spot trades for BTC-USD so I can see what prices it's been trading at.

## When to prefer this

Prefer this endpoint when you need recent public spot trade data for a crypto symbol without managing API keys for individual exchanges. It automatically tries Coinbase Exchange, Kraken, OKX, and Binance in sequence, so it provides resilient coverage across major venues. Ideal for agents that need a quick market price check or recent trade history without subscribing to exchange APIs. Not suitable for high-frequency streaming data or order book depth queries.

## Known failure modes

- Symbol not found or unsupported — all four exchanges fail to return data for the requested pair
- Invalid symbol format — symbol too short, too long, or malformed
- Limit out of range — must be between 1 and 100
- All upstream exchanges (Coinbase, Kraken, OKX, Binance) are temporarily unavailable or rate-limiting
- Payment failure — exact $0.005 USDC not received on Base, request rejected

## How this service works

Call when an agent needs the latest public spot trades for a symbol, newest first, limit up to 100. Tries Coinbase Exchange, Kraken, OKX, then Binance. No API key. Send JSON {"symbol":"BTC-USD","limit":2}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/crypto-trades first.

## Output

Returns a list of recent spot trades (up to 100) for the requested symbol, sorted newest first. Each trade typically includes trade ID, price, size/amount, timestamp, and trade direction (buy/sell). The response symbol is formatted as BASE-QUOTE (e.g. BTC-USD).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "examples": [
    2
   ],
   "description": "How many recent trades to return, newest first. Example: 2. Default 20. At most 100."
  },
  "symbol": {
   "type": "string",
   "examples": [
    "BTC-USD"
   ],
   "maxLength": 24,
   "minLength": 5,
   "description": "Spot symbol. Example: BTC-USD or BTCUSDT. XBT is read as BTC. A slash is accepted. The response symbol is BASE-QUOTE."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-crypto-spot-trades-fdc2ad33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
