# Avalanche C-Chain AMM Pool Reserves API

> Avalanche C-Chain AMM Pool Reserves 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 raw AMM pool reserves and live pool state (mid price, fee tier, USD TVL) for a token pair across Trader Joe, Pangolin, and Uniswap v3 on Avalanche C-Chain.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/avalanche/reserves
- 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-amm-pool-reserves-api-9a1167e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Xn6pS-dZe1aUkwiWHo5d_

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-amm-pool-reserves-api-9a1167e3
```

Example prompt: Pull the raw pool reserves and current mid price for WAVAX/USDC across Trader Joe, Pangolin, and Uniswap v3 on Avalanche C-Chain so I can calculate price impact for a large trade.

## When to prefer this

Choose this endpoint when you need raw onchain reserve data for Avalanche C-Chain specifically — ideal for building your own quote engine, computing price impact or slippage, or doing arbitrage math across Trader Joe, Pangolin, and Uniswap v3. Prefer this over higher-level price or best-execution endpoints when you need the underlying AMM state rather than a pre-computed quote.

## Known failure modes

- Unsupported token pair — pair not found on any indexed Avalanche DEX
- Invalid pair format — must be SYM/SYM (e.g. WAVAX/USDC)
- No liquidity — pool exists but has zero or near-zero reserves
- RPC/node timeout — onchain data temporarily unavailable
- Payment not received — x402 micropayment of $0.01 USDC required per call

## How this service works

Raw AMM pool state for a pair on Avalanche C-Chain: v2 reserves and v3 concentrated liquidity across Trader Joe, Pangolin and Uniswap v3. Returns pools[] with venue, surface, feeBps, reserveA, reserveB, price and tvlUsd at a stated blockNumber. Requires ?pair=SYM/SYM (e.g. WAVAX/USDC). Errors: 400 bad_pair, 404 no_pools, 502 upstream_read_failed. For USD depth already computed use /liquidity. This is the underlying numbers. Chain-pinned; bare /reserves = BSC.

## Output

Returns per-venue pool data for the requested token pair on Avalanche C-Chain, including both token reserves, the current mid price, the fee tier in basis points, and USD TVL — all anchored to a stated block number. Covers constant-product (Trader Joe, Pangolin) and concentrated-liquidity (Uniswap v3 style) pool types.

## 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-amm-pool-reserves-api-9a1167e3/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)
