{"uid":"cap_vCii3BpiB3mf5HMhktX-0","slug":"token-bid-ask-spread-target-gap-calculator-41235a54","name":"Token Bid-Ask Spread Target Gap Calculator","description":"Token bid-ask spread — Target gap calculation: Target gap calculation for Token bid-ask spread. 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-quote-spread-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":{"ask":1.02,"bid":0.98},"required":["ask","bid"],"properties":{"ask":{"type":"number","default":1.02,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"bid":{"type":"number","default":0.98,"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_9aMxVH1JthSZOMDwYpMvd","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 a token's bid-ask spread given observed bid/ask prices and a target value, returning a deterministic report.","exampleAgentPrompt":"Calculate the bid-ask spread target gap for a token with a bid price of 0.98 and ask price of 1.02, using a target of 100.","exampleUseCases":[{"title":"Token liquidity spread check","prompt":"I have a token with a bid of 0.95 and an ask of 1.05 — can you calculate the target gap for me with a target of 50 so I can see how far off the spread is?"},{"title":"Spread threshold verdict for trading bot","prompt":"My trading bot needs to know if the spread gap for a token with bid 1.00 and ask 1.03 meets a target of 75 — run the target gap calculation and give me the verdict."},{"title":"Pre-trade spread analysis","prompt":"Before I place this order, calculate the bid-ask spread target gap for my token: bid is 0.985, ask is 1.015, and I want to check against a target of 200."}],"resultDescription":"A deterministic target gap calculation report for the token's bid-ask spread, indicating the computed gap relative to the supplied target value and optionally a threshold verdict — no live market data or trade recommendations included.","failureModes":["bid or ask price is zero or negative — rejected by schema minimum constraint","ask price lower than bid price — may produce unexpected or inverted gap result","target value outside supported range — capped at schema maximum","missing required bid or ask values — request rejected with validation error","payment not included or insufficient — 402 payment required response"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, deterministic calculation of the bid-ask spread target gap for a token given specific observed bid and ask prices, especially when you already have the price observations and just need the gap computed against a threshold — not for live market scanning, price discovery, or safety analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:53.506Z","isFirstParty":false,"canonicalSlug":"token-bid-ask-spread-target-gap-calculator-41235a54"}