{"uid":"cap_MC25wjYaZL_tRJGjU6SQu","slug":"trade-observations-string-normalisation-secondary-measure-weighted-mean-bb3dcdaa","name":"Trade Observations — String Normalisation + Secondary-Measure Weighted Mean","description":"Trade observations — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean 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-034?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_46s-BuU4QqCdjqKvHS8J2","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":"Performs string normalisation and secondary-measure weighted mean computation on supplied trade observation records (export_amount, import_amount) for up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Run string normalisation and a secondary-measure weighted mean on my trade observations — here are 4 rows with region, date, export_amount, and import_amount — use export_amount as the primary field and give me both reports.","exampleUseCases":[{"title":"Regional export data weighted mean summary","prompt":"I have a CSV of trade observations across regions A and B for Q4 2026 — can you normalise the export_amount strings and compute the weighted mean of export_amount using import_amount as the secondary measure? I have about 50 rows."},{"title":"Import amount analytics for economics dashboard","prompt":"Please run string normalisation and a secondary-measure weighted mean on my import_amount trade data — I have 120 rows with row_id, region, date, export_amount, and import_amount fields — use import_amount as the primary field."},{"title":"Trade balance data quality and aggregation check","prompt":"I want two quick analytics reports on my trade observation records: string normalisation and a weighted mean of export amounts. Here are my rows — up to 200 entries with region, date, export_amount, and import_amount included."}],"resultDescription":"Two analytical reports: (1) a string normalisation report for the trade observation records across the supplied rows, and (2) a secondary-measure weighted mean report for the chosen primary field (export_amount or import_amount) weighted by the other measure, covering up to 200 rows of input data.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, region, date, export_amount, or import_amount) in any row","Date field does not match YYYY-MM-DD pattern","Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)","Invalid enum value for field parameter (must be export_amount or import_amount)","Payment not completed — endpoint requires 0.01 USDC via x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need both string normalisation and a secondary-measure weighted mean computed together on trade observation data (export_amount, import_amount) in a single low-cost call. It is ideal for economics workflows processing up to 200 rows of regional trade records where you want two bundled analytical outputs without live lookups or external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:53:05.020Z","isFirstParty":false,"canonicalSlug":"trade-observations-string-normalisation-secondary-measure-weighted-mean-bb3dcdaa"}