{"uid":"cap_D6I-8FpqWo2L3GFY7goMA","slug":"token-liquidity-relative-change-target-gap-calculator-98f23f04","name":"Token Liquidity Relative Change — Target Gap Calculator","description":"Token liquidity relative change — Target gap calculation: Target gap calculation for Token liquidity relative change. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded target gap calculation report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-liquidity-change-target-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000},"values":{"type":"object","default":{"current_liquidity":120000,"previous_liquidity":100000},"required":["current_liquidity","previous_liquidity"],"properties":{"current_liquidity":{"type":"number","default":120000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"previous_liquidity":{"type":"number","default":100000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ofetyBXS0owsDf-IloeAW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the target gap for token liquidity relative change given current and previous liquidity values and a user-specified target threshold.","exampleAgentPrompt":"Can you calculate the target gap for token liquidity relative change where previous liquidity was 100000, current liquidity is 120000, and my target is 25?","exampleUseCases":[{"title":"DeFi pool liquidity improvement check","prompt":"My token pool had 80000 in liquidity last week and now has 95000 — can you compute the relative change target gap against a target of 20 for me?"},{"title":"Automated liquidity monitoring alert","prompt":"Check whether the liquidity change from 500000 to 620000 meets a target gap of 15, so I know if the threshold was hit."},{"title":"LP strategy backtesting comparison","prompt":"I want to evaluate a liquidity shift from 1000000 to 1150000 against a target of 10 — calculate the target gap and tell me if we're above or below the mark."}],"resultDescription":"Returns a bounded target gap calculation report for token liquidity relative change, showing the computed relative change between current and previous liquidity values and how that figure compares to the specified target threshold. Output is deterministic and verdict-based (caller-threshold), not a live market scan or trade recommendation.","failureModes":["current_liquidity or previous_liquidity set to zero or negative — violates exclusiveMinimum constraint and returns validation error","target value outside allowed range (beyond ±1e18) triggers schema validation failure","missing required liquidity fields returns a 400-level error","network or payment failure via x402 protocol prevents report delivery"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic calculation of how far a token's liquidity relative change falls from a user-defined target threshold — particularly useful in DeFi monitoring pipelines, LP strategy evaluation, or automated alert systems where you supply observed liquidity snapshots and want a gap verdict without a live market scan or AI-generated recommendation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:11.398Z","isFirstParty":false,"canonicalSlug":"token-liquidity-relative-change-target-gap-calculator-98f23f04"}