{"uid":"cap_-torxB1V9sEuoVDV2y4TC","slug":"trade-observations-numeric-distribution-date-by-category-pivot-19faa361","name":"Trade Observations — Numeric Distribution + Date by Category Pivot","description":"Trade observations — Numeric distribution + Date by category pivot: Numeric distribution + Date by category pivot 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-083?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_npQIYIfNNAjVpxKCrCcO8","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":"Computes numeric distribution statistics and a date-by-category pivot table for trade observation records (export_amount, import_amount) across up to 200 rows.","exampleAgentPrompt":"I have 4 trade records — row-1 on 2026-10-01 for group-a with export 10 and import 1, row-2 on 2026-10-02 for group-b with export 20 and import 2, row-3 on 2026-10-03 for group-a with export 15 and import 3, and row-4 on 2026-10-04 for group-b with export 30 and import 4 — can you run both a numeric distribution report and a date-by-category pivot on the export_amount field?","exampleUseCases":[{"title":"Regional export volume analysis","prompt":"Here are 50 trade records by region and date — can you run a numeric distribution and a date-by-category pivot on the export_amount field so I can see how exports are spread across regions over time?"},{"title":"Import trend breakdown by market","prompt":"I've got quarterly import observations for 8 market regions across 120 rows. Run both the numeric distribution and the date-by-category pivot on import_amount so I can spot which categories are driving import spikes."},{"title":"Trade data audit for economics report","prompt":"I need to summarize these 200 trade observation rows for our economics report — please compute the numeric distribution and date-by-category pivot for the export_amount field, grouped by region."}],"resultDescription":"Returns two analytical reports: (1) a numeric distribution summary (e.g. min, max, mean, percentiles, histogram-style buckets) for the selected field (export_amount or import_amount), and (2) a date-by-category pivot table showing values broken down by date and region category — all computed locally from the supplied rows with no external lookups.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows supplied — request rejected","Missing required fields (row_id, region, date, export_amount, import_amount) on any row — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern mismatch error","Numeric values outside ±1,000,000,000,000 range — validation error","Invalid field selector (not export_amount or import_amount) — enum validation error","Payment not provided or insufficient USDC — 402 payment required"],"whenToPreferThis":"Choose this endpoint when you have pre-collected trade observation data (up to 200 rows) and need both a numeric distribution breakdown and a date-by-category pivot in a single low-cost call ($0.01 USDC). It is ideal for economics or trade analysts who want offline, deterministic statistical summaries without any live data lookup, forecasting, or external enrichment. Prefer it over general analytics APIs when your data is already structured with region, date, export_amount, and import_amount fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:50.430Z","isFirstParty":false,"canonicalSlug":"trade-observations-numeric-distribution-date-by-category-pivot-19faa361"}