{"uid":"cap_LiPnQizSXEy6TyIWbiHcA","slug":"savings-ledger-numeric-interval-filter-and-two-measure-correlation-1e1d8889","name":"Savings Ledger Numeric Interval Filter and Two-Measure Correlation","description":"Savings ledger — Numeric interval filter + Two-measure correlation: Numeric interval filter + Two-measure correlation 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-131?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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_CqD1ejRGv-9hmkNSQL6_9","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":"Filters savings ledger rows by a numeric range on deposit or withdrawal amount and computes a two-measure correlation between deposit_amount and withdrawal_amount, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have my savings ledger records with deposit and withdrawal amounts — can you filter rows where deposit_amount is between 10 and 500, then run a two-measure correlation between deposits and withdrawals across all 150 rows and give me the two reports?","exampleUseCases":[{"title":"Monthly savings deposit range audit","prompt":"Here are my savings ledger entries for Q3 — filter to only the rows where deposit_amount falls between 50 and 2000, then compute the correlation between deposit_amount and withdrawal_amount across all 180 rows and give me the two analysis reports."},{"title":"Withdrawal spike correlation check","prompt":"I have 120 rows of savings ledger data. Can you filter by withdrawal_amount between 0 and 300, and then run a two-measure correlation between deposit_amount and withdrawal_amount so I can see if large withdrawals track with deposits?"},{"title":"Instrument group savings analysis","prompt":"Run two analytical reports on my 75-row savings ledger: first filter rows where deposit_amount is between 25 and 750, then calculate the correlation between deposit_amount and withdrawal_amount for all the records across groups like group-a and group-b."}],"resultDescription":"Returns two analytical reports: (1) a filtered list of savings ledger rows whose specified field (deposit_amount or withdrawal_amount) falls within the given numeric interval [minimum, maximum], and (2) a two-measure correlation coefficient and related statistics between deposit_amount and withdrawal_amount computed over the supplied rows. Both reports are generated locally from the submitted data with no external lookups.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, date, deposit_amount, withdrawal_amount, instrument_group) cause validation errors","Date format not matching YYYY-MM-DD pattern causes schema rejection","minimum greater than maximum produces empty filter result or error","Non-numeric values in deposit_amount or withdrawal_amount fields","Payment of 0.01 USDC not completed via x402 protocol — request blocked"],"whenToPreferThis":"Use this endpoint when you have savings ledger data (up to 200 rows) already in hand and need both a numeric range filter on deposit or withdrawal amounts AND a correlation analysis between the two measures in a single paid call. It is ideal for offline or batch analytical scenarios where no live data lookup is needed and cost must be kept minimal ($0.01 for two reports). Prefer this over general-purpose analytics platforms when working specifically with savings ledger schemas (deposit_amount, withdrawal_amount, instrument_group) and needing a lightweight, self-contained computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:54.611Z","isFirstParty":false,"canonicalSlug":"savings-ledger-numeric-interval-filter-and-two-measure-correlation-1e1d8889"}