{"uid":"cap_BonKnTrhoz-FxcR1oDNqf","slug":"trade-observations-duplicate-key-report-category-frequencies-bb025959","name":"Trade Observations — Duplicate Key Report + Category Frequencies","description":"Trade observations — Duplicate key report + Category frequencies: Duplicate key report + Category frequencies 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-057?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_Z95vShqovCaL7b9HZI4iU","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":"Analyzes up to 200 trade observation records (export_amount, import_amount) to produce a duplicate key report and category frequency breakdown across regions.","exampleAgentPrompt":"Can you check my trade observations dataset for duplicate row IDs and also tell me how frequently each region appears? I have up to 50 rows with fields like row_id, region, date, export_amount, and import_amount.","exampleUseCases":[{"title":"Auditing trade dataset for duplicate keys","prompt":"I've got a batch of trade records — about 80 rows each with a row_id, region, date, export amount, and import amount — can you run a duplicate key check to see if any row IDs are repeated?"},{"title":"Regional frequency breakdown of trade data","prompt":"Take these 120 trade observation rows with region and export/import amounts and tell me how often each region shows up — I need a category frequency count across all records."},{"title":"Pre-analysis data quality check","prompt":"Before I run my analysis, can you audit these 60 trade records for both duplicate row IDs and region category frequencies so I know if the data is clean?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any row_ids that appear more than once across the submitted records, and (2) a category frequency table showing how often each region value appears in the dataset. Both reports are computed locally without any external lookups.","failureModes":["Empty rows array — minimum 1 row required","More than 200 rows submitted — exceeds maxItems limit","row_id missing or empty string — required field","date not matching YYYY-MM-DD pattern — validation error","export_amount or import_amount outside ±1,000,000,000,000 range — schema rejection","Payment not provided or insufficient — x402 payment required"],"whenToPreferThis":"Choose this endpoint when you need fast, local analytical validation of trade observation records — specifically to catch duplicate row identifiers and understand region-level category distributions. Ideal for data quality checks before downstream analytics. Not suitable for live data lookups, predictions, or analysis beyond duplicate detection and frequency counting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:14.693Z","isFirstParty":false,"canonicalSlug":"trade-observations-duplicate-key-report-category-frequencies-bb025959"}