{"uid":"cap_BpiU5Ey7Tg5PYuKyMDhjb","slug":"savings-ledger-duplicate-key-report-equal-width-histogram-c6c823ee","name":"Savings Ledger — Duplicate Key Report + Equal-Width Histogram","description":"Savings ledger — Duplicate key report + Equal-width histogram: Duplicate key report + 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-064?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_iSQ6yS-y2BGTvS2-qjizi","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":"Analyzes up to 200 savings ledger rows to produce a duplicate key report and an equal-width histogram for either deposit_amount or withdrawal_amount fields.","exampleAgentPrompt":"Check my savings ledger for duplicate row IDs and also build an equal-width histogram with 10 bins for the deposit_amount field — here are my 50 rows of ledger data with row_id, instrument_group, date, deposit_amount, and withdrawal_amount.","exampleUseCases":[{"title":"Audit savings data for duplicate entries","prompt":"I have 120 rows of savings ledger records with row IDs, dates, instrument groups, deposit amounts, and withdrawal amounts — can you run a duplicate key report on them and also give me a 5-bin histogram of the withdrawal_amount field?"},{"title":"Distribution analysis of deposit amounts","prompt":"Can you build me an equal-width histogram with 8 bins for deposit_amount across these 75 savings ledger rows, and also flag any duplicate row IDs while you're at it?"},{"title":"Pre-reconciliation data quality check","prompt":"Before I reconcile these 200 savings ledger entries, check them for any repeated row_id values and show me the deposit_amount distribution using 10 equal-width bins."}],"resultDescription":"Returns two analytical reports: (1) a duplicate key report identifying any repeated row_id values in the submitted ledger rows, and (2) an equal-width histogram showing the frequency distribution of the chosen numeric field (deposit_amount or withdrawal_amount) across the specified number of bins (1–30). No external data is fetched; all analysis is performed on the supplied rows only.","failureModes":["More than 200 rows submitted — request exceeds max row limit","Invalid date format (not YYYY-MM-DD) causes row rejection","bins parameter outside 1–30 range returns validation error","field value not in enum ['deposit_amount','withdrawal_amount'] causes error","Empty rows array returns error","Numeric amounts outside ±1,000,000,000,000 range fail validation"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key detection report and a histogram distribution analysis on savings ledger data (deposit_amount or withdrawal_amount) in a single low-cost call. It is ideal for data quality audits before reconciliation or reporting, and suits batch sizes up to 200 rows. Prefer this over general-purpose analytics when your data conforms to the savings ledger schema (row_id, instrument_group, date, deposit_amount, withdrawal_amount) and you need both reports together at $0.01.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:36.699Z","isFirstParty":false,"canonicalSlug":"savings-ledger-duplicate-key-report-equal-width-histogram-c6c823ee"}