{"uid":"cap_YR1Z5UAgQY9C2glvBxYKQ","slug":"uniswap-v3-tick-price-converter-75d945b8","name":"Uniswap V3 Tick/Price Converter","description":"Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.","url":"https://golf-evm-math.x402-evm-math.workers.dev/defi/v3-tick?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"tick":-200000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SX3T0GuwmB2gSrOEhLUh2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts between Uniswap V3 tick values and token prices (token1 per token0) including sqrtPriceX96, accounting for token decimals.","exampleAgentPrompt":"What is the token price (token1 per token0) and sqrtPriceX96 for Uniswap V3 tick -200000, where token0 has 18 decimals and token1 has 6 decimals?","exampleUseCases":[{"title":"Decode live pool tick to price","prompt":"I'm reading a Uniswap V3 pool's current tick of -74959 for the WETH/USDC pool — WETH has 18 decimals and USDC has 6. What's the actual human-readable price of ETH in USDC right now?"},{"title":"Find tick for target entry price","prompt":"I want to set a Uniswap V3 limit order at a price of 0.0003 token1 per token0, where token0 has 6 decimals and token1 has 18 decimals. What tick value should I use?"},{"title":"Compute sqrtPriceX96 for pool initialization","prompt":"I'm deploying a new Uniswap V3 pool and need the sqrtPriceX96 value to initialize it at a price of 1800 — token0 has 18 decimals and token1 has 6 decimals. Can you calculate that for me?"}],"resultDescription":"Returns a JSON object containing the converted value — either the tick (integer) when given a price, or the price (token1 per token0 as a decimal) and sqrtPriceX96 (uint160 as a string) when given a tick — with decimal adjustments applied.","failureModes":["Missing required query parameters (tick or price, decimals0, decimals1) returns an error","Tick value out of Uniswap V3 valid range (-887272 to 887272) may produce an error","Invalid decimal values (non-integer or negative) may cause computation failure","Payment of 0.002 USDC via x402 protocol required or request is rejected with 402"],"whenToPreferThis":"Choose this endpoint when you need precise Uniswap V3 tick-to-price or price-to-tick conversion accounting for token decimals and sqrtPriceX96, especially for on-chain DeFi agents building pool interactions, setting limit orders, or decoding pool state. Prefer this over general math APIs because it handles the specific sqrtPriceX96 encoding and decimal normalization unique to Uniswap V3.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:40:42.851Z","isFirstParty":false,"canonicalSlug":"uniswap-v3-tick-price-converter-75d945b8"}