What you should know about this indicator

  • This indicator shows the rank of China among a country's import partners.
  • In this data, imports are valued at "cost, insurance, and freight" (CIF). That is the value of the goods plus the cost of shipping and insuring them to the importing country's border. Not every country records its imports this way; for some of those that don't, the IMF adds an estimate of these costs.
  • Rank 1 indicates that China was the largest import partner for that country in a given year; rank 2 indicates the second largest, and higher numbers represent lower positions.
  • This ranking highlights whether China was a dominant supplier of or played a smaller role in a country's imports.
Rank of China among import partners
IMF
Rank of China among a country's import partners, based on import values that include the cost of goods, freight, and insurance. A rank of 1 means it is the country's largest import partner.
Source
International Monetary Fund (2026) – with major processing by Our World in Data
Last updated
October 5, 2026
Next expected update
October 2027
Date range
1948–2025
Unit
rank

Sources and processing

International Monetary Fund – International Trade in Goods (by partner country) (IMTS)

The International Trade in Goods (by partner country) dataset, formerly called Direction of Trade Statistics (DOTS), shows the value of each country's exports and imports of goods, broken down by trading partner. It covers more than 200 countries and territories, with annual data from 1948 onward, in US dollars.

Most values come from the official trade statistics each country reports. For countries that report late, or don't publish their trade by partner, the IMF estimates the values from the data their trading partners report.

Retrieved on
October 5, 2026
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
International Monetary Fund. International Trade in Goods (by partner country), https://data.imf.org/en/datasets/IMF.STA:IMTS. Accessed on 05 October 2026.

The International Trade in Goods (by partner country) dataset, formerly called Direction of Trade Statistics (DOTS), shows the value of each country's exports and imports of goods, broken down by trading partner. It covers more than 200 countries and territories, with annual data from 1948 onward, in US dollars.

Most values come from the official trade statistics each country reports. For countries that report late, or don't publish their trade by partner, the IMF estimates the values from the data their trading partners report.

Retrieved on
October 5, 2026
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
International Monetary Fund. International Trade in Goods (by partner country), https://data.imf.org/en/datasets/IMF.STA:IMTS. Accessed on 05 October 2026.

All data and visualizations on Our World in Data rely on data sourced from one or several original data providers. Preparing this original data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.

At the link below you can find a detailed description of the structure of our data pipeline, including links to all the code used to prepare data across Our World in Data.

Read about our data pipeline
Notes on our processing step for this indicator

For each country and year, all import partners were ordered from largest to smallest by their CIF import values in current US dollars. The position of China in this ranking was then recorded: 1 if it was the top supplier, 2 if the second largest, and so on. Rankings were produced separately for each year.

How to cite this page

To cite this page overall, including any descriptions, FAQs or explanations of the data authored by Our World in Data, please use the following citation:

“Data Page: Rank of China among import partners”, part of the following publication: Esteban Ortiz-Ospina, Bertha Rohenkohl, Veronika Samborska, Simon Van Teutem, Diana Beltekian, and Max Roser (2018) - “Trade and Globalization”. Data adapted from International Monetary Fund. Retrieved from https://archive.ourworldindata.org/20261023-101103/grapher/chinas-rank-in-imports-of-goods.html [online resource] (archived on October 23, 2026).

How to cite this data

In-line citationIf you have limited space (e.g. in data visualizations), you can use this abbreviated in-line citation:

International Monetary Fund (2026) – with major processing by Our World in Data

Full citation

International Monetary Fund (2026) – with major processing by Our World in Data. “Rank of China among import partners – IMF” [dataset]. International Monetary Fund, “International Trade in Goods (by partner country) (IMTS)” [original data]. Retrieved October 25, 2026 from https://archive.ourworldindata.org/20261023-101103/grapher/chinas-rank-in-imports-of-goods.html (archived on October 23, 2026).

Quick download

Download the data shown in this chart as a ZIP file containing a CSV file, metadata in JSON format, and a README. The CSV file can be opened in Excel, Google Sheets, and other data analysis tools.

Data API

Use these URLs to programmatically access this chart's data and configure your requests with the options below. Our documentation provides more information on how to use the API, and you can find a few code examples below.

Data URL (CSV format)
https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.csv?v=1&csvType=full&useColumnShortNames=false
Metadata URL (JSON format)
https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.metadata.json?v=1&csvType=full&useColumnShortNames=false

Code examples

Examples of how to load this data into different data analysis tools.

Excel / Google Sheets
=IMPORTDATA("https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.csv?v=1&csvType=full&useColumnShortNames=false")
Python with Pandas
import pandas as pd
import requests

# Fetch the data.
df = pd.read_csv("https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.csv?v=1&csvType=full&useColumnShortNames=false", storage_options = {'User-Agent': 'Our World In Data data fetch/1.0'})

# Fetch the metadata
metadata = requests.get("https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.metadata.json?v=1&csvType=full&useColumnShortNames=false").json()
R
library(jsonlite)

# Fetch the data
df <- read.csv("https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.csv?v=1&csvType=full&useColumnShortNames=false")

# Fetch the metadata
metadata <- fromJSON("https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.metadata.json?v=1&csvType=full&useColumnShortNames=false")
Stata
import delimited "https://ourworldindata.org/grapher/chinas-rank-in-imports-of-goods.csv?v=1&csvType=full&useColumnShortNames=false", encoding("utf-8") clear