{"uid":"cap_Y1sily4o8gtwGVNKrz3zH","slug":"treasury-supplied-balances-daily-sum-series-date-by-category-pivot-a951ea2e","name":"Treasury Supplied Balances — Daily Sum Series + Date by Category Pivot","description":"Treasury supplied balances — Daily sum series + Date by category pivot: Daily sum series + Date by category pivot 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-143?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_QrVklCB0It4aIAFBoRB-g","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 treasury supplied balance records (opening and closing balances) to produce a daily sum time series and a date-by-instrument-group pivot table, using local analytical engines.","exampleAgentPrompt":"I have a set of treasury balance records with opening and closing balances across different instrument groups — can you run a daily sum series and a date-by-instrument-group pivot on the closing_balance field for me? Here are the rows: row-1 on 2026-10-01 for group-a with opening 10 and closing 1, row-2 on 2026-10-02 for group-b with opening 20 and closing 2.","exampleUseCases":[{"title":"Daily treasury closing balance trend","prompt":"I've got 30 days of treasury balance data across three instrument groups. Can you sum up the closing_balance for each day and also pivot it by instrument group so I can see how each group contributes per date?"},{"title":"Opening balance audit by instrument group","prompt":"Can you take these treasury records and give me both a daily total series and a date-by-category pivot for opening_balance? I need to spot which instrument groups are driving the largest balances on each day."},{"title":"Month-end treasury reporting","prompt":"For our month-end report, I need a daily sum series plus a pivot table of closing balances broken down by instrument group. Here are the 150 rows of treasury data — please run both reports."}],"resultDescription":"Returns two analytical reports: (1) a daily sum series showing the total of the selected balance field (opening_balance or closing_balance) for each date, and (2) a date-by-instrument-group pivot table showing per-category balance totals across dates. Up to 200 input rows supported; computed locally without external lookup.","failureModes":["Input exceeds 200 rows — request will be rejected or truncated","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) cause validation errors","Invalid date format (non-YYYY-MM-DD) fails schema validation","Balance values outside [-1,000,000,000,000, 1,000,000,000,000] fail schema bounds","Empty rows array rejected (minItems: 1)","Invalid field enum value (must be 'opening_balance' or 'closing_balance')"],"whenToPreferThis":"Choose this endpoint when you have treasury balance data with instrument group categories and need both a time-series daily aggregation AND a cross-tabulated pivot view in a single call, without needing real-time data or external lookups. Ideal for local, offline analytical reporting on supplied datasets of up to 200 rows at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:30.132Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-daily-sum-series-date-by-category-pivot-a951ea2e"}