{"uid":"cap_uurfMAF92_eViFMdIeTDq","slug":"trade-observations-string-normalisation-grouped-numeric-summary-a65f0509","name":"Trade Observations — String Normalisation & Grouped Numeric Summary","description":"Trade observations — String normalisation + Grouped numeric summary: String normalisation + Grouped numeric summary 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-023?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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_KZuN1vAeaqligmEWuPmqU","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":"Normalises string fields and produces grouped numeric summaries for trade observation records containing export and import amounts, across up to 200 rows.","exampleAgentPrompt":"I have 4 trade observation records — row-1 to row-4 across group-a and group-b regions, dated 2026-10-01 to 2026-10-04, with export_amount values of 10, 20, 15, 30 and import_amount values of 1, 2, 3, 4 — can you normalise the string fields and give me a grouped numeric summary for export_amount?","exampleUseCases":[{"title":"Regional export performance summary","prompt":"I've got 150 rows of trade data with region labels and export_amount figures — some region names have inconsistent casing and spacing. Can you normalise those strings and give me a grouped numeric summary of export_amount broken down by region?"},{"title":"Import data quality and aggregation","prompt":"Here are 80 trade observation records with import_amount and region fields. Please clean up the region strings and produce a grouped summary of import_amount across all regions so I can spot which groups are importing the most."},{"title":"Multi-region trade dataset cleanup","prompt":"I have quarterly trade observations for 6 regions — about 200 rows total — with both export_amount and import_amount columns. Can you normalise the region and date strings and give me grouped numeric statistics for export_amount?"}],"resultDescription":"Two reports generated from the supplied data: (1) a string normalisation report cleaning region and date fields, and (2) a grouped numeric summary of the selected measure (export_amount or import_amount) aggregated by region, covering up to 200 input rows. No external data sources are consulted.","failureModes":["Exceeds 200-row limit — request rejected","Missing required fields (row_id, region, date, export_amount, import_amount) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Numeric values outside ±1,000,000,000,000 range — rejected","Empty rows array — minimum 1 item required","Invalid field enum value (must be export_amount or import_amount) — rejected"],"whenToPreferThis":"Choose this endpoint when you have tabular trade observation data (import/export amounts by region and date) and need both string normalisation and grouped numeric summarisation in a single affordable call. It is ideal for batch offline analytics on up to 200 rows where no live data lookup, prediction, or external enrichment is needed. At $0.01 for two reports, it is cost-effective for routine data cleaning and aggregation pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:53:41.186Z","isFirstParty":false,"canonicalSlug":"trade-observations-string-normalisation-grouped-numeric-summary-a65f0509"}