{"uid":"cap_00xPa3oie84DEnKBMsKRC","slug":"savings-ledger-daily-sum-series-with-missing-value-fill-f14ea04b","name":"Savings Ledger Daily Sum Series with Missing-Value Fill","description":"Savings ledger — Daily sum series + Explicit missing-value fill: Daily sum series + Explicit missing-value fill 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-145?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_tA8w7Dyiuwczk1eenRZDZ","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 daily sum time series and fills explicit missing values for savings ledger records containing deposit and withdrawal amounts (up to 200 rows, 2 reports per call).","exampleAgentPrompt":"Analyze my savings ledger records — I have 50 rows with dates, instrument groups, deposit_amount, and withdrawal_amount fields. Compute a daily sum series for deposit_amount and fill any missing values using the median method.","exampleUseCases":[{"title":"Monthly savings deposit trend analysis","prompt":"I have 120 rows of savings ledger data with dates, instrument groups, deposits, and withdrawals. Can you compute a daily sum series on deposit_amount and fill in any gaps using median so I can see how my savings deposits trended each day?"},{"title":"Withdrawal aggregation with zero-fill for missing days","prompt":"Here are my savings ledger records for the past quarter — about 80 rows. Give me a daily sum series for withdrawal_amount and fill any missing withdrawal values with zero."},{"title":"Multi-group savings ledger daily totals","prompt":"I have savings ledger entries split across two instrument groups, about 150 rows total. Can you run a daily sum series on deposit_amount across those groups and use mean to fill any missing values, and give me both reports?"}],"resultDescription":"Returns two analytical reports: (1) a daily sum time series aggregating the specified field (deposit_amount or withdrawal_amount) per date, and (2) an explicit missing-value fill report substituting nulls in the selected field using the chosen method (zero, mean, or median). Both reports are derived from the supplied rows without external lookups.","failureModes":["Exceeding 200 rows returns an error — caller must batch data","Invalid date format (not YYYY-MM-DD) causes validation failure","Missing required fields (row_id, date, instrument_group, deposit_amount, withdrawal_amount) cause rejection","Values outside ±1,000,000,000,000 are rejected","Specifying a field not in the enum (deposit_amount/withdrawal_amount) causes an error","Specifying a method not in the enum (zero/mean/median) causes an error","Empty rows array (minItems:1 violated) causes rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of savings ledger data and need both a daily sum time series and missing-value imputation in a single $0.01 USDC call. It is purpose-built for deposit_amount and withdrawal_amount fields grouped by instrument_group and date, with no need for external data or live lookups. Prefer it over general-purpose analytics APIs when working within personal finance or savings ledger data pipelines that need lightweight, offline-safe computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:52.257Z","isFirstParty":false,"canonicalSlug":"savings-ledger-daily-sum-series-with-missing-value-fill-f14ea04b"}