{"uid":"cap_cHjmy36RHWkt81KdD3IhG","slug":"treasury-supplied-balances-string-normalisation-duplicate-key-report-9bec5cbc","name":"Treasury Supplied Balances — String Normalisation + Duplicate Key Report","description":"Treasury supplied balances — String normalisation + Duplicate key report: String normalisation + Duplicate key report 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-021?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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}}},"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_8HD-bgNPDa25xWbT8SjGr","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 (string normalisation and duplicate key detection) on up to 200 treasury balance records containing opening and closing balance fields.","exampleAgentPrompt":"Can you check my treasury balance records for duplicate row IDs and normalise the string fields? I have about 50 rows, each with a row_id, instrument_group, date, opening_balance, and closing_balance — here's the data.","exampleUseCases":[{"title":"Pre-load treasury data quality check","prompt":"Before I import these 120 treasury balance rows into our system, can you run a duplicate key check and string normalisation on them? Each row has a row_id, instrument_group, date, opening_balance, and closing_balance."},{"title":"Monthly closing balance reconciliation audit","prompt":"I need to audit this month's closing balance dataset for duplicate entries and inconsistent string formatting — I have 80 rows covering multiple instrument groups across October 2026. Can you generate both reports?"},{"title":"Instrument group name normalisation review","prompt":"Some of our instrument_group labels look inconsistent — things like 'Group-A', 'group-a', 'GROUP A' mixed together — can you run the string normalisation report on these 40 treasury balance records so I can see what needs fixing?"}],"resultDescription":"Two independent reports: (1) a string normalisation report identifying formatting inconsistencies in string fields such as instrument_group across the submitted rows, and (2) a duplicate key report flagging any row_id or key-field combinations that appear more than once in the dataset. Results are derived entirely from the supplied data with no external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — request rejected","Missing required fields (row_id, instrument_group, date, opening_balance, closing_balance) — schema validation failure","Date field not matching YYYY-MM-DD pattern — rejected","Numeric balance values outside ±1,000,000,000,000 range — rejected","Payment not completed (x402 protocol) — 402 response"],"whenToPreferThis":"Choose this endpoint when you need to audit treasury-specific balance records (with opening_balance and closing_balance fields) for both string formatting inconsistencies and duplicate key issues in a single API call. It is well-suited for pre-ingestion data quality checks on small-to-medium datasets (up to 200 rows) where no external data enrichment or live market lookup is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:33:43.878Z","isFirstParty":false,"canonicalSlug":"treasury-supplied-balances-string-normalisation-duplicate-key-report-9bec5cbc"}