{"uid":"cap_LwdYPWyuKNr8zdF__mPqI","slug":"savings-ledger-numeric-row-ordering-equal-width-histogram-4d259838","name":"Savings Ledger — Numeric Row Ordering + Equal-Width Histogram","description":"Savings ledger — Numeric row ordering + Equal-width histogram: Numeric row ordering + Equal-width histogram 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-118?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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_H84s1rU2K8A_Op_z_m4G8","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":"Sorts savings ledger rows by a chosen numeric field and computes an equal-width histogram over deposit or withdrawal amounts for up to 200 rows.","exampleAgentPrompt":"Sort my savings ledger rows by deposit_amount and give me an equal-width histogram with 8 bins — here are 150 records with row_id, instrument_group, date, deposit_amount, and withdrawal_amount.","exampleUseCases":[{"title":"Rank deposits for monthly review","prompt":"I have 120 savings ledger entries for October and I want them sorted by deposit_amount from highest to lowest, plus a 5-bin histogram showing how those deposits are distributed — can you run both reports?"},{"title":"Analyze withdrawal spread across buckets","prompt":"Take these 80 savings records and give me a numeric ordering by withdrawal_amount along with an equal-width histogram using 10 bins so I can see where most withdrawals cluster."},{"title":"Distribution audit for instrument groups","prompt":"Here are 200 rows of savings ledger data with deposit and withdrawal amounts — sort them by deposit_amount and produce a histogram with 15 bins so I can audit which amount ranges are most common."}],"resultDescription":"Returns two analytical reports: (1) the input rows re-ordered by the selected numeric field (deposit_amount or withdrawal_amount), and (2) an equal-width histogram over that field showing bin boundaries, bin labels, and row counts per bin. Both reports are computed locally with no external lookups.","failureModes":["More than 200 rows submitted — request rejected or truncated","Invalid date format not matching YYYY-MM-DD pattern — validation error","bins value outside 1–30 range — schema validation failure","Missing required fields (row_id, deposit_amount, withdrawal_amount) — error response","All values null for selected field — histogram cannot be computed","Payment not processed or insufficient USDC — 402 response"],"whenToPreferThis":"Choose this endpoint when you need two complementary analytical views — sorted row ordering and a frequency histogram — over savings ledger data (deposits and withdrawals) in a single low-cost call. It is ideal for offline batch analysis of up to 200 ledger rows without requiring any external data sources, live market feeds, or professional financial assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:32:09.366Z","isFirstParty":false,"canonicalSlug":"savings-ledger-numeric-row-ordering-equal-width-histogram-4d259838"}