{"uid":"cap_6kDMAJQ7r91LqOpIsw0LM","slug":"treasury-supplied-balances-numeric-row-ordering-keyed-dataset-ccb402f6","name":"Treasury Supplied Balances — Numeric Row Ordering + Keyed Dataset Comparison","description":"Treasury supplied balances — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison 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-123?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"},"other":{"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":21,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","closing_balance":3,"opening_balance":17,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","closing_balance":4,"opening_balance":33,"instrument_group":"group-b"}],"maxItems":200,"minItems":0}}},"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_Hfmk0zGVu3WnoIkpQAmN1","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":"Sorts treasury balance records by numeric value and compares two keyed datasets of opening/closing balances, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have two sets of treasury balance records — each with up to 50 rows including row_id, instrument_group, date, opening_balance, and closing_balance — can you sort them by opening_balance and compare the two datasets to show me what changed between them?","exampleUseCases":[{"title":"Month-end treasury balance ranking","prompt":"I have 80 rows of treasury data for October with opening and closing balances by instrument group. Can you sort them by closing_balance from highest to lowest and compare this month's dataset against last month's to highlight the differences?"},{"title":"Dual-period balance snapshot comparison","prompt":"Here are two sets of 40 treasury balance records — one from Q3 and one from Q4, each with a row_id, date, instrument_group, opening_balance, and closing_balance. Please rank them by opening_balance and do a keyed comparison to show me which rows changed between the two periods."},{"title":"Instrument group balance audit","prompt":"I need to audit our treasury positions across two reporting snapshots — 60 rows each. Can you numerically order them by closing_balance and run a keyed dataset comparison so I can see where the figures diverged?"}],"resultDescription":"Returns two reports: (1) the input rows ranked/sorted by the selected numeric field (opening_balance or closing_balance), and (2) a keyed comparison between the primary and secondary datasets identifying matches, mismatches, and differences by row_id — all computed locally with no external calls.","failureModes":["More than 200 rows submitted — request rejected","Missing required fields (row_id, date, opening_balance, closing_balance, instrument_group) causes validation error","Date strings not matching YYYY-MM-DD pattern are rejected","Balance values exceeding ±1,000,000,000,000 are rejected","Empty rows array fails minItems:1 constraint","Payment of 0.01 USDC not received — 402 response returned"],"whenToPreferThis":"Use this endpoint when you have treasury balance data already in hand and need to sort records numerically and/or compare two snapshots side-by-side using row keys — especially when you want two analytical outputs in a single low-cost call. Prefer this over general-purpose analytics when your data fits the treasury balance schema (opening_balance, closing_balance, instrument_group, date) and you need both ordering and comparison without any live data fetching or external enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:32.641Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-numeric-row-ordering-keyed-dataset-ccb402f6"}