{"uid":"cap_KeZ2owNwEwvl6jQ07meXw","slug":"token-buy-to-sell-activity-ratio-adjacent-period-changes-e9bd1e37","name":"Token Buy-to-Sell Activity Ratio — Adjacent Period Changes","description":"Token buy-to-sell activity ratio — Adjacent period changes: Adjacent period changes for Token buy-to-sell activity ratio. 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 adjacent period changes report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-buy-sell-ratio-period-changes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["buy_count","sell_count"],"properties":{"buy_count":{"type":"number","default":120,"maximum":10000000000000000,"minimum":0},"sell_count":{"type":"number","default":80,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"buy_count":120,"sell_count":80},{"buy_count":132,"sell_count":88},{"buy_count":120,"sell_count":80},{"buy_count":132,"sell_count":88}],"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_1mD5IGDrZg6YfBO_Eu9bf","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 the adjacent period-over-period changes in the buy-to-sell activity ratio for a token, given sequences of buy and sell counts.","exampleAgentPrompt":"Calculate the adjacent period changes in buy-to-sell ratio for this token using these four observation periods: period 1 had 120 buys and 80 sells, period 2 had 132 buys and 88 sells, period 3 had 100 buys and 90 sells, and period 4 had 145 buys and 70 sells.","exampleUseCases":[{"title":"Token momentum shift detection","prompt":"I have four consecutive hourly snapshots of a token's trading activity — hour 1 was 200 buys and 150 sells, hour 2 was 180 buys and 160 sells, hour 3 was 220 buys and 130 sells, hour 4 was 250 buys and 100 sells. Can you calculate how the buy-to-sell ratio changed between each adjacent period?"},{"title":"Pre/post event ratio comparison","prompt":"Before and after a token listing announcement I recorded these buy/sell counts: pre-event period 1 had 50 buys and 60 sells, pre-event period 2 had 55 buys and 58 sells, post-event period 1 had 300 buys and 80 sells, post-event period 2 had 280 buys and 90 sells — what are the adjacent period changes in the buy-to-sell ratio?"},{"title":"Weekly trading pattern analysis","prompt":"I tracked a token's weekly buy and sell counts over five weeks: week 1 was 500 buys and 400 sells, week 2 was 480 buys and 420 sells, week 3 was 600 buys and 350 sells, week 4 was 550 buys and 380 sells, week 5 was 700 buys and 300 sells. Show me how the buy-to-sell ratio shifted between each consecutive week."}],"resultDescription":"Returns a deterministic report of adjacent period changes in the buy-to-sell activity ratio, computed from the supplied sequence of buy_count and sell_count observation rows. Each result entry reflects how the ratio shifted between one period and the next (e.g., delta values or percentage change), based solely on the caller-supplied data — not a live market scan or trade recommendation.","failureModes":["Fewer than 2 rows provided — minimum 2 observation periods required","sell_count of 0 in any row — division by zero is rejected (exclusiveMinimum enforced)","buy_count or sell_count exceeds maximum value (1e16) — validation error","More than 200 rows submitted — exceeds maxItems limit","Malformed row objects missing required buy_count or sell_count fields","Payment not included or insufficient (must be 0.01 USDC via x402 protocol)"],"whenToPreferThis":"Choose this endpoint when you have sequential token observation data (buy/sell counts per period) and need a fast, deterministic, period-by-period delta of the buy-to-sell ratio. It is purpose-built for adjacent-period change analysis as opposed to cumulative trend or raw ratio lookup. Use it when you supply your own data and need a bounded, reproducible calculation rather than a live market feed or AI-driven signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:41.794Z","isFirstParty":false,"canonicalSlug":"token-buy-to-sell-activity-ratio-adjacent-period-changes-e9bd1e37"}