Skip to main content
fastCRW Pergamon
Statistics

UN Comtrade

comtradeapi.un.org

Official United Nations merchandise and services trade statistics: annual and monthly imports and exports by reporting country, partner country and product code, for around 200 reporters covering over 99% of world trade.

Showing the catalogue
Runs on your machine under the source's own terms

The crw MCP on your computer calls UN Comtrade directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Commodity classification tree

    Use UN Comtrade (uncomtrade) from fastCRW Pergamon, capability "Commodity classification tree" (commodities). You need to look up or walk product codes for a classification, for example to find the HS 2022 code for a product or to list every child of a chapter. Example options: classification=H6. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "uncomtrade" and capability "commodities". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Country groupings

    Use UN Comtrade (uncomtrade) from fastCRW Pergamon, capability "Country groupings" (country-groups). You want to query or aggregate trade for a bloc rather than a single country and need its member codes. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "uncomtrade" and capability "country-groups". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Country code to ISO3 map

    Use UN Comtrade (uncomtrade) from fastCRW Pergamon, capability "Country code to ISO3 map" (country-iso-codes). You hold ISO3 country codes and need the numeric codes this API expects, or the reverse. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "uncomtrade" and capability "country-iso-codes". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Customs procedure codes

    Use UN Comtrade (uncomtrade) from fastCRW Pergamon, capability "Customs procedure codes" (customs-procedures). You are filtering or reading trade data by the customs regime the goods were declared under. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "uncomtrade" and capability "customs-procedures". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>