{"uid":"cap_zFfZPIH2deKrnXUNH7Y4L","slug":"trade-observations-exact-row-deduplication-date-by-category-pivot-d80feb30","name":"Trade Observations — Exact Row Deduplication + Date by Category Pivot","description":"Trade observations — Exact row deduplication + Date by category pivot: Exact row deduplication + 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-052?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_UV_03wj49seGbLXVUTR-C","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 exact duplicate rows and produces a date-by-category pivot table from trade observation records (export_amount, import_amount) — two analytical reports in one call.","exampleAgentPrompt":"Can you run exact-row deduplication and a date-by-region pivot on my trade observations? Here are up to 200 rows with row_id, region, date, export_amount, and import_amount — I want the pivot built around export_amount.","exampleUseCases":[{"title":"Trade data deduplication before reporting","prompt":"I have a batch of 150 trade observation records with export and import amounts by region and date, and I suspect there are some exact duplicate rows. Can you deduplicate them and also give me a pivot of export_amount broken down by date and region?"},{"title":"Import amount pivot for regional analysis","prompt":"I need a date-by-category pivot table for import_amount across my trade dataset — it has regions like 'North America' and 'Asia-Pacific' with dates from last quarter. Can you also flag any exact duplicate rows while you're at it?"},{"title":"Quarterly economics dataset cleanup","prompt":"We're preparing a quarterly economics report and need our 200-row trade observations dataset cleaned of exact duplicates, plus a pivot of export_amount by date and region to share with the team."}],"resultDescription":"Two analytical reports: (1) an exact row deduplication report identifying and removing fully duplicate trade observation records, and (2) a date-by-category pivot table cross-tabulating the selected field (export_amount or import_amount) by date and region category — all computed locally without external lookups.","failureModes":["Rows exceeding 200 items will be rejected (maxItems limit)","Missing required fields (row_id, region, date, export_amount, import_amount) will cause validation errors","Malformed date strings not matching YYYY-MM-DD pattern will fail schema validation","Numeric values outside ±1,000,000,000,000 range will be rejected","Empty rows array will be rejected (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you have up to 200 trade observation records (with export and import amounts by region and date) and need both exact-duplicate detection and a date-by-category pivot in a single low-cost call ($0.01 USDC). It is ideal for lightweight, offline data quality and summarization tasks on economics datasets without needing a full data pipeline or live external data source.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:43:16.605Z","isFirstParty":false,"canonicalSlug":"trade-observations-exact-row-deduplication-date-by-category-pivot-d80feb30"}