# Uniswap V3 Pool State and Price Lookup

> Uniswap V3 Pool State and Price Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-02).

Returns live Uniswap V3 pool addresses, spot prices, liquidity, tick, and token balances for a token pair across all fee tiers on Ethereum, Base, Arbitrum, Optimism, or Polygon.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/uniswap/pool?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-uniswap-v3-pool-state-and-bb1784d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hDa_2u79gC_iBVpTeFc6C

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 agent-data-tools-revmesh2074-workers-dev-uniswap-v3-pool-state-and-bb1784d7
```

Example prompt: What's the current ETH/USDC spot price on Uniswap V3 on Ethereum, and which fee tier pool has the deepest liquidity right now?

## When to prefer this

Use this endpoint when you need live, on-chain Uniswap V3 pool data — spot prices, liquidity depth, or pool addresses — for any token pair across the five supported EVM chains. It reads directly from the Uniswap factory and pool contracts, so the data is always current. Prefer it over aggregators when you need per-fee-tier breakdown, raw tick state, or are routing a swap and want to verify depth before committing. It covers Ethereum, Base, Arbitrum, Optimism, and Polygon in a single call with a consistent response schema.

## Known failure modes

- Unknown ticker symbol — provide a 0x address instead
- No pool exists for the pair on the requested chain — pools array returns empty
- Invalid chain name — must be one of ethereum, base, arbitrum, optimism, polygon
- RPC timeout reading live pool state — retry after a short delay
- Token address is not an ERC-20 or is not recognized by the Uniswap factory

## How this service works

Uniswap v3 pools for a token pair on Ethereum, Base, Arbitrum, Optimism or Polygon, read live from the factory and each pool: pool address per fee tier (0.01%, 0.05%, 0.3%, 1%), price of each token in the other, current tick, in-range liquidity and both token balances held, deepest pool first. Tokens by 0x address or ticker. Use to find the right pool, check depth before a swap or read a spot price.

## Output

Returns a JSON object with the resolved token symbols and addresses, the target chain, and an array of pools sorted deepest-first. Each pool entry includes the pool contract address, fee tier (e.g. 500 = 0.05%), current tick, in-range liquidity, priceAinB (cost of one unit of tokenA in tokenB), priceBinA, and the token balances held in the pool.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "tokenA",
  "tokenB"
 ],
 "properties": {
  "chain": {
   "type": "string",
   "description": "ethereum (default), base, arbitrum, optimism or polygon"
  },
  "tokenA": {
   "type": "string",
   "description": "First token: 0x address or ticker"
  },
  "tokenB": {
   "type": "string",
   "description": "Second token: 0x address or ticker"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string"
  },
  "pools": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "tick": {
      "type": "number"
     },
     "address": {
      "type": "string"
     },
     "feeTier": {
      "type": "number"
     },
     "balanceA": {
      "type": "number"
     },
     "balanceB": {
      "type": "number"
     },
     "liquidity": {
      "type": "string"
     },
     "priceAinB": {
      "type": "number"
     },
     "priceBinA": {
      "type": "number"
     }
    }
   }
  },
  "source": {
   "type": "string"
  },
  "tokenA": {
   "type": "object",
   "properties": {
    "symbol": {
     "type": "string"
    },
    "address": {
     "type": "string"
    }
   }
  },
  "tokenB": {
   "type": "object",
   "properties": {
    "symbol": {
     "type": "string"
    },
    "address": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-uniswap-v3-pool-state-and-bb1784d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
