# Avalanche C-Chain Live Token Price API

> Avalanche C-Chain Live Token Price API 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-16).

Returns real-time USD spot price for any ERC-20 token on Avalanche C-Chain by ticker symbol or contract address, sourced from Trader Joe, Pangolin, and Uniswap v3 pools.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/avalanche/price
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avalanche-c-chain-live-token-price-api-658b6ebc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cPDC55z2TuKDrr4iLfNSc

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 avalanche-c-chain-live-token-price-api-658b6ebc
```

Example prompt: What's the current USD price of WAVAX on Avalanche C-Chain? I also want to know how confident the quote is and how much liquidity is backing it.

## When to prefer this

Choose this endpoint when you need real-time, on-chain USD prices for any ERC-20 token on Avalanche C-Chain — especially arbitrary or long-tail tokens not listed on centralized price aggregators. It is superior to CEX price feeds when you need trustless, DEX-sourced data with liquidity transparency and confidence scoring. Prefer it over generic crypto price APIs when your use case is specifically Avalanche C-Chain trading, bot execution, or on-chain price oracle validation.

## Known failure modes

- Token symbol not found on Avalanche C-Chain DEX pools — returns error or null price
- Token has no active liquidity pools on Trader Joe, Pangolin, or Uniswap v3 on Avalanche — no quote available
- Very low liquidity results in low confidence rating, indicating the price may be unreliable
- Invalid or unrecognized contract address returns an error
- Network or RPC node issues on Avalanche C-Chain may cause timeouts
- Payment failure via x402 protocol results in 402 response and no data returned

## How this service works

Spot token price in USD on Avalanche C-Chain, read from Trader Joe, Pangolin and Uniswap v3 pools at call time. Returns priceUsd, the routed pair, backing liquidityUsd, confidence and blockNumber. Requires ?symbol=TICKER (e.g. WAVAX) 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. Chain-pinned; bare /price = BSC.

## Output

Returns a JSON object containing: priceUsd (current USD spot price of the token), the trading pair used to derive the price (e.g. WAVAX/USDC), USD liquidity backing the quote (pool depth), and a confidence rating indicating how reliable the price is given pool depth — so thin-pool prices are clearly flagged rather than silently passed off as market prices.

## 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": "Token symbol on Avalanche C-Chain (e.g. WAVAX, WETH, WBTC, USDC, USDT)."
      }
     }
    }
   },
   "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": 43114,
  "network": "avalanche"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avalanche-c-chain-live-token-price-api-658b6ebc/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)
