# BSC Token Spot Price (BEP-20/ERC-20) — x402.donnyautomation.com

> BSC Token Spot Price (BEP-20/ERC-20) — x402.donnyautomation.com is a paid API for AI agents from x402.donnyautomation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the live USD spot price of any BEP-20 token on BNB Chain (BSC) by ticker symbol, along with the DEX pair used, USD liquidity depth, and a confidence rating.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/price
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bsc-token-spot-price-bep-20-erc-20-x402-donnyautomation-com-9c7ad451
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YHsazEVJkzyglFWuye1Hk

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 bsc-token-spot-price-bep-20-erc-20-x402-donnyautomation-com-9c7ad451
```

Example prompt: What's the live USD price of CAKE on BSC right now — and how confident is that quote given the pool liquidity?

## When to prefer this

Choose this endpoint when you need real-time USD prices for tokens on BNB Chain / BSC specifically, especially when you need liquidity depth and confidence signals alongside the price (not just a raw number). Prefer this over CEX price feeds when you need onchain DEX prices for DeFi agents, trading bots, or price oracle validation. Use the sibling Base/Arbitrum/Polygon endpoints for tokens on those chains instead.

## Known failure modes

- Unknown or unrecognized token symbol returns an error or empty result
- Token exists but has zero or negligible DEX liquidity, resulting in low confidence rating
- Misspelled ticker symbol returns no match
- Token only exists on another chain (e.g. Ethereum mainnet, not BSC) and cannot be found on BNB Chain DEXs
- Transient DEX data unavailability may return stale or failed response
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Spot token price in USD on BSC / BNB Chain, read from PancakeSwap v2/v3, Biswap, ApeSwap pools at call time. Returns priceUsd, the routed pair, backing liquidityUsd, confidence and blockNumber. Requires ?symbol=TICKER (e.g. CAKE) or ?token=0xADDRESS. Errors: 400 missing_symbol|unknown_token, 404 no_reliable_price when pools are too thin, 502 upstream_read_failed. Depth is /liquidity; a size-aware quote is /slippage. Bare = BSC; also /polygon /arbitrum /avalanche /optimism /base.

## Output

Returns a JSON object containing priceUsd (the current USD price of the token), the DEX trading pair through which it was priced, the USD liquidity backing that price quote, and a confidence rating indicating how reliable the price is given pool depth.

## 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",
       "description": "BEP-20 token symbol on BSC (e.g. CAKE, WBNB, BTCB, ETH, LINK, BSW)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-07-31T00:00:00.000Z",
  "chainId": 56,
  "network": "bsc"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bsc-token-spot-price-bep-20-erc-20-x402-donnyautomation-com-9c7ad451/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.donnyautomation.com](https://www.zero.xyz/host/x402.donnyautomation.com/llms.txt)
