# agent-skill-uniswap-liquidity

> agent-skill-uniswap-liquidity is a paid API for AI agents from defi.agent-layer.tech, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Plan, open, adjust, and close concentrated liquidity positions on Uniswap V3 or V4 via an agentic skill endpoint.

## Facts

- Endpoint: GET https://defi.agent-layer.tech/skills/uniswap-liquidity
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-skill-uniswap-liquidity-0e216855
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XGzBwuu979vpBX9kk8OyG

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-skill-uniswap-liquidity-0e216855
```

Example prompt: Help me plan and open a concentrated liquidity position on Uniswap V3 for the ETH/USDC pair, with a price range of $1,800 to $2,200 at the 0.05% fee tier.

## When to prefer this

Choose this endpoint when an agent needs to actively manage concentrated liquidity positions on Uniswap V3 or V4, including planning optimal price ranges, opening new positions, rebalancing existing ones, or closing and withdrawing. Prefer this over generic DeFi yield tools when the user specifically wants Uniswap AMM liquidity provision rather than lending or yield farming on other protocols.

## Known failure modes

- Invalid token pair or unsupported pool returns an error response
- Price range outside feasible tick bounds causes a computation failure
- Insufficient wallet balance to fund position leads to rejection
- Uniswap V4 hook incompatibility may block position creation
- Network congestion or RPC issues may delay transaction submission
- Malformed query parameters result in a 400 Bad Request

## How this service works

Plan, open, adjust, and close concentrated liquidity positions on Uniswap V3 or V4.

## Output

Returns a plan or execution result for concentrated liquidity operations on Uniswap V3 or V4, including proposed price ranges, fee tier recommendations, position parameters, and transaction data needed to open, adjust, or close a liquidity position.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-skill-uniswap-liquidity-0e216855/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi.agent-layer.tech](https://www.zero.xyz/host/defi.agent-layer.tech/llms.txt)
