{"uid":"cap_spw3A9Qac7vpNuagWI7pF","slug":"treasury-supplied-balances-category-frequencies-adjacent-row-changes-2db4c87e","name":"Treasury Supplied Balances — Category Frequencies + Adjacent Row Changes","description":"Treasury supplied balances — Category frequencies + Adjacent row changes: Category frequencies + Adjacent row changes for supplied treasury supplied balances records (opening_balance, closing_balance). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-16-104?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","opening_balance","closing_balance"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"closing_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"opening_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","closing_balance":1,"opening_balance":10,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","closing_balance":2,"opening_balance":20,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","closing_balance":3,"opening_balance":15,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","closing_balance":4,"opening_balance":30,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["opening_balance","closing_balance"],"type":"string","default":"opening_balance"}}},"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_kh9Bw6DnMv8ghNTHLSrc0","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":"Analyzes user-supplied treasury balance records to produce category frequency distributions and adjacent-row change metrics for opening and closing balances.","exampleAgentPrompt":"I have 50 rows of treasury balance data with columns for row ID, instrument group, date, opening balance, and closing balance — can you run the category frequency and adjacent row change reports on the opening_balance field for me?","exampleUseCases":[{"title":"Daily treasury balance movement audit","prompt":"Here are 120 rows of our daily treasury records with row IDs, instrument groups, dates, opening balances, and closing balances — please run the category frequencies and adjacent row changes analysis on the closing_balance field so I can see how balances shift day over day."},{"title":"Instrument group distribution for finance review","prompt":"I need to know how frequently each instrument group appears in our treasury data and what the sequential changes look like — here are 80 rows with row IDs, dates, instrument groups, and opening and closing balances. Run it against opening_balance."},{"title":"Pre-reconciliation balance pattern check","prompt":"Before I send this treasury data to reconciliation, can you analyze these 200 rows for category frequencies and adjacent row changes on the closing_balance? Each row has a row ID, date, instrument group, opening balance, and closing balance."}],"resultDescription":"Returns two analytical reports: (1) category frequency counts showing how often each instrument_group appears in the supplied rows, and (2) adjacent row change values showing the difference between consecutive rows for the selected balance field (opening_balance or closing_balance). Results cover up to 200 supplied rows and are computed locally without external lookups.","failureModes":["Rows array is empty or missing — returns validation error","More than 200 rows submitted — exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) — schema validation fails","Balance values outside allowed range (-1T to +1T) — rejected","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — validation error","Invalid field enum value (not opening_balance or closing_balance) — rejected","Payment of 0.01 USDC not received — request not processed"],"whenToPreferThis":"Choose this endpoint when you have treasury balance records with instrument group and date fields and need both a category frequency summary and sequential row-to-row change analysis in a single low-cost call. It is ideal for pre-reconciliation checks, internal finance reporting, or auditing balance movement patterns without needing real-time data or external lookups. Prefer this over general analytics tools when your data fits the treasury balance schema (opening/closing balance, instrument group, date) and you need two bundled reports at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:49:56.672Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-category-frequencies-adjacent-row-changes-2db4c87e"}