# Avalanche C-Chain DEX Liquidity & Market Depth API

> Avalanche C-Chain DEX Liquidity & Market Depth 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-14).

Returns per-venue liquidity depth, pool reserves, and TVL for a token pair across Trader Joe, Pangolin, and Uniswap v3 on Avalanche C-Chain

## Facts

- Endpoint: GET https://x402.donnyautomation.com/avalanche/liquidity
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avalanche-c-chain-dex-liquidity-market-depth-api-6e4987fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7sZ0g3P0Oih0MooZg68-r

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-dex-liquidity-market-depth-api-6e4987fa
```

Example prompt: How deep is the WAVAX/USDC pool on Avalanche right now — show me the liquidity split across Trader Joe, Pangolin, and Uniswap v3 so I can figure out where to route my trade.

## When to prefer this

Use this endpoint when you need multi-venue liquidity aggregation specifically on Avalanche C-Chain, covering Trader Joe, Pangolin, and Uniswap v3 in a single call. Prefer it over raw pool reserve endpoints when you need venue market-share breakdowns and the deepest-venue recommendation for order routing. Choose the Arbitrum or Polygon sibling endpoints for those respective chains.

## Known failure modes

- Unsupported token pair returns an error or empty result (only WAVAX, WETH, WBTC, USDC, USDT supported)
- Malformed pair string (missing slash, wrong symbol) causes a 400-level error
- Pool with zero liquidity returns zero values rather than an error
- Payment not processed (x402 payment failure) blocks the response
- Avalanche RPC node lag may cause slightly stale reserve data during congestion

## How this service works

Per-venue USD liquidity and TVL for a pair on Avalanche C-Chain across Trader Joe, Pangolin and Uniswap v3. Returns totalTvlUsd, venueCount, deepestVenue and venues[] with each venue share and reserves. Requires ?pair=SYM/SYM (e.g. WAVAX/USDC). Errors: 400 bad_pair (malformed, or a ticker unknown on this chain), 404 no_pools, 502 upstream_read_failed. Raw pool numbers are /reserves; a one-word verdict is /risk; price is /price. Chain-pinned; bare /liquidity = BSC.

## Output

A structured response with per-venue liquidity in USD (Trader Joe, Pangolin, Uniswap v3), raw pool reserves for both tokens, each venue's share of total market depth, total TVL across all venues, and identification of the single deepest venue to trade against — all reflecting live on-chain pool state.

## 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": [
      "pair"
     ],
     "properties": {
      "pair": {
       "type": "string",
       "description": "Token pair as SYM/SYM on Avalanche C-Chain (e.g. WAVAX/USDC)."
      }
     }
    }
   },
   "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-dex-liquidity-market-depth-api-6e4987fa/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)
