{"uid":"cap_mqrWnmjsuCm-rxaTfN2Ge","slug":"token-bid-ask-spread-distribution-histogram-742c783c","name":"Token Bid-Ask Spread Distribution Histogram","description":"Token bid-ask spread — Distribution histogram: Distribution histogram 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 distribution histogram report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-quote-spread-histogram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"rows":{"type":"array","items":{"type":"object","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},"default":[{"ask":1.02,"bid":0.98},{"ask":1.122,"bid":1.078},{"ask":1.02,"bid":0.98},{"ask":1.122,"bid":1.078}],"maxItems":200,"minItems":2}}},"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_SwKyLhHx-Ze0XiZMLR0Pi","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":"Computes a distribution histogram of bid-ask spread values across a supplied set of token quote observations, returning binned frequency data.","exampleAgentPrompt":"I have 8 token quote observations — bids of 0.98, 1.078, 0.97, 1.05, 0.99, 1.02, 1.08, 0.96 and asks of 1.02, 1.122, 1.03, 1.10, 1.01, 1.06, 1.12, 1.00 — can you generate a bid-ask spread distribution histogram using 5 bins?","exampleUseCases":[{"title":"Token liquidity spread analysis","prompt":"I've collected 20 bid and ask price pairs for a DeFi token across different time windows — can you compute a histogram of the bid-ask spreads using 8 bins so I can see how liquidity is distributed?"},{"title":"Market maker spread monitoring","prompt":"Here are 50 quote observations for ETH: [bid/ask pairs] — bin the spread values into 10 buckets and show me how frequently spreads fall in each range."},{"title":"Pre-trade spread profiling","prompt":"Before executing a large token order, I want to understand the spread distribution from these 30 recent quotes — can you build a 6-bin histogram of the bid-ask spreads?"}],"resultDescription":"A bounded distribution histogram report showing how bid-ask spread values (ask minus bid) from the supplied observations are distributed across the specified number of bins, including bin boundaries and observation counts per bin. The calculation is deterministic and based solely on the provided data — it is not a live market scan or trade recommendation.","failureModes":["Fewer than 2 row observations provided — minimum 2 required","More than 200 rows submitted — exceeds maxItems limit","Bid or ask value is zero or negative — exclusiveMinimum:0 required","Bins count below 1 or above 30 — outside allowed range","Ask price lower than bid price for an observation — logically inverted spread","Malformed JSON body — missing required bid or ask fields"],"whenToPreferThis":"Choose this endpoint when you have a collected set of token bid/ask price pairs and need a deterministic, histogram-style distribution of spread values for offline analysis, reporting, or pre-trade research. It is ideal for batch analysis of up to 200 observations where you want binned frequency output without live market connectivity. Not suitable for real-time scanning, safety verdicts, or trade signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:16.896Z","isFirstParty":false,"canonicalSlug":"token-bid-ask-spread-distribution-histogram-742c783c"}