# Base AMM Pool Reserves & Live Pool State API

> Base AMM Pool Reserves & Live Pool State 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, mid price, fee tier, and USD TVL for a token pair on Base L2 across BaseSwap, SushiSwap, and Uniswap v3

## Facts

- Endpoint: GET https://x402.donnyautomation.com/base/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/base-amm-pool-reserves-live-pool-state-api-45f1cc3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZaERTQz1t7Aip3AAjxCvQ

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 base-amm-pool-reserves-live-pool-state-api-45f1cc3f
```

Example prompt: Pull the live pool reserves, mid price, and TVL for WETH/USDC across all DEXs on Base so I can calculate price impact and slippage before executing my trade.

## When to prefer this

Use this endpoint when you need raw on-chain AMM pool state on Base L2 specifically — reserves, mid price, fee tier, and TVL across BaseSwap, SushiSwap, and Uniswap v3 — to power your own quote math, price impact calculations, slippage models, or arbitrage detection. Prefer this over higher-level quote endpoints when you need the underlying numbers rather than a pre-computed best execution price.

## Known failure modes

- Invalid or unrecognized token pair symbol returns an error or empty result
- Pair not listed on any supported Base DEX returns no pool data
- Network or RPC node issues on Base L2 may cause timeouts
- Stale block data if the chain is experiencing congestion
- Payment failure (402) if USDC payment is not included or insufficient

## How this service works

Raw AMM pool state for a pair on Base: v2 reserves and v3 concentrated liquidity across BaseSwap, SushiSwap and Uniswap v3. Returns pools[] with venue, surface, feeBps, reserveA, reserveB, price and tvlUsd at a stated blockNumber. Requires ?pair=SYM/SYM (e.g. WETH/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 trading pair on Base, including: both token reserves (raw onchain amounts), pool mid price, fee tier in basis points, and USD TVL — scoped to a specific block — for each of BaseSwap, SushiSwap, and Uniswap v3 pools where the pair exists.

## 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 Base (e.g. WETH/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": 8453,
  "network": "base"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-amm-pool-reserves-live-pool-state-api-45f1cc3f/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)
