{"uid":"cap_cy1li625BaK3Vu3QIzP5g","slug":"trade-observations-grouped-numeric-summary-two-measure-correlation-062284a0","name":"Trade Observations — Grouped Numeric Summary + Two-Measure Correlation","description":"Trade observations — Grouped numeric summary + Two-measure correlation: Grouped numeric summary + Two-measure correlation 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-095?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_lCZQkf7eIisipoVJxfS6F","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 a grouped numeric summary and a two-measure correlation (export_amount vs import_amount) for up to 200 supplied trade observation rows, returning two independent analytical reports.","exampleAgentPrompt":"I have 150 rows of trade data with region, date, export_amount, and import_amount — can you give me a grouped numeric summary by region and also check how strongly export_amount correlates with import_amount across all rows?","exampleUseCases":[{"title":"Regional export performance breakdown","prompt":"Here are our quarterly trade records for 80 country-region pairs with export_amount and import_amount values — can you group them by region and give me a numeric summary so I can see which regions are performing best on exports?"},{"title":"Export-import correlation check","prompt":"I've got 120 rows of trade observations across different dates and regions, each with export and import dollar amounts — can you run a correlation analysis to see how closely export_amount tracks with import_amount?"},{"title":"Trade balance statistical audit","prompt":"We have 200 rows of trade data from last year covering multiple regions and dates with export_amount and import_amount fields — please give me both a grouped numeric summary by region and a two-measure correlation between the two amount fields."}],"resultDescription":"Returns two independent analytical reports: (1) a grouped numeric summary of either export_amount or import_amount broken down by region, including aggregates such as mean, min, max, and count; (2) a two-measure correlation result between export_amount and import_amount across all supplied rows, indicating the strength and direction of the linear relationship.","failureModes":["Fewer than 1 row supplied — validation error","More than 200 rows submitted — rejected with row limit error","Missing required fields (row_id, region, date, export_amount, import_amount) in any row — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Numeric values outside allowed range (±1,000,000,000,000) — rejected","All import_amount or export_amount values are null — correlation cannot be computed"],"whenToPreferThis":"Choose this endpoint when you have tabular trade data (up to 200 rows) with export and import amount fields and need both a grouped numeric summary and a correlation analysis in a single paid call. It is ideal for economics or trade analytics workflows where you want two complementary statistical views — regional aggregation and cross-measure correlation — without spinning up your own analytical environment. It is not suitable for live market data lookups, forecasting, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:53:00.790Z","isFirstParty":false,"canonicalSlug":"trade-observations-grouped-numeric-summary-two-measure-correlation-062284a0"}