Monthly retained imports by end use and Broad Economic Categories (BEC).
0 views·0 downloads
This dataset presents monthly retained imports, broken down by Broad Economic Categories (BEC) and end use. The classification of BEC is based on the 4th revision of the BEC published by the United Nations Statistics Division, which maps HS codes onto the basic classes of goods in national accounts (capital, intermediate, and consumer goods). For a full description of the methodology, please refer to the Technical Notes.
Data for the most recent two months is provisional and subject to revision in future updates.
External Trade, Mar 2026, the latest edition of the monthly trade statistics published by DOSM. OpenDOSM also features a dashboard on trade.
Monthly retained imports by end use and Broad Economic Categories (BEC).
Name in Dataset | Variable | Definition |
|---|---|---|
series (Categorical) | Series Type | Either absolute values ('abs'), year-on-year growth ('growth_yoy') or month-on-month growth ('growth_mom') |
end_use (Categorical) | End Use | BEC end-use category: total retained imports ('retained_imports'), durable assets ('capital'), goods used as inputs to production ('intermediate'), household consumption goods ('consumption'), dual-use goods ('dual_use'), goods not elsewhere specified ('nes'), or low-value transactions ('below_5000') |
bec (String) | BEC Code | 3-digit BEC code, to be matched using the 'bec_code' column in the BEC Data Dictionary. The BEC data dictionary will give you the English and Malay definitions. The code '000' represents the aggregate across all BEC codes within the given end-use category. |
date (Date) | Date | The date in YYYY-MM-DD format, with DD set to 01 since the data is at monthly frequency |
imports (Float, RM) | Imports | The value of retained imports for that end use and BEC |
28 Apr 2026, 12:30
26 May 2026, 12:30
This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
0
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
0
Connect directly to the data with Python.
# If not already installed, do: pip install pandas fastparquet
import pandas as pd
URL_DATA = 'https://storage.dosm.gov.my/trade/trade_enduse_bec.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
print(df)The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.
import requests
import pprint
url = "https://api.data.gov.my/data-catalogue?id=trade_enduse_bec&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)© 2026 Public Sector Open Data