{"uid":"cap_0ej9spKuOHEdc4p2ySPau","slug":"savings-ledger-two-measure-correlation-date-by-category-pivot-027b5905","name":"Savings Ledger — Two-Measure Correlation + Date by Category Pivot","description":"Savings ledger — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot 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-182?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_Hxo_LCLHokDrasl83ML2s","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 local analytical reports on savings ledger data: a Pearson/rank correlation between deposit_amount and withdrawal_amount, and a date-by-instrument-group pivot table, for up to 200 rows.","exampleAgentPrompt":"I have up to 200 rows of savings ledger data with deposit_amount and withdrawal_amount fields — can you run a two-measure correlation between those two amounts AND a date-by-instrument-group pivot, and give me both reports at once?","exampleUseCases":[{"title":"Personal savings pattern analysis","prompt":"Here are my last 6 months of savings ledger entries with deposits and withdrawals across groups like 'emergency fund' and 'vacation fund' — can you correlate the deposit and withdrawal amounts, and also pivot the data by date and group so I can see how each category changes over time?"},{"title":"Small business cash flow review","prompt":"I've got 150 rows of business savings ledger records with dates, instrument groups like 'operating' and 'reserve', deposit amounts, and withdrawal amounts — please run both the correlation between deposits and withdrawals and a date-by-category pivot for me."},{"title":"Monthly ledger audit for finance team","prompt":"Our finance team has savings ledger data for Q3 with deposit_amount and withdrawal_amount columns across instrument groups — run the two-measure correlation and the date-by-category pivot report so we can spot any anomalies before the board meeting."}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure correlation result quantifying the statistical relationship between deposit_amount and withdrawal_amount across all supplied rows, and (2) a date-by-instrument-group pivot table aggregating the chosen field (deposit_amount or withdrawal_amount) by date and category. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — rejected with row limit error","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Missing required fields (row_id, date, instrument_group, deposit_amount, withdrawal_amount) — schema validation error","Non-numeric values in deposit_amount or withdrawal_amount — type error","Insufficient variance in data for meaningful correlation — may return null or degenerate correlation result","Payment failure — 0.01 USDC not provided or x402 protocol error"],"whenToPreferThis":"Choose this endpoint when you have savings ledger data (up to 200 rows) with deposit and withdrawal amounts and want both a correlation analysis and a date-by-category pivot in a single cheap call ($0.01 USDC). Prefer this over general-purpose analytics tools when your data already matches the savings ledger schema (row_id, instrument_group, date, deposit_amount, withdrawal_amount) and you need two bundled reports without setting up your own analytics pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:32:06.623Z","isFirstParty":false,"canonicalSlug":"savings-ledger-two-measure-correlation-date-by-category-pivot-027b5905"}