{"uid":"cap_JPRYx5PmlEgAEvwdt8wLL","slug":"adh-un-trade-statistics-un-comtrade-import-export-data-11abf704","name":"ADH UN Trade Statistics — UN Comtrade Import/Export Data","description":"ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。","url":"https://agentdatum.com/api/v1/d/un-trade-stats","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"raw":{"data":[{"flow":"Import","year":2023,"partner":"World","reporter":"United States","commodity":"TOTAL (all HS commodities)","value_usd":3168471121076,"net_weight_kg":null,"partner_code_m49":0},{"flow":"Import","year":2023,"partner":"World","reporter":"United States","commodity":"TOTAL (all HS commodities)","value_usd":3168471121076,"net_weight_kg":null,"partner_code_m49":0}],"period":2023,"records":447,"reporter":"United States","total_export_usd":2018542583771,"total_import_usd":3168471121076,"trade_balance_usd":-1149928537305,"top_export_partners":[["Canada","Canada"],["Canada","Canada"]],"top_import_partners":[["Mexico","Mexico"],["Mexico","Mexico"]]},"note":"Totals taken from the World aggregate row (partner_code_m49=0) to avoid double counting. UN Comtrade free tier returns M","source":"un-comtrade-public","data_type":"贸易","collected_at":"2026-08-09T18:40:51Z"}},"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_qrMCpRjuyYW2PVSfuw9is","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":"Fetches processed United States international trade statistics from UN Comtrade, including total import/export values, trade balance, and top trading partners for a given year.","exampleAgentPrompt":"Pull the latest UN Comtrade trade statistics for the United States — I want to see total imports, total exports, the trade balance, and who the top trading partners are.","exampleUseCases":[{"title":"US trade deficit briefing","prompt":"What was the US trade deficit in 2023 according to UN Comtrade? Give me the total import and export values and the resulting trade balance."},{"title":"Top US import partner analysis","prompt":"Which countries are the biggest sources of US imports based on UN Comtrade data? Pull the official stats and list the top import partners."},{"title":"Macro regime trade context","prompt":"I'm building a macro intelligence snapshot — can you fetch UN Comtrade data for the US to show total exports, imports, and the trade balance so I can include it in my economic regime assessment?"}],"resultDescription":"Returns a JSON object with raw trade records from UN Comtrade, the reporting period (year), total number of records, reporter country (United States), total export value in USD, total import value in USD, trade balance in USD (exports minus imports), top export partners as ranked pairs, top import partners as ranked pairs, a note about methodology (World aggregate row used to avoid double-counting), the data source identifier (un-comtrade-public), data type label, and a timestamp for when the data was collected.","failureModes":["UN Comtrade free tier rate limits may truncate results, returning partial data with a note in the response","Payment failure via x402 protocol returns 402 status before data is delivered","Stale or cached data if UN Comtrade upstream hasn't updated — check collected_at timestamp","Missing net_weight_kg fields are expected (null) for aggregate commodity rows","Top partner arrays may return duplicate entries due to upstream data quirks in the free tier"],"whenToPreferThis":"Choose this endpoint when you need official UN-sourced US international trade statistics — import totals, export totals, trade balance, and top trading partners — processed and cleaned by ADH's financial intelligence layer to avoid double-counting pitfalls. Prefer this over raw UN Comtrade API calls when you want entity-resolved, timestamped, ready-to-use trade data at $0.01 per call without managing API keys or rate limit logic yourself. Best for macro regime analysis, geopolitical trade monitoring, and financial due diligence workflows requiring authoritative bilateral trade figures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:48.411Z","isFirstParty":false}