{"uid":"cap_XCOlVgOvDqIUKGKStyR1e","slug":"savings-ledger-numeric-row-ordering-trailing-mean-series-f5f27e74","name":"Savings Ledger — Numeric Row Ordering + Trailing Mean Series","description":"Savings ledger — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series 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-115?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_QPw-wzk0ADQrkNudVV_11","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 numeric row ordering and a trailing mean series for savings ledger records (deposit_amount or withdrawal_amount) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Rank my savings ledger rows by deposit_amount and compute a trailing mean series with a window of 3 — here are my records: row-1 2024-01-01 group-a deposit 500 withdrawal 50, row-2 2024-01-02 group-b deposit 750 withdrawal 100, row-3 2024-01-03 group-a deposit 600 withdrawal 75.","exampleUseCases":[{"title":"Monthly savings deposit trend analysis","prompt":"I have 12 months of savings ledger entries with deposits and withdrawals by group — can you rank them by deposit_amount and show me a trailing mean series with a window of 3 so I can see the smoothed deposit trend over time?"},{"title":"Withdrawal spike detection in savings account","prompt":"Here are 30 rows of my savings account ledger. Sort them by withdrawal_amount and give me a rolling 5-period trailing mean on the withdrawal_amount field so I can spot unusually high withdrawal periods."},{"title":"Comparing deposit patterns across instrument groups","prompt":"I've got savings ledger data for two instrument groups over the past quarter — please rank all rows numerically by deposit_amount and compute a trailing mean with window 4 so I can compare deposit patterns across groups."}],"resultDescription":"Two analytical reports: (1) the input savings ledger rows reordered by numeric rank on the chosen field (deposit_amount or withdrawal_amount), and (2) a trailing mean series computed over the chosen field using the specified rolling window size, covering up to 200 rows of input data.","failureModes":["Input rows array empty or missing — validation error","More than 200 rows submitted — exceeds maxItems limit","Invalid date format in any row — pattern mismatch error","Window size outside 2–200 range — schema validation failure","Missing required fields (row_id, date, deposit_amount, withdrawal_amount) — schema error","Payment not included or insufficient USDC — 402 payment required","Field value not one of deposit_amount or withdrawal_amount — enum validation error"],"whenToPreferThis":"Choose this endpoint when you have savings ledger tabular data (up to 200 rows) and need both a numeric sort/ranking AND a trailing/rolling mean series computed locally without any external data lookup, prediction, or professional advice. It is ideal for lightweight, offline-style analytics on deposit or withdrawal figures where two reports are needed in a single call at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T18:48:08.724Z","isFirstParty":false,"canonicalSlug":"savings-ledger-numeric-row-ordering-trailing-mean-series-f5f27e74"}