{"uid":"cap_5e9cOflKcZ4stJBTHvXm0","slug":"trade-observations-string-normalisation-equal-width-histogram-6928d962","name":"Trade Observations — String Normalisation + Equal-Width Histogram","description":"Trade observations — String normalisation + Equal-width histogram: String normalisation + Equal-width histogram for supplied trade observations records (export_amount, import_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-economics-06-031?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","region","date","export_amount","import_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"export_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"import_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","export_amount":10,"import_amount":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","export_amount":20,"import_amount":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","export_amount":15,"import_amount":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","export_amount":30,"import_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["export_amount","import_amount"],"type":"string","default":"export_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_ifSlBOxpq4yU1xOkLzTlC","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 string normalisation and equal-width histogram analysis on trade observation records (export_amount, import_amount) for up to 200 rows.","exampleAgentPrompt":"I have 50 trade observation records with export_amount and import_amount fields — can you normalise the region strings and generate an equal-width histogram with 10 bins on the export_amount field?","exampleUseCases":[{"title":"Export volume distribution analysis","prompt":"Here are 120 rows of trade data with export_amount and import_amount. Can you normalise the region names and build an equal-width histogram with 8 bins on the export_amount so I can see how exports are distributed?"},{"title":"Import data frequency audit","prompt":"I need to understand the spread of import values across these 80 trade records — run string normalisation on the region field and give me a 5-bin equal-width histogram for import_amount."},{"title":"Trade data cleaning and binning","prompt":"These 200 trade observation rows have messy region labels and I want to know how export amounts cluster — please normalise the strings and produce an equal-width histogram with 15 bins on export_amount."}],"resultDescription":"Returns two analytical reports: (1) a string normalisation report showing cleaned/standardised values for region labels across all supplied rows, and (2) an equal-width histogram report for the chosen numeric field (export_amount or import_amount) with the specified number of bins, including bin boundaries and frequency counts per bin. Covers up to 200 input rows with no external data lookup.","failureModes":["More than 200 rows supplied — request rejected or truncated","Invalid date format (not YYYY-MM-DD) causes validation error","Missing required fields (row_id, region, date, export_amount, import_amount) causes schema error","bins value outside 1–30 range causes validation error","Numeric values exceeding ±1,000,000,000,000 rejected","Empty rows array causes validation error"],"whenToPreferThis":"Choose this endpoint when you have trade observation data with export and import amounts and need both string cleaning (normalising region labels) and a distribution summary (equal-width histogram) in a single paid call. Ideal for offline batch analysis of up to 200 rows without needing live lookups, predictions, or external data enrichment. Prefer this over general-purpose analytics when you specifically need the dual string-normalisation + histogram combo on economics/trade data at low cost ($0.01 USDC for both reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:42:36.441Z","isFirstParty":false,"canonicalSlug":"trade-observations-string-normalisation-equal-width-histogram-6928d962"}