# Leo Shi Market Prices API

> Leo Shi Market Prices API is a paid API for AI agents from leoshi-blog.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Returns current spot prices for BTC, ETH, and USDC cryptocurrency pairs

## Facts

- Endpoint: POST https://leoshi-blog.vercel.app/api/market/prices?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/leo-shi-market-prices-api-97ef9af1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zaB6zjGvZ41H4UQwbMWwO

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 leo-shi-market-prices-api-97ef9af1 -d '<json body>'
```

Example prompt: What are the current spot prices for Bitcoin, Ethereum, and USDC right now?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.02 USDC) spot price lookup for BTC, ETH, or USDC and do not require tick-by-tick streaming data, order book depth, or historical price series. It is well-suited for lightweight agents that need to convert or compare cryptocurrency values on demand without integrating a full exchange API.

## Known failure modes

- Service unavailable if underlying price feed is down, returning 5xx error
- Stale or cached prices if market data provider is delayed
- Rate limiting may occur under high request volumes
- Missing asset keys if a particular market feed is temporarily unavailable

## How this service works

一个人的思考、创作与成长记录。关于生活、技术、商业和一切有趣的事。

## Output

A JSON object containing a 'prices' map with keys for each supported asset (btc, eth, usdc) and their current USD spot prices as floating-point numbers, e.g. {"prices":{"btc":67000.1,"eth":3500.42,"usdc":1}}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbols": {
   "type": "string",
   "description": "Comma-separated token symbols, up to 10, e.g. eth,btc,usdc"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prices": {
   "btc": 67000.1,
   "eth": 3500.42,
   "usdc": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/leo-shi-market-prices-api-97ef9af1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from leoshi-blog.vercel.app](https://www.zero.xyz/host/leoshi-blog.vercel.app/llms.txt)
