PASAR API

🇲🇾 Foreign Direct Investment (FDI) Flows

← directory
DOSMNational Accountstier: openauth: no authpricing: freefreq: QUARTERLYcovers 2008~2025geography: NATIONAL

Foreign Direct Investment (FDI) Flows by DOSM, National Accounts API, for Malaysia, free.

More National Accounts APIs

Call it

curl 'https://api.data.gov.my/data-catalogue/?id=fdi_flows&limit=10&sort=-date'

AI prompt

I'm building an app using a free Malaysia API (no auth needed).

API: Foreign Direct Investment (FDI) Flows
Provider: DOSM
Endpoint: GET https://api.data.gov.my/data-catalogue/?id=fdi_flows&limit=10&sort=-date
It returns JSON.

Source: DOSM (https://data.gov.my/data-catalogue/fdi_flows)
Source type: Official open-data catalogue
Endpoint type: Open-data catalogue JSON
Integration difficulty: Copy-paste ready
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related National Accounts APIs

Balance of Key BOP ComponentsAnnual Nominal GDP by Expenditure TypeAnnual Nominal GDP by Expenditure SubtypeAnnual Nominal GDP by Income ComponentAnnual Nominal GDP by Economic SectorAnnual Nominal GDP by Economic SubsectorAnnual Real GDP by Expenditure TypeAnnual Real GDP by Economic SectorAnnual Real GDP by Economic SubsectorAnnual Nominal GDP & GNI: 1947 to Present