{"uid":"cap_d82cye0z8uoh6-PC02_Fe","slug":"token-trade-depth-target-gap-calculator-c9a56c3f","name":"Token Trade Depth — Target Gap Calculator","description":"Token trade relative to quoted liquidity — Target gap calculation: Target gap calculation for Token trade relative to quoted liquidity. 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-trade-depth-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":{"trade_usd":1000,"liquidity_usd":100000},"required":["trade_usd","liquidity_usd"],"properties":{"trade_usd":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"liquidity_usd":{"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_j_5Cj7ObCEJcsJh4IBXeR","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 between a token trade size and quoted liquidity depth, returning a deterministic verdict based on supplied trade and liquidity values.","exampleAgentPrompt":"Can you calculate the target gap for a token trade of $5,000 against a quoted liquidity of $200,000, using a target threshold of 50?","exampleUseCases":[{"title":"Pre-trade liquidity adequacy check","prompt":"I'm about to place a $10,000 token buy order and the quoted liquidity is $500,000 — can you run the target gap calculation with a target of 100 to see if the trade is within acceptable depth bounds?"},{"title":"DeFi bot trade sizing validation","prompt":"My trading bot is about to execute a $2,500 swap with $80,000 in quoted pool liquidity — calculate the target gap with a target threshold of 25 to verify the trade size is reasonable relative to depth."},{"title":"Liquidity depth comparison for large order","prompt":"We're planning a $50,000 token trade with $1,000,000 in quoted market liquidity — run the target gap calculation with a target of 200 so we can see the gap report before proceeding."}],"resultDescription":"A bounded target gap calculation report indicating the computed gap between the trade size and quoted liquidity relative to the specified target, returning a deterministic verdict (e.g., within/outside threshold) based solely on the supplied input values — not a live scan or trade recommendation.","failureModes":["Missing required values (trade_usd or liquidity_usd) returns a validation error","Zero or negative trade_usd or liquidity_usd rejected due to exclusiveMinimum constraint","Values exceeding maximum bounds (1e16) return an out-of-range error","Invalid JSON body returns a 400-level error","Payment not included or insufficient results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic calculation of the gap between a token trade size and available quoted liquidity against a caller-defined target threshold — particularly useful for pre-trade checks, bot trade sizing validation, or liquidity adequacy assessment without needing live market data feeds or safety oracles.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:48.930Z","isFirstParty":false,"canonicalSlug":"token-trade-depth-target-gap-calculator-c9a56c3f"}