How to Use UN Comtrade national tariff-line trade in Notion
Retrieve trade values, quantities, and weights at countries' detailed national commodity codes, which can exceed six digits. Use these records to examine product detail below standard HS categories.
Prompts to try with UN Comtrade national tariff-line trade in Notion
Copy an example into Notion, or ask in your own words.
Every Monday at 9am: use UN Comtrade national tariff-line trade to look this up and give me the result as a table.
Pull the latest numbers from UN Comtrade national tariff-line trade and tell me what changed since last week.
Check UN Comtrade national tariff-line trade and summarize what you find in three bullet points.
Pull the newest data from UN Comtrade national tariff-line trade and give me the result as a table.
Check UN Comtrade national tariff-line trade every morning and tell me only when something changed.
How to set up UN Comtrade national tariff-line trade in Notion
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Notion this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Allow custom MCP servers
A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.
- Add Spiral to a custom agent
Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.
- Run UN Comtrade national tariff-line trade in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds UN Comtrade national tariff-line trade, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run UN Comtrade national tariff-line trade
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "comtradeplus-un-org/trade-statistics/tariffline_data", "input": { "period": "<period>", "reporter_code": "<reporter_code>" } }'
Then paste one of the prompts above: Notion finds UN Comtrade national tariff-line trade on Spiral, shows the price and runs it.
UN Comtrade national tariff-line trade providers and prices
Spiral runs UN Comtrade national tariff-line trade through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Notion for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Freq code | A or M | A | Frequency: A annual (period YYYY), M monthly (period YYYYMM). |
| Type code | C or S | C | Type of trade: C commodities (goods), S services. |
| Include desc | on or off | Ask the API for description and ISO columns. | |
| Classification | HS, H6, H5, H4, H3, H2, H1, or H0 | HS | HS edition in the URL path (tariffline is goods only). |
Every API field of UN Comtrade (comtradeplus.un.org) · Tariffline data is on its tool page: open its card above.
What can you do with UN Comtrade national tariff-line trade in Notion?
Keep an internal trade monitor current by identifying new publications and revisions for selected countries. Scheduled agents can check UN Comtrade release information and refresh affected observations, accounting for its seven-day recent-release window and latest-version policy.
Prepare an internal country trade briefing
Build a Germany briefing with historical trade totals, world trade share, and machinery exports. Check available periods and publication notes, resolve product codes, examine national product detail, and identify recent revisions before presenting the figures.
Compare potential export markets
Compare coffee imports into Germany, Japan, and the United States using a common reported year. Resolve coffee categories, check coverage and compilation notes, compare partner totals, and inspect national product detail; add each market's overall trade totals and world share for context.
Maintain a monthly trade monitor
Watch Japan's new and revised releases, then refresh affected periods in an internal monitor. Combine headline totals, world share, and selected product flows with national tariff-line detail, keeping publication notes alongside the updated figures.
Investigate bilateral reporting differences
Compare US imports from China with China's exports to the United States for the same product and year. Verify classifications and coverage, inspect valuation and partner-attribution notes, and examine national commodity detail before interpreting the difference.
Examine national product detail
Investigate the national commodity lines beneath a US static-converter import category. Compare those records with the standardized product total, check the reported classification and compilation notes, and revisit the analysis when a revised dataset appears.
Refresh a research dataset after revisions
Maintain an internal dataset on Kenya's trade, including headline totals, coffee exports, national commodity detail, and world share. Use new release notices to select affected periods, reference tables to label observations, and publication notes to explain revisions.
More on UN Comtrade national tariff-line trade and Notion
Overview
UN Comtrade national tariff-line trade in other agents
Questions about UN Comtrade national tariff-line trade in Notion
Can Notion use UN Comtrade national tariff-line trade?
Yes. Add Spiral to Notion as an MCP server, and Notion can find and run UN Comtrade national tariff-line trade like any built-in tool.
How much does UN Comtrade national tariff-line trade cost in Notion?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.
Do I need an Alexandria account to use UN Comtrade national tariff-line trade in Notion?
No. Spiral runs UN Comtrade national tariff-line trade on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up UN Comtrade national tariff-line trade in Notion?
About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.
Does Notion wait while UN Comtrade national tariff-line trade runs?
UN Comtrade national tariff-line trade runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.
Which countries and historical periods does UN Comtrade cover?
UN Comtrade contains goods and services statistics from nearly 200 countries and areas, with coverage extending back to 1962. Its standardized trade data leaves gaps where a country has not reported.
How often does UN Comtrade update country data?
There is no fixed country release date or refresh schedule. UN Comtrade processes submissions as they arrive, and the recent releases list covers first publications and revisions from the last seven days.
Can I recover an earlier version of a revised dataset?
UN Comtrade keeps only the latest version of each dataset and has no permanent archive of earlier versions. A published figure can therefore change after its initial release.
Does UN Comtrade identify individual buyers or suppliers?
No. It excludes exporter and importer names and contact details, shipment dates, and origin or destination port details; its statistics describe country trade rather than individual transactions.
Why can two countries report different values for the same trade?
UN Comtrade identifies three main causes of merchandise trade asymmetry: different partner attribution, CIF versus FOB valuation, and different trade systems. Publication notes help establish which practices each reporter uses.
Start using UN Comtrade national tariff-line trade in Notion
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Notion:
set up https://spiral.ai/SKILL.md


