{"uid":"cap_owNlOt1DbpjZSvtgkIi7U","slug":"treasury-supplied-balances-exact-row-deduplication-equal-width-a439c295","name":"Treasury Supplied Balances — Exact Row Deduplication + Equal-Width Histogram","description":"Treasury supplied balances — Exact row deduplication + Equal-width histogram: Exact row deduplication + Equal-width histogram for supplied treasury supplied balances records (opening_balance, closing_balance). 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-16-048?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","opening_balance","closing_balance"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"closing_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"opening_balance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","closing_balance":1,"opening_balance":10,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","closing_balance":2,"opening_balance":20,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","closing_balance":3,"opening_balance":15,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","closing_balance":4,"opening_balance":30,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["opening_balance","closing_balance"],"type":"string","default":"opening_balance"}}},"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_VdoTHRv0AWm1jms9KThGn","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":"Deduplicates treasury balance records and generates an equal-width histogram distribution report for opening or closing balance values across up to 200 rows.","exampleAgentPrompt":"Can you deduplicate these treasury balance records and generate a 10-bin equal-width histogram on the closing_balance field? I have 50 rows with row_id, instrument_group, date, opening_balance, and closing_balance.","exampleUseCases":[{"title":"Treasury ledger duplicate audit","prompt":"I have 80 rows of treasury balance data with row_id, instrument_group, date, opening_balance, and closing_balance — can you deduplicate them and show me the distribution of opening_balance values across 8 equal-width bins?"},{"title":"Closing balance distribution for reporting","prompt":"Take these 120 treasury supplied balance records and give me an exact deduplication plus a 5-bin histogram on closing_balance so I can spot concentration in our end-of-day positions."},{"title":"Instrument group balance analysis","prompt":"I need to clean up 60 rows of treasury balance entries — remove any duplicate rows, then run an equal-width histogram with 15 bins on the opening_balance field so I can see how balances are spread across our instrument groups."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication report identifying and removing duplicate records from the submitted treasury balance rows, and (2) an equal-width histogram report showing the frequency distribution of the selected balance field (opening_balance or closing_balance) across the specified number of bins. Both reports are generated locally from the submitted data with no external lookups.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, instrument_group, date, opening_balance, or closing_balance) — validation error","Invalid date format not matching YYYY-MM-DD pattern — schema rejection","Bins value outside 1–30 range — parameter out of bounds","Balance values exceeding ±1,000,000,000,000 — schema maximum violation","Empty rows array — minItems constraint failure","Payment of 0.01 USDC not fulfilled — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have treasury or finance balance records (up to 200 rows) that need both exact duplicate removal and a statistical histogram of balance distribution in a single API call. It is specifically designed for treasury-domain data with instrument_group and date context, and bundles two analytical operations for one fixed price. Prefer it over generic data-cleaning tools when your data matches the treasury balance schema and you need both deduplication and histogram output together without external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:17.038Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-exact-row-deduplication-equal-width-a439c295"}