{"uid":"cap_3wqZjM6XmJIbyP25okU76","slug":"savings-ledger-grouped-numeric-summary-secondary-measure-weighted-mean-535828ac","name":"Savings Ledger — Grouped Numeric Summary + Secondary-Measure Weighted Mean","description":"Savings ledger — Grouped numeric summary + Secondary-measure weighted mean: Grouped numeric summary + Secondary-measure weighted mean for supplied savings ledger records (deposit_amount, withdrawal_amount). 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-23-096?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","deposit_amount","withdrawal_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"deposit_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"withdrawal_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","deposit_amount":10,"instrument_group":"group-a","withdrawal_amount":1},{"date":"2026-10-02","row_id":"row-2","deposit_amount":20,"instrument_group":"group-b","withdrawal_amount":2},{"date":"2026-10-03","row_id":"row-3","deposit_amount":15,"instrument_group":"group-a","withdrawal_amount":3},{"date":"2026-10-04","row_id":"row-4","deposit_amount":30,"instrument_group":"group-b","withdrawal_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["deposit_amount","withdrawal_amount"],"type":"string","default":"deposit_amount"}}},"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_1cHkwicf5xnmx6mXi7Hx9","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":"Computes grouped numeric summary statistics and a secondary-measure weighted mean for savings ledger records containing deposit and withdrawal amounts, across up to 200 rows.","exampleAgentPrompt":"Can you group my savings ledger records by instrument_group and give me a numeric summary plus a weighted mean of deposit_amount? I have 4 rows with dates ranging from 2026-10-01 to 2026-10-04, groups 'group-a' and 'group-b', and deposit amounts of 10, 20, 15, and 30 with corresponding withdrawals of 1, 2, 3, and 4.","exampleUseCases":[{"title":"Monthly savings breakdown by account type","prompt":"I have 50 rows from my savings ledger spanning October 2026, each tagged with an instrument group like 'checking', 'high-yield', or 'money-market'. Can you group them and give me a numeric summary of deposit_amount plus a weighted mean using withdrawal_amount as the secondary measure?"},{"title":"Comparing deposit performance across fund categories","prompt":"I want to compare deposit amounts across different savings instrument groups in my ledger — can you compute a grouped numeric summary and a secondary-measure weighted mean for deposit_amount across my 120 rows, grouped by instrument_group?"},{"title":"Withdrawal analysis for budgeting review","prompt":"Can you run a grouped numeric summary and weighted mean on withdrawal_amount across my savings ledger? I have 80 rows tagged by instrument group and I need the stats grouped per category so I can review my spending patterns."}],"resultDescription":"Returns two independent analytical reports for the supplied savings ledger data: (1) a grouped numeric summary (e.g., count, sum, mean, min, max) of the selected field (deposit_amount or withdrawal_amount) broken down by instrument_group, and (2) a secondary-measure weighted mean of the selected field using the other numeric column as weights, also grouped. Both reports are computed locally with no external lookups.","failureModes":["Missing required fields (row_id, instrument_group, date, deposit_amount, withdrawal_amount) cause validation errors","Submitting more than 200 rows exceeds the max row limit and will be rejected","Invalid date format (not YYYY-MM-DD) will fail pattern validation","Null values in both numeric fields for a row may affect weighted mean computation","Payment failure (insufficient USDC) results in 402 response and no computation"],"whenToPreferThis":"Choose this endpoint when you have savings ledger data with deposit and withdrawal amounts grouped by instrument categories and need both a grouped numeric summary and a weighted mean in a single call. It is ideal for lightweight, local statistical analysis of up to 200 rows without requiring a live data connection, external model inference, or professional financial assessment. It is cost-effective at $0.01 USDC for two reports.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:39:01.680Z","isFirstParty":false,"canonicalSlug":"savings-ledger-grouped-numeric-summary-secondary-measure-weighted-mean-535828ac"}