{"uid":"cap_EHuC0YUUpC4r7IGNg73hO","slug":"trade-observations-exact-row-deduplication-two-measure-correlation-2afb8567","name":"Trade Observations — Exact Row Deduplication + Two-Measure Correlation","description":"Trade observations — Exact row deduplication + Two-measure correlation: Exact row deduplication + 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-050?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}}},"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_Z5pP8n4EyhRn3sWS1SXZe","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":"Deduplicates trade observation rows and computes Pearson correlation between export_amount and import_amount for up to 200 supplied records.","exampleAgentPrompt":"I have a set of trade observation records with export and import amounts for different regions and dates — can you deduplicate the rows and calculate the correlation between export_amount and import_amount across up to 200 rows?","exampleUseCases":[{"title":"Trade data quality audit","prompt":"I've got 150 rows of regional trade data with export and import amounts from 2024 — can you deduplicate any repeated rows and tell me how strongly correlated the export and import figures are?"},{"title":"Bilateral trade pattern analysis","prompt":"Here are my trade observation records for group-a and group-b regions across Q3 2025. Please remove any exact duplicate rows and run a two-measure correlation between export_amount and import_amount."},{"title":"Economics dataset cleanup before reporting","prompt":"Before I finalize my economics report, I need you to deduplicate this set of 80 trade observation rows and compute the Pearson correlation between export and import amounts so I can flag any anomalies."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication report identifying and removing duplicate trade observation records, and (2) a two-measure correlation report quantifying the statistical relationship between export_amount and import_amount across the supplied rows. Both reports use local analytical engines with no external data lookups.","failureModes":["Fewer than 1 row supplied — violates minItems constraint","More than 200 rows supplied — exceeds maxItems limit","Missing required fields (row_id, region, date, export_amount, import_amount) in any row","Invalid date format (must match YYYY-MM-DD pattern)","Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)","Insufficient non-null numeric pairs to compute correlation","Payment of 0.01 USDC not attached or rejected"],"whenToPreferThis":"Choose this endpoint when you need both exact duplicate detection and a statistical correlation analysis on trade data (export vs. import amounts) in a single low-cost call. Ideal for data quality workflows on economics datasets of up to 200 rows where no external data sources, predictions, or live lookups are needed. Well-suited for preprocessing pipelines before reporting or visualization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:57.921Z","isFirstParty":false,"canonicalSlug":"trade-observations-exact-row-deduplication-two-measure-correlation-2afb8567"}