{"uid":"cap_OopWk6HMJlR7wmq_I19oK","slug":"treasury-supplied-balances-exact-row-deduplication-adjacent-row-changes-db32d35c","name":"Treasury Supplied Balances — Exact Row Deduplication + Adjacent Row Changes","description":"Treasury supplied balances — Exact row deduplication + Adjacent row changes: Exact row deduplication + 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-046?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_9B88x3EtnXBkWA3cXYIB2","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":"Deduplicates exact duplicate rows and computes adjacent row changes for treasury supplied balance records (opening_balance or closing_balance) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Take these treasury balance rows for instrument groups A and B across October 2026 — row-1 through row-4 with their opening and closing balances — run exact row deduplication and adjacent row changes on the opening_balance field, and give me both reports.","exampleUseCases":[{"title":"Treasury ledger deduplication audit","prompt":"I have 150 treasury balance records for multiple instrument groups across Q3 — can you run exact row deduplication on the closing_balance field and show me which rows are duplicates and what the adjacent changes look like?"},{"title":"Period-over-period opening balance analysis","prompt":"Here are our daily opening balances for treasury instruments from January through March, up to 200 rows — run adjacent row change detection on opening_balance so I can see how the balance shifts day by day, and also deduplicate any exact repeated rows."},{"title":"Instrument group balance change tracking","prompt":"I've got a CSV of treasury supplied balances by instrument group with dates, opening and closing values — please deduplicate exact rows and compute adjacent row changes for the closing_balance field so I can identify where balances changed between consecutive records."}],"resultDescription":"Two analytical reports: (1) a deduplicated set of rows with exact duplicate records removed, and (2) a list of adjacent row changes showing the delta between consecutive records for the selected balance field (opening_balance or closing_balance), covering up to 200 input rows.","failureModes":["Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) returns validation error","Date not in YYYY-MM-DD format causes schema rejection","More than 200 rows submitted exceeds maxItems limit","row_id exceeding 80 characters rejected","Balance values outside ±1,000,000,000,000 rejected","Invalid field enum value (must be opening_balance or closing_balance)","Empty rows array (minItems: 1) returns error","Payment not fulfilled via x402 protocol blocks request"],"whenToPreferThis":"Choose this endpoint when you need to clean treasury balance datasets by removing exact duplicate rows AND simultaneously analyze period-over-period changes between adjacent records. It is purpose-built for treasury financial data with opening and closing balance fields, and delivers both deduplication and change detection in a single $0.01 call. Prefer this over general-purpose analytics when your dataset is structured with instrument groups, dates, and balance columns up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:46.691Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-exact-row-deduplication-adjacent-row-changes-db32d35c"}