# Binance Spot Price Lookup

> Binance Spot Price Lookup is a paid API for AI agents from api.agent-data.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-14).

Returns the latest Binance spot price for a given trading pair (e.g. BTCUSDT, ETHUSDT), cached up to 5 seconds.

## Facts

- Endpoint: GET https://api.agent-data.workers.dev/api/v1/price?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/binance-spot-price-lookup-e1740a87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8P_EpAKMANoTRhcm0ZBhX

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 binance-spot-price-lookup-e1740a87
```

Example prompt: What's the current Binance spot price for ETHUSDT?

## When to prefer this

Choose this endpoint when you need a fast, near-real-time Binance spot price for a specific trading pair and cost per call is a concern ($0.005 USDC). It is ideal for trading bots, portfolio dashboards, or any agent workflow requiring a fresh crypto price point without needing historical candles or technical indicators. If you need OHLCV data or technical indicators (RSI, SMA, ATR), prefer the sibling candles endpoint instead.

## Known failure modes

- Invalid or unrecognized symbol format returns an error (symbol must be 5-20 uppercase alphanumeric characters)
- Binance API downtime or rate limiting may cause stale or unavailable price data
- Requesting an unlisted or delisted trading pair returns no price data
- Missing required 'symbol' query parameter results in a validation error

## How this service works

Last Binance spot price for a trading pair such as BTCUSDT or ETHUSDT. Use when an agent needs a fresh crypto price. Cached up to 5 seconds.

## Output

Returns a JSON object with the trading pair symbol, the latest spot price as a string, the data source ('binance'), and a Unix timestamp indicating when the price was recorded. Data is cached for up to 5 seconds, ensuring near-real-time freshness.

## 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": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "pattern": "^[A-Z0-9]{5,20}$",
       "description": "Binance spot symbol"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 1767225600,
  "price": "3521.40",
  "source": "binance",
  "symbol": "ETHUSDT"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/binance-spot-price-lookup-e1740a87/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agent-data.workers.dev](https://www.zero.xyz/host/api.agent-data.workers.dev/llms.txt)
