{"uid":"cap_LXNCqsCxIHBCFmdETjUwa","slug":"savings-ledger-analytics-base-100-series-secondary-measure-weighted-8357b151","name":"Savings Ledger Analytics — Base-100 Series + Secondary-Measure Weighted Mean","description":"Savings ledger — Base-100 series + Secondary-measure weighted mean: Base-100 series + 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-166?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"},"base_index":{"type":"integer","default":0,"maximum":199,"minimum":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__pA7qLxEtGKmQcCF9b4Or","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 a base-100 index series and a secondary-measure weighted mean for savings ledger records (deposit and withdrawal amounts) supplied by the caller, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"Can you run both a base-100 index series and a secondary-measure weighted mean on my savings ledger data? I have rows with deposit_amount and withdrawal_amount fields, and I want to use deposit_amount as the primary field with the first row as the base index (index 0).","exampleUseCases":[{"title":"Normalize monthly savings deposit trends","prompt":"I have 12 months of savings ledger data with deposit and withdrawal amounts per instrument group. Can you compute a base-100 index series using deposit_amount, starting from month 1 as the base, so I can see how deposits have grown relative to that baseline?"},{"title":"Weighted mean for withdrawal analysis","prompt":"I've got about 80 rows of savings account records with dates, instrument groups, deposit amounts, and withdrawal amounts. Please run both the base-100 series and the weighted mean using withdrawal_amount as the primary field and row index 0 as the base."},{"title":"Instrument group comparison via base-100 indexing","prompt":"I need to compare deposit activity across two instrument groups — group-a and group-b — across roughly 150 ledger entries. Can you generate a base-100 index series plus weighted mean for deposit_amount starting from the very first row?"}],"resultDescription":"Returns two analytical reports: (1) a base-100 index series showing each row's primary field value normalized relative to the chosen base row, and (2) a secondary-measure weighted mean aggregating the complementary field across the supplied savings ledger rows. No external data is fetched; all computation is performed locally on the submitted rows.","failureModes":["Fewer than 1 row or more than 200 rows submitted — request rejected","base_index out of range (0–199) for the submitted row count","Invalid date format (must match YYYY-MM-DD pattern)","Missing required fields (row_id, instrument_group, date, deposit_amount, withdrawal_amount)","row_id or instrument_group exceeds 80-character max length","Amount values outside allowed range (-1e12 to 1e12)","Invalid field enum value (must be 'deposit_amount' or 'withdrawal_amount')"],"whenToPreferThis":"Choose this endpoint when you have pre-collected savings ledger data (deposits and withdrawals) and need two statistical outputs — a base-100 normalized index series and a weighted mean — without requiring live data lookups, predictions, or external enrichment. It is ideal for batch financial analytics on up to 200 rows at very low cost ($0.01 USDC for both reports). Prefer this over generic statistics APIs when your data is structured around deposit/withdrawal amounts with instrument group segmentation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T18:48:13.639Z","isFirstParty":false,"canonicalSlug":"savings-ledger-analytics-base-100-series-secondary-measure-weighted-8357b151"}