Narwhal API vs UN Comtrade

Narwhal provides national merchandise exports, imports and balance for 35 countries through REST and MCP. UN Comtrade adds bilateral and HS product detail, with history since 1962 for 274 reporters and partners. Choose by the trade detail your application needs.

Decision

Choose Narwhal for national merchandise totals alongside other country indicators through REST and MCP. Choose UN Comtrade for bilateral flows, HS product detail, re-exports and broader historical coverage.

At a glance

Narwhal offers national merchandise totals, without partner, product or services breakdowns. Narwhal API is owned and operated by Nusantara Ventures, LLC.

RequirementNarwhal APIUN Comtrade
Free tier✓ 5,000 requests/month✓ Preview; keyed Free: 500 calls/day
Cheapest paid planBasic: $59/month; $590/year availablePremium: price not published
Update speedDataset schedule; timestamps retainedReporting lags vary by country
HistoryFree: 12 months; Basic: 5 years; available records onlySince 1962
CoverageEconomics, FX, holidays and published commodities274 reporters and partners; bilateral and HS detail
InterfacesREST and MCP; WebSocket not publishedREST; no official MCP found
SDKs✓ Official Python and TypeScript SDKsNot stated
Commercial use on free tier✓ Commercial apps; resale needs EnterpriseNot stated

Price at your usage

Preview fits the totals request: 500 records, one period and product per call, at one call/second.

Requests per monthNarwhal APIUN Comtrade
1,000Free: $0/monthKeyless preview: $0
10,000Basic: $59/monthKeyless preview: $0
100,000Basic: $59/monthKeyless preview: $0

Switch in a few minutes

Read US merchandise trade totals

UN Comtrade

# Change: URL
curl --get \
  "https://comtradeapi.un.org/public/v1/preview/C/A/HS" \
  --data-urlencode "reporterCode=842" \
  --data-urlencode "period=2025" \
  --data-urlencode "partnerCode=0" \
  --data-urlencode "cmdCode=TOTAL" \
  --data-urlencode "flowCode=X"

Narwhal API

# Change: URL and key
curl \
  "https://api.narwhalapi.com/v1/economics/USA/trade" \
  -H "Authorization: Bearer YOUR_API_KEY"

Why teams switch

Start building for free

Narwhal Free includes 5,000 successful requests each month and permits commercial apps. Use that allowance for a dashboard, scheduled data fetches or an agent integration. Move to Basic for 100,000 monthly requests as usage grows, with the same account and authentication.

Connect your app and your agent

REST and hosted MCP reach the same data through one account. Your application can fetch JSON while an agent uses the hosted tools, with every successful call counted once against the shared allowance. One quota makes the combined workload straightforward to budget.

Connect country data

Narwhal's economics catalogue spans 36 countries, with a coverage table for each indicator. Country and indicator paths organize requests around the data your application uses. Combine observations with FX, public holidays and release dates to build country dashboards through the same account.

When they are the better pick

UN Comtrade suits trade research needing partner-country flows, HS products or re-exports rather than national totals alone. Its official merchandise data comes from national statistical agencies, with history since 1962 for 274 reporters and partners. A free individual account allows up to 500 calls a day and 100,000 records per call. Reporting lags and gaps vary by country. Reported exports can differ from partner imports; the UN documents these bilateral asymmetries.

Questions

Is there a free UN Comtrade alternative?

Yes. Narwhal Free includes 5,000 successful requests per month, commercial app use and both REST and hosted MCP access. Free includes the last 12 months of history for national merchandise totals, without partner or product breakdowns.

Can Narwhal filter merchandise trade by partner or product?

No. Narwhal returns national merchandise exports, imports and balance for 35 countries, with currency and monthly or annual periods. It has no partner-country or HS product filters and no services trade. Choose UN Comtrade for bilateral flows and product detail, allowing for country reporting gaps and bilateral asymmetries.

What changes in my application?

Replace the request URL and authentication, then map the JSON response into your application's fields. The examples use standard fetch in JavaScript and requests in Python, so integration fits an ordinary HTTP client. Keep your key on the server and carry the response's units, dates and missing values into your display or calculations.

What happens at Narwhal's monthly limit?

The shared cap applies to successful REST and MCP requests together. There are no automatic overage charges. Basic includes 100,000 monthly requests; quotas reset each month even when you pay yearly.

Test Narwhal with the same job

Check the published coverage, inspect the response contract, and make a first request before choosing a provider.