/General
Open API
Draft: These docs are scaffolding. Endpoints, authentication and versioning will be filled in once the API contract is agreed.
What is it?
Bank Negara Malaysia publishes monetary, financial and economic statistics on this site. This API is the programmatic interface to that data, for developers who want to query it on demand rather than download static files.
Do I need this?
There are two ways to access the data programmatically: download the static files linked from the Data Catalogue, or query this API.
Use the API if…
- You are building an application that queries data on demand, e.g. a rate lookup or a live dashboard.
- You are embedding BNM data into another product, such as a news app or a data pipeline.
- You need a stable, versioned interface with consistent response schemas.
Use the static files instead if…
- You need a full dataset for analysis or research.
- You are working in Python, R, or a BI tool and prefer direct downloads.
- The dataset is large: API responses are capped at about 10 MB, so the biggest datasets are only available as files.