Trade Flow Analyzer avatar

Trade Flow Analyzer

Pricing

Pay per usage

Go to Apify Store
Trade Flow Analyzer

Trade Flow Analyzer

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Max N

Max N

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Global Trade Flow Analyzer — World Bank Trade Data API

Analyze international trade flows using the World Bank Indicators API. Pull import, export, trade balance, and other economic indicators for any combination of countries and year ranges. This actor queries the official World Bank data catalog, returning structured records with country names, indicator values, and time series data. Ideal for trade analysts, economists, policy researchers, and businesses evaluating international market opportunities.

What data can you get?

Each record includes the following fields:

  • country — Full country name (e.g., United States, China, Germany)
  • countryCode — ISO country code (e.g., USA, CHN, DEU)
  • indicator — World Bank indicator code (e.g., NE.EXP.GNFS.CD)
  • indicatorName — Human-readable indicator name (e.g., Exports of goods and services in current US$)
  • year — Data year
  • value — Numeric indicator value
  • url — Link to the World Bank data portal
  • scrapedAt — Timestamp of data extraction

Common trade indicators you can query include:

  • NE.EXP.GNFS.CD — Exports of goods and services (current US$)
  • NE.IMP.GNFS.CD — Imports of goods and services (current US$)
  • NE.TRD.GNFS.ZS — Trade (% of GDP)
  • BX.GSR.GNFS.CD — Exports of goods, services, and primary income
  • TG.VAL.TOTL.GD.ZS — Merchandise trade (% of GDP)

Use cases

  • Market entry analysis — Compare export and import volumes across countries to identify growing trade markets for your products
  • Trade policy research — Track how trade volumes shift in response to tariffs, sanctions, and trade agreements over multi-year periods
  • Macroeconomic analysis — Build time series datasets of trade indicators for economic modeling and forecasting
  • Supply chain diversification — Evaluate trade flows between countries to identify alternative sourcing markets and reduce concentration risk
  • Academic research — Economists and political scientists can analyze trade patterns, globalization trends, and development economics
  • Investment research — Assess a country trade openness and export competitiveness as part of emerging market investment analysis

How to use

  1. Enter countries as ISO codes (e.g., USA, CHN, DEU, JPN)
  2. Enter indicators as World Bank codes (e.g., NE.EXP.GNFS.CD for exports)
  3. Optionally set start year and end year to limit the time range
  4. Set max results (default 500, up to 10,000)
  5. Run the actor and download results as JSON, CSV, or Excel

Example input

{
"countries": ["USA", "CHN", "DEU"],
"indicators": ["NE.EXP.GNFS.CD", "NE.IMP.GNFS.CD"],
"startYear": 2018,
"endYear": 2023,
"maxResults": 500
}

Example output

{
"country": "United States",
"countryCode": "USA",
"indicator": "NE.EXP.GNFS.CD",
"indicatorName": "Exports of goods and services (current US$)",
"year": 2023,
"value": 3053871621570,
"url": "https://data.worldbank.org/",
"scrapedAt": "2026-02-27T12:00:00.000Z"
}

Pricing

EventPrice
Actor start$0.10
Per result$0.0005

Example: 500 records = $0.10 + $0.25 = $0.35 total

Integrations

Connect via webhooks, Apify API, Zapier, Make, or Google Sheets. Schedule quarterly runs to build trade flow dashboards, automate country comparison reports, or feed data into economic models and business intelligence platforms.

Built with Apify SDK.

  • un-comtrade (un-comtrade)
  • tariff-trade-navigator (tariff-trade-navigator)
  • vessel-ais-tracker (vessel-ais-tracker)
  • supply-chain-risk-scorer (supply-chain-risk-scorer)