# Uniswap V3 Tick Calculator (EVM/DeFi Math)

> Uniswap V3 Tick Calculator (EVM/DeFi Math) is a paid API for AI agents from dominion-data.x402-evm-math.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Converts a price or liquidity range into the corresponding Uniswap V3 tick index integer

## Facts

- Endpoint: GET https://dominion-data.x402-evm-math.workers.dev/defi/v3-tick?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uniswap-v3-tick-calculator-evm-defi-math-ecb5a868
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BcWXms8_PIXwnKdAa_eEw

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 uniswap-v3-tick-calculator-evm-defi-math-ecb5a868
```

Example prompt: What is the Uniswap V3 tick index for a price of 2000 USDC per ETH? I need the exact tick integer to set up a concentrated liquidity position.

## When to prefer this

Choose this endpoint when you need precise, on-chain-compatible Uniswap V3 tick integers derived from prices — especially when building EVM transaction calldata for V3 liquidity positions. It is purpose-built for DeFi math in agent workflows and pays per call in USDC on Base, making it suitable for automated pipelines without a subscription. Prefer it over general math libraries when you need a hosted, pay-per-use computation with no setup.

## Known failure modes

- Missing or invalid query parameters result in an error response
- Price value out of valid tick range causes a computation error
- Non-numeric or malformed price input may return a 400 error
- Payment failure via x402/USDC on Base will block the call
- Rate limiting if the USDC payment is not processed correctly

## How this service works

Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.

## Output

Returns a JSON object containing a single `tick` integer (e.g. {"tick": -200000}), which is the Uniswap V3 tick index corresponding to the queried price or parameter. This tick can be used directly in V3 smart contract calls for minting or managing liquidity positions.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tick": -200000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uniswap-v3-tick-calculator-evm-defi-math-ecb5a868/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dominion-data.x402-evm-math.workers.dev](https://www.zero.xyz/host/dominion-data.x402-evm-math.workers.dev/llms.txt)
