{"uid":"cap_3_sAf_1hc6w7UeqPlv-xv","slug":"token-buy-volume-fraction-batch-calculation-238f68ae","name":"Token Buy Volume Fraction — Batch Calculation","description":"Token buy volume fraction — Batch calculation: Batch calculation for Token buy volume fraction. 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 batch calculation report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-buy-volume-share-batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["buy_volume","sell_volume"],"properties":{"buy_volume":{"type":"number","default":60000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"sell_volume":{"type":"number","default":40000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"buy_volume":60000,"sell_volume":40000},{"buy_volume":66000,"sell_volume":44000}],"maxItems":200,"minItems":1}}},"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_JaMfIuRjLdlKLBLeU7SK7","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 buy volume fraction (buy volume as a share of total trading volume) for a batch of up to 200 token observations supplied by the caller.","exampleAgentPrompt":"Can you calculate the buy volume fraction for these token observations in batch: [{buy_volume: 60000, sell_volume: 40000}, {buy_volume: 120000, sell_volume: 80000}, {buy_volume: 45000, sell_volume: 95000}]? I need to know what share of total volume is buying for each row.","exampleUseCases":[{"title":"Analyze buy pressure across trading periods","prompt":"I have 50 hourly observations for a token with buy and sell volumes recorded — can you batch-calculate the buy volume fraction for each row so I can see how buy pressure shifted throughout the day?"},{"title":"Compare buy dominance across multiple tokens","prompt":"Here are trading volume snapshots for 10 different tokens, each with a buy_volume and sell_volume. Can you compute the buy volume fraction for all of them at once so I can rank them by buy dominance?"},{"title":"Flag high-buy-fraction periods in a dataset","prompt":"I've got a table of 200 token trading intervals with buy and sell volumes. Batch-calculate the buy volume share for each entry and tell me which ones show a buy fraction above 0.7."}],"resultDescription":"A batch calculation report containing the buy volume fraction (buy_volume divided by total volume) for each submitted row of token observations. Results are deterministic given the inputs and may include a threshold-based verdict if a caller-defined threshold is specified. No live market data, safety assessments, or trade recommendations are included.","failureModes":["Rows array is empty or missing — minItems:1 violated, request rejected","buy_volume or sell_volume is zero or negative — exclusiveMinimum:0 constraint violated","More than 200 rows submitted — maxItems:200 limit exceeded","buy_volume or sell_volume exceeds 1e16 — maximum constraint violated","Missing required fields buy_volume or sell_volume in any row","Payment not provided or insufficient — x402 payment of 0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need to compute buy volume fraction for multiple token observations in a single call rather than one at a time. It is ideal for batch analytical pipelines, backtesting workflows, or dashboards that process many rows of historical or snapshot trading data. It is a pure deterministic calculation on caller-supplied data — not a live market data feed — so prefer it when you already have buy/sell volume figures and need the fractional metric computed efficiently at scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:46.850Z","isFirstParty":false,"canonicalSlug":"token-buy-volume-fraction-batch-calculation-238f68ae"}