Get started

    API Endpoint

        https://i-bursa.herokuapp.com/
                

i-Bursa API will provides programmatic access to read stock data for various stock from Bursa Malaysia Main Market and get future predictions either the stocks of the particular market will increase or decrease.

To use this API, you need an API key. Please contact us at HERE to get your own API key.

Get Stock Data


curl --location --request GET "https://i-bursa.herokuapp.com/stocks?\
stocks=MSNIAGA&\
id=YOUR_API_KEY"
                

To get the data for particular stocks, you need to make a GET call to the following url :
https://i-bursa.herokuapp.com/stocks



Result example :

{
    "res": [
        {
            "close": 1.68,
            "date": 1262563200000,
            "high": 1.68,
            "index": 2720,
            "low": 1.68,
            "name": "MSNIAGA",
            "open": 1.68,
            "vol": 21000
        },
        {
            "close": 1.71,
            "date": 1262649600000,
            "high": 1.71,
            "index": 2719,
            "low": 1.7,
            "name": "MSNIAGA",
            "open": 1.7,
            "vol": 25000
        },
        {
            "close": 1.79,
            "date": 1262736000000,
            "high": 1.79,
            "index": 2718,
            "low": 1.71,
            "name": "MSNIAGA",
            "open": 1.71,
            "vol": 37000
        },
        {
            "close": 1.82,
            "date": 1262822400000,
            "high": 1.84,
            "index": 2717,
            "low": 1.77,
            "name": "MSNIAGA",
            "open": 1.8,
            "vol": 66000
        }
        ...
    ]
}

                

QUERY PARAMETERS

Field Type Description
stocks String Stocks name such as MSNIAGA, AIRASIA, 3A and etc..
id String Your API key.

Get Latest Stock Details


curl --location --request GET "https://i-bursa.herokuapp.com/details?\
stocks=MSNIAGA&\
id=YOUR_API_KEY"
                

To get the latest stock details for particular stocks, you need to make a GET call to the following url :
https://i-bursa.herokuapp.com/details



Result example :

{
    "res": {
        "close": "1.25",
        "date": "20 November 2020 04.09 PM",
        "high": 1.25,
        "low": 1.25,
        "name": "MSNIAGA",
        "open": 1.25,
        "volume": "4000"
    }
}

                

QUERY PARAMETERS

Field Type Description
stocks String Stocks name such as MSNIAGA, AIRASIA, 3A and etc..
id String Your API key.