# Avalanche C-Chain DEX Liquidity Risk Check

> Avalanche C-Chain DEX Liquidity Risk Check 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).

Classifies market depth (DEEP/MODERATE/SHALLOW/VERY_THIN) for an Avalanche C-Chain trading pair using live TVL across Trader Joe, Pangolin, and Uniswap v3, and flags thin liquidity risks before trading.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/avalanche/risk
- 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-risk-check-b757390c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oscaluRuKK8L_weFRzVjT

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-risk-check-b757390c
```

Example prompt: Before I swap WAVAX/USDC on Avalanche, can you check the liquidity depth across Trader Joe, Pangolin, and Uniswap v3 and tell me whether the market is deep enough or if I should be worried about thin liquidity?

## When to prefer this

Choose this endpoint when you need a fast pre-trade liquidity risk assessment specifically on Avalanche C-Chain across Trader Joe, Pangolin, and Uniswap v3. Prefer it over raw TVL endpoints when you want an opinionated classification (DEEP/MODERATE/SHALLOW/VERY_THIN) plus risk flags like single-venue concentration and wide spreads, rather than raw pool data. Use it as a safety gate before executing swaps, especially for less liquid or exotic Avalanche pairs.

## Known failure modes

- Unknown or unsupported token pair symbol returns an error
- Pair not found on any of the three venues results in no liquidity data
- Stale or unavailable on-chain data may affect TVL accuracy
- Malformed pair format (e.g. missing slash separator) causes validation error
- Rate limiting or payment failure at $0.01 USDC per call via x402 protocol

## How this service works

Pre-trade depth verdict for a pair on Avalanche C-Chain: is this market thin enough to hurt you. Returns depthClass DEEP|MODERATE|SHALLOW|VERY_THIN, totalTvlUsd, venueCount, topVenueShare, midSpreadBps, flags. Requires ?pair=SYM/SYM (e.g. WAVAX/USDC). Errors: 400 bad_pair, 404 no_pools, 502 upstream_read_failed. Depth only - NOT a contract audit or honeypot check. Per-venue detail is /liquidity. Chain-pinned; bare /risk = BSC.

## Output

Returns a market depth classification (DEEP, MODERATE, SHALLOW, or VERY_THIN), TVL aggregated from Trader Joe, Pangolin, and Uniswap v3, number of venues able to route the trade, concentration in the largest venue, a single-venue market flag, and a wide spread flag — all as a pre-trade risk summary for the queried Avalanche C-Chain pair.

## 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-risk-check-b757390c/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)
