{"uid":"cap_dsYK4GwxH5HfQEP9XQM7b","slug":"signalharness-defi-concentrated-liquidity-amounts-calculator-176768ac","name":"SignalHarness DeFi Concentrated Liquidity Amounts Calculator","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/defi_concentrated_liquidity_amounts/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"concentrated_liquidity_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Caller must supply protocol-compatible liquidity and square-root prices."],"service_id":"defi_concentrated_liquidity_amounts","evidence_scope":"caller_supplied_data","concentrated_liquidity_amounts":"{\"amount0\":\"16.666666666666666666\",\"amount1\":\"100\",\"region\":\"in_range\"}"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"defi_concentrated_liquidity_amounts","executionId":"example-execution","startedAtMs":0,"amountAtomic":"15000","resultSha256":"6747d4548e0f7608e64308d1d466d1f7d3a06d6374abfa80344de46cd0f83ce2","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x0Fs2sPxMiiMopkLzrj5c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates token amounts, ranges, and positions for DeFi concentrated liquidity (e.g. Uniswap v3/v4-style) pools given caller-supplied parameters.","exampleAgentPrompt":"Calculate the concentrated liquidity amounts I'd need to open a Uniswap v3-style position on the ETH/USDC pool with a price range from 1800 to 2200 and a target liquidity of 1000 USDC worth — give me the exact token0 and token1 amounts.","exampleUseCases":[{"title":"Size a new LP position on Base","prompt":"I want to add concentrated liquidity to the WETH/USDC pool on Base between prices 1900 and 2100, starting with 500 USDC. How much WETH and USDC do I actually need to provide?"},{"title":"DeFi yield strategy position planning","prompt":"For my DeFi yield strategy, compute the token amounts required for a concentrated liquidity position in the cbETH/ETH pool with a tight range of 0.98 to 1.02 and a target of 2 ETH total value."},{"title":"Rebalancing an out-of-range LP position","prompt":"My concentrated liquidity position went out of range — help me recalculate the new token amounts I need to reenter the USDC/DAI pool between prices 0.999 and 1.001 with 10,000 USDC worth of liquidity."}],"resultDescription":"Returns a JSON object containing the computed concentrated_liquidity_amounts (token quantities and position data), any warnings about the input (e.g. invalid ranges or edge cases), the service_id confirming which calculation was run, and a full receipt with payment details, execution metadata, latency, and a result SHA256 hash for verification. The evidence_scope field indicates the calculation was performed on caller-supplied data.","failureModes":["Malformed or missing concentrated_liquidity_request field returns a validation error","Invalid price or tick range values (e.g. lower bound >= upper bound) may produce warnings or errors","Extremely large input strings (>65536 chars) are rejected","Network or payment issues on Base may cause failed receipt status","Ambiguous or incomplete liquidity parameters may result in warnings rather than hard failures"],"whenToPreferThis":"Choose this endpoint when you need precise, programmatic computation of concentrated liquidity token amounts for DeFi AMM positions (Uniswap v3/v4-style), especially within an agent workflow on Base network. It is preferable over off-chain spreadsheets or manual math when you need an auditable receipt, SHA256 result hash, and deterministic calculation as part of an automated DeFi strategy. Best suited for agents that need to size LP positions, plan rebalances, or validate liquidity inputs before on-chain execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:51.155Z","isFirstParty":false}