{"uid":"cap_AULnECSMuFXFflaqXxbFP","slug":"trade-observations-data-quality-analytics-suite-e4f33af2","name":"Trade Observations Data Quality & Analytics Suite","description":"Trade observations — Record quality audit + String normalisation + Date by category pivot: Record quality audit + String normalisation + Date by category pivot for supplied trade observations records (export_amount, import_amount). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-economics-06-206?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_UWrm_AU0luWnkMnDssVoS","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 three analytics reports on trade observation records: a record quality audit, string normalization, and a date-by-category pivot — all applied to export_amount and import_amount fields.","exampleAgentPrompt":"Can you audit the quality of these trade observation records, normalize the region strings, and give me a date-by-category pivot for export_amount? I have 4 rows: row-1 for group-a on 2026-10-01 with export 10 and import 1, row-2 for group-b on 2026-10-02 with export 20 and import 2, row-3 for group-a on 2026-10-03 with export 15 and import 3, and row-4 for group-b on 2026-10-04 with export 30 and import 4.","exampleUseCases":[{"title":"Export data quality review","prompt":"I have a batch of 50 trade observation rows with region names and export/import amounts — can you run a record quality audit, normalize the region strings, and pivot export_amount by date and region category so I can spot issues?"},{"title":"Import amount pivot by region","prompt":"Take these trade records across group-a and group-b regions from October 2026 and give me a date-by-category pivot on import_amount, plus flag any string inconsistencies in the region field."},{"title":"Trade dataset onboarding validation","prompt":"Before we load this new trade dataset into our pipeline, can you audit all 120 rows for record quality problems, normalize any messy region strings, and produce a pivot of export_amount grouped by date and category?"}],"resultDescription":"Returns three independent reports based on the submitted trade observation rows: (1) a record quality audit flagging missing, null, or out-of-range values in export_amount and import_amount; (2) a string normalization report standardizing region field values; and (3) a date-by-category pivot table summarizing the selected field (export_amount or import_amount) broken down by date and region category. All computed locally without external lookups.","failureModes":["Rows array empty or missing — validation error returned","More than 200 rows submitted — request rejected with size limit error","Invalid date format (not YYYY-MM-DD) — schema validation failure","row_id missing or empty string — required field validation error","Field enum value not 'export_amount' or 'import_amount' — rejected","export_amount or import_amount outside ±1,000,000,000,000 — validation error","Payment of 0.01 USDC not provided — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously audit data quality, normalize categorical string fields, and generate a time-series pivot from trade observation data in a single low-cost call. It is well-suited for economics pipelines that need to validate and summarize import/export records before downstream processing, and works entirely on supplied data without any live market lookups or external API calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:35:23.529Z","isFirstParty":false,"canonicalSlug":"trade-observations-data-quality-analytics-suite-e4f33af2"}