Live For trade analysts, supply-chain teams and economists

Trade answers your agent can cite.
Flows, tariffs and prices behind one URL.

Ask what moved between two countries, how a commodity's flow is trending, or what the US collected in duties — and get the answer with the release it came from. Your agent reads Comtrade, Census and Treasury directly, and where an upstream blocks us we serve a dated mirror and say so rather than quietly going stale.

One URL · no per-source API keys · free to start

What it answers

Grouped by the job, not by the database. Every question shown below was run against the live gateway before it was printed here.

Trade analysts, economists

Who trades what with whom

“How much did the US import from Mexico last year?”

UN Comtrade bilateral flows, broken out by HS commodity code with values and quantities.

  • Top partners and top commodities for any reporter, and the country-code lookups behind them
  • Bilateral analysis that pairs both sides of a flow so you can see the reporting gap
Supply chain, policy

US trade in detail

  • Census imports, exports and trade balance by partner and HS code, monthly
  • Trade trends over time, and a country profile that folds flows and macro into one call
Customs, tariff strategy

Duties and the fiscal side

“How much customs revenue did the US collect this year?”

Monthly customs duty collections from Treasury fiscal data, by classification.

  • Federal receipts and debt series, and official Treasury exchange rates for conversion
Research, forecasting

The macro backdrop

  • FRED series for exchange rates, output and prices
  • BLS import and export price indexes, so a value change can be split into price and volume

A real answer, with its receipt

“How much did the US import from Mexico last year?”

comtrade_trade_data · UN Comtrade
{
  "count": 500,
  "year": "2025",
  "records": [
    {
      "reporter": "USA",
      "partner": "Mexico",
      "flow": "Imports",
      "commodity_code": "01",
      "trade_value_usd": 328587622
    },
    ...
  ]
}

Run live on 2026-08-11. Commodity-level rows, not a single headline number, so the agent can roll them up the way your question actually needs.

Where the answers come from

Primary sources only. No scraped aggregators, and no model-written summary standing in for a record.

UN Comtrade

Bilateral goods trade across 200+ reporters and 6,000+ commodity codes, with partner and commodity rankings.

US Census

Monthly US imports, exports and trade balance by partner and HS code, plus the trend series behind them.

Treasury

Customs duty revenue, federal receipts, debt, and the official exchange rates used for conversion.

BLS

Import and export price indexes — the deflators that separate a price move from a volume move.

FRED

Exchange rates, output, and the wider macro series that set the context for a flow.

Compound reads

Bilateral analyses, country profiles and a macro dashboard that answer in one call what would otherwise be four.

Connect it in about a minute

One URL, scoped so your agent sees these 58 tools rather than the whole catalogue. Works in Claude, ChatGPT, Cursor, Gemini and anything else that speaks MCP.

gateway URL
https://gateway.pipeworx.io/mcp?vertical=trade

Free to start — no card, no API keys. Paid usage is credits, priced per call; see pricing.

Common questions

What data sources are included in TradeGuard?

UN Comtrade (bilateral trade flows across 200+ countries and 6,000+ commodity codes), US Census Bureau Trade (monthly US exports and imports by partner and HS code), US Treasury (customs revenue, exchange rates, debt), FRED (macro indicators), and BLS (import/export price indexes).

Can I analyze bilateral trade between specific countries?

Yes. The comtrade_trade_data and trade_bilateral_analysis _intel tools accept reporter, partner, commodity (HS code or natural language), and time period. An agent can ask "show me US soybean exports to China by year since 2018" and get a year-by-year breakdown with values, quantities, and partner-side import figures for cross-checking.

How current is the US trade data?

Census Bureau Trade releases monthly US trade in goods data about 35 days after the close of the reference month. UN Comtrade lags about 1–2 months for most reporters. Treasury customs revenue updates daily. Every response carries cache freshness metadata so the agent can refetch when needed.

Can I look up tariff rates or customs duties?

Treasury customs revenue tools show actual collected duties by month and country. For statutory tariff schedules (HTSUS rate lookups), Pipeworx is adding coverage; submit a request via the pipeworx_feedback tool — the team reviews submissions daily.