{"uid":"cap_dDVR6mKL42YaQJ-VCwyo0","slug":"treasury-supplied-balances-equal-width-histogram-date-by-category-pivot-ec2deeda","name":"Treasury Supplied Balances — Equal-Width Histogram + Date by Category Pivot","description":"Treasury supplied balances — Equal-width histogram + Date by category pivot: Equal-width histogram + 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-173?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_Z7T-1t_2jmoD-ApJww6D_","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":"Runs two analytical reports on user-supplied treasury balance data: an equal-width histogram of balance values and a date-by-category pivot table, for up to 200 rows.","exampleAgentPrompt":"Analyze my treasury balance data — I have 120 rows with opening and closing balances across different instrument groups and dates. Run the equal-width histogram on the opening_balance field using 8 bins, and give me the date-by-category pivot too.","exampleUseCases":[{"title":"Treasury balance distribution analysis","prompt":"I have 80 rows of daily treasury records with opening and closing balances across instrument groups like 'T-Bills' and 'Bonds'. Can you run an equal-width histogram on the closing_balance field with 10 bins and also give me a date-by-category pivot so I can see how balances trend across groups over time?"},{"title":"Month-end balance reporting by instrument","prompt":"I need two reports on my 150-row treasury dataset: a histogram showing how opening_balance values are spread across 5 equal-width bins, and a pivot table breaking down balances by instrument_group and date. Can you do both at once?"},{"title":"Detecting balance concentration across buckets","prompt":"Here are 60 treasury records with daily opening and closing balances across several instrument groups. Run a histogram with 7 bins on the opening_balance to see where most values cluster, and also pivot by date and category so I can spot any unusual concentration."}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing the frequency distribution of the selected balance field across the specified number of bins, and (2) a date-by-category pivot table aggregating balance values by date and instrument_group — both computed locally without external data lookups.","failureModes":["Rows array is empty or missing required fields (row_id, date, instrument_group, opening_balance, closing_balance)","More than 200 rows submitted — exceeds maximum limit","Invalid date format (must be YYYY-MM-DD)","Bins value out of range (must be 1–30)","Balance values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)","Invalid field value — must be 'opening_balance' or 'closing_balance'","Payment not included or insufficient (requires 0.01 USDC via x402)"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of treasury balance records (with instrument groups and dates) and need both a histogram of balance distributions and a date-by-category pivot in a single low-cost call. It is ideal for offline/local analytical summaries without any need for live market data or external lookups. It is not suitable for real-time data fetching, prediction, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:12.687Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-equal-width-histogram-date-by-category-pivot-ec2deeda"}