Get started

    API Endpoint

        https://deepagiscreener.com/
                

DEEPAGI Screener 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 List of Stocks


curl --location --request GET "https://deepagiscreener.com/getstockslist?\
token=YOUR_API_KEY"
                

To get list of stocks available on this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getstockslist



Result example :

{
    "stocks_list": [
        "3A",
        "AASIA",
        "AAX",
        "ABLEGRP",
        "ABMB",
        "ACME",
        "ACO",
        "ACOSTEC",
        "ADVCON",
        "ADVENTA",
        "ADVPKG",
        "AEM",
        ....
        ]
}
                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Get Latest Uptrend MA200 Stocks


curl --location --request GET "https://deepagiscreener.com/getlatestuptrend?\
token=YOUR_API_KEY"
                

To get latest uptrend MA200 stocks available on this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestuptrend



Result example :

{
    "uptrend": [
        {
            "150_Day_Ma": 2.2,
            "200_Day_MA": 2.13,
            "50_Day_MA": 2.29,
            "52_Week_High": 2.55,
            "52_Week_Low": 1.68,
            "Stock": "ADVPKG"
        },
        {
            "150_Day_Ma": 0.63,
            "200_Day_MA": 0.53,
            "50_Day_MA": 0.67,
            "52_Week_High": 0.87,
            "52_Week_Low": 0.08,
            "Stock": "AEMULUS"
        },
        {
            "150_Day_Ma": 0.84,
            "200_Day_MA": 0.8,
            "50_Day_MA": 0.97,
            "52_Week_High": 1.0,
            "52_Week_Low": 0.58,
            "Stock": "AHP"
        },
        ...
        ]
}
                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Get Latest RSI Rating


curl --location --request GET "https://deepagiscreener.com/getlatestrsi?\
token=YOUR_API_KEY"
                

To get latest relative strength index rating available on this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestrsi



Result example :

{
    "rsi": [
        {
            "RS_Rating": 2.39,
            "Stock": "3A"
        },
        {
            "RS_Rating": 10.02,
            "Stock": "AASIA"
        },
        {
            "RS_Rating": 5.9,
            "Stock": "AAX"
        },
        {
            "RS_Rating": 21.93,
            "Stock": "ABLEGRP"
        },
        {
            "RS_Rating": 2.91,
            "Stock": "ABMB"
        },
        ...
        ]
}
                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Get Latest MACD


curl --location --request GET "https://deepagiscreener.com/getlatestMACD?\
stocksname=MSNIAGA&\
fast=12&\
slow=26&\
signal=9&\
token=YOUR_API_KEY"
                

To get the latest stock MACD for particular stocks, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestMACD



Result example :

{
    "MACD": [
        {
            "EMA": 1.25,
            "EMA_200": 1.25,
            "MACD": null,
            "MACDhist": null,
            "MACDsig": null,
            "buy_sig": null,
            "close": 1.25,
            "date": "2020-02-25",
            "high": 1.29,
            "low": 1.25,
            "name": "MSNIAGA",
            "open": 1.29,
            "sell_sig": null,
            "vol": 2100.0
        },
        {
            "EMA": 1.25,
            "EMA_200": 1.25,
            "MACD": null,
            "MACDhist": null,
            "MACDsig": null,
            "buy_sig": null,
            "close": 1.25,
            "date": "2020-02-26",
            "high": 1.25,
            "low": 1.25,
            "name": "MSNIAGA",
            "open": 1.25,
            "sell_sig": null,
            "vol": 1100.0
        },
        ...
        ],
}

                

QUERY PARAMETERS

Field Type Description
stocksname String Stocks name such as MSNIAGA, AIRASIA, 3A and etc..
fast String Fast period in integer format such as 1, 2, 3
slow String Slow period in integer format such as 1, 2, 3
signal String Signal period in integer format such as 1, 2, 3
token String Your API key.

Get Latest SAR


curl --location --request GET "https://deepagiscreener.com/getlatestSAR?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

To get the latest stock SAR for particular stocks, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestSAR



Result example :

{
    "SAR": [
        {
            "SAR": null,
            "chikou_span": 0.755,
            "close": 1.25,
            "daily_return": null,
            "date": "2020-02-25",
            "high": 1.29,
            "kijun_sen_line": null,
            "low": 1.25,
            "name": "MSNIAGA",
            "open": 1.29,
            "senkou_spna_A": null,
            "senkou_spna_B": null,
            "signal": 0,
            "strategy_returns": null,
            "tenkan_sen_line": null,
            "vol": 2100.0
        },
        {
            "SAR": 1.25,
            "chikou_span": 0.76,
            "close": 1.25,
            "daily_return": 0.0,
            "date": "2020-02-26",
            "high": 1.25,
            "kijun_sen_line": null,
            "low": 1.25,
            "name": "MSNIAGA",
            "open": 1.25,
            "senkou_spna_A": null,
            "senkou_spna_B": null,
            "signal": 0,
            "strategy_returns": 0.0,
            "tenkan_sen_line": null,
            "vol": 1100.0
        },
        ...],
    "stocksplot": "iVBORw0KGgoAAAAN......."
}

                

QUERY PARAMETERS

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

Get Latest Batting Average


curl --location --request GET "https://deepagiscreener.com/getlatestbattingaverage?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

To get the latest batting average for particular stocks, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestbattingaverage



Result example :

{
    "average_gain": "4.428243184824339",
    "average_loss": "-13.231226528877865",
    "batting_average": "0.24414715719063546",
    "gainloss_ratio": "0.3346812311889196",
    "max_loss": "-60.560344827586206",
    "max_return": "23.77049180327868",
    "stocksname": "MSNIAGA"
}

                

QUERY PARAMETERS

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

Get Backtesting


curl --location --request GET "https://deepagiscreener.com/getbacktesting?\
stocksname=MSNIAGA&\
fast=12&\
slow=26&\
signal=20&\
sma=5&\
initial_cash=2000&\
token=YOUR_API_KEY"
                

To do backtesting for particular stocks, you need to make a GET call to the following url :
https://deepagiscreener.com/getbacktesting



Result example :

{
    "backtesting": [
        {
            "add_cash_amount": 0,
            "add_cash_freq": "M",
            "allow_short": false,
            "buy_prop": 1,
            "channel": "",
            "commission": 0.0075,
            "dir_period": 10,
            "drawdown": 17.1460219038,
            "execution_type": "close",
            "fast_period": 12,
            "final_value": 1708.92925,
            "init_cash": 2000,
            "len": 66,
            "max": {
                "drawdown": 18.2214603984,
                "len": 66,
                "moneydown": 375.832125
            },
            "maxdrawdown": 18.2214603984,
            "maxdrawdownperiod": 66,
            "moneydown": 353.65035,
            "pnl": -291.07,
            "ravg": -0.0006445909,
            "rnorm": -0.1499302745,
            "rnorm100": -14.9930274478,
            "rtot": -0.1572801758,
            "sell_prop": 1,
            "sharperatio": -1.4223663936,
            "short_max": 1.5,
            "signal_period": 20,
            "slow_period": 26,
            "sma_period": 5,
            "stop_loss": 0,
            "stop_trail": 0,
            "strat_id": 0,
            "symbol": ""
        }
    ],
    "stocks": "MSNIAGA",
    "stocksplot": "iVBORw0KGgoAAAANSUhEUgAAC7gAAA......."
}

                

QUERY PARAMETERS

Field Type Description
stocksname String Stocks name such as MSNIAGA, AIRASIA, 3A and etc..
fast String Fast period in integer format such as 1, 2, 3
slow String Slow period in integer format such as 1, 2, 3
signal String Signal period in integer format such as 1, 2, 3
sma String SMA period in integer format such as 1, 2, 3
initial_cash String Your preferred initial cash in integer format such as 1, 2, 3
token String Your API key.

Get Gann Square of Nine


curl --location --request GET "https://deepagiscreener.com/getGANN?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This API endpoint will suggest to you trading plan that you can use during your intraday trading for particular stocks with Gann Square of Nine formula. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getGANN



Result example :

{
    "GANN": {
        "entry_point": "1.5",
        "resistance": "1.511",
        "stop_loss": "1.439",
        "support": "1.45",
        "target_price": "1.531"
    },
    "stocksname": "MSNIAGA"
}

                

QUERY PARAMETERS

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

Get SNR Levels


curl --location --request GET "https://deepagiscreener.com/getsnr?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This API endpoint will give you the value of SNR levels based on the stock that you choose. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getsnr



Result example :

{
    "snr": [
        {
            "levels": "0",
            "value": "1.36"
        },
        {
            "levels": "1",
            "value": "1.25"
        },
        {
            "levels": "2",
            "value": "1.45"
        },
        {
            "levels": "3",
            "value": "1.3"
        },
        {
            "levels": "4",
            "value": "1.75"
        },
        {
            "levels": "5",
            "value": "1.84"
        },
        {
            "levels": "6",
            "value": "1.63"
        },
        {
            "levels": "7",
            "value": "1.55"
        }
    ],
    "stocksname": "MSNIAGA"
}

                

QUERY PARAMETERS

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

Get Latest Donchian Channel


curl --location --request GET "https://deepagiscreener.com/getlatestdonchian?\
stocksname=MSNIAGA&\
period=55&\
token=YOUR_API_KEY"
                

This API endpoint will give you the Donchian Channels of the stock that you choose with customizable period. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestdonchian



Result example :

{
    "donchian": [
        {
            "close": 0.935,
            "date": "2020-06-16",
            "high": 1.0,
            "low": 0.935,
            "lower_donchian": 0.935,
            "middle_donchian": 0.9675,
            "name": "MSNIAGA",
            "open": 0.96,
            "upper_donchian": 1.0,
            "vol": 43500.0
        },
        {
            "close": 0.95,
            "date": "2020-06-18",
            "high": 0.95,
            "low": 0.94,
            "lower_donchian": 0.935,
            "middle_donchian": 0.9675,
            "name": "MSNIAGA",
            "open": 0.95,
            "upper_donchian": 1.0,
            "vol": 20000.0
        },
        {
            "close": 0.935,
            "date": "2020-06-19",
            "high": 0.935,
            "low": 0.935,
            "lower_donchian": 0.935,
            "middle_donchian": 0.9675,
            "name": "MSNIAGA",
            "open": 0.935,
            "upper_donchian": 1.0,
            "vol": 500.0
        },
        ...
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.
stocksname String Stocks name such as MSNIAGA, AIRASIA, 3A and etc..
period Integer Number of period that you would like to in integer such as 20, 30 and etc

Get Latest Volatility Contraction Pattern


curl --location --request GET "https://deepagiscreener.com/getlatestvcp?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This API endpoint will give you the timeframe of the stock chosen with Volatility Contraction Pattern. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getlatestvcp



Result example :

{
    "vcp": [
        [
            {
                "close": 1.05,
                "date": "2020-06-24",
                "high": 1.05,
                "low": 0.965,
                "open": 0.965,
                "tag": "high",
                "vol": 27100.0
            },
            {
                "close": 0.93,
                "date": "2020-07-01",
                "high": 0.95,
                "low": 0.9,
                "open": 0.9,
                "tag": "low",
                "vol": 23700.0
            }
        ],
        [
            {
                "close": 1.33,
                "date": "2020-07-10",
                "high": 1.36,
                "low": 1.07,
                "open": 1.07,
                "tag": "high",
                "vol": 420100.0
            },
        ...
    ]
}

                

QUERY PARAMETERS

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

Get Fibonacci Retracements


curl --location --request GET "https://deepagiscreener.com/getfibonacci?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This API endpoint will give you the Fibonacci Retracements Levels based on stock that you chose. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getfibonacci



Result example :

{
    "fibonacci": [
        {
            "Level": 0.0,
            "Price": 1.64
        },
        {
            "Level": 0.236,
            "Price": 1.6
        },
        {
            "Level": 0.382,
            "Price": 1.575
        },
        {
            "Level": 0.5,
            "Price": 1.555
        },
        {
            "Level": 0.618,
            "Price": 1.535
        },
        {
            "Level": 0.786,
            "Price": 1.506
        },
        {
            "Level": 1.0,
            "Price": 1.47
        },
        {
            "Level": 1.618,
            "Price": 1.365
        }
    ],
    "stocksname": "MSNIAGA"
}
                

QUERY PARAMETERS

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

Get Quarter Reports


curl --location --request GET "https://deepagiscreener.com/getquarterreports?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This API will provide lists of quarter reports for the particular stocks that you desire. To use this API, you need to make a GET call to the following url :
https://deepagiscreener.com/getquarterreports



Result example :

{
    "qr": [
        {
            "date": "20-05-2021",
            "dividend": "0.00",
            "eps": "0.47",
            "name": "MSNIAGA",
            "netprofit": "283",
            "nta": "1.722",
            "pbt": "360",
            "qoq": "107%",
            "revenue": "49,203",
            "yoy": "84%"
        }
    ]
}

                

QUERY PARAMETERS

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

Breakout Screener


curl --location --request GET "https://deepagiscreener.com/breakoutscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that satisfy condition that the stocks have close price near 30 days high, close price larger than SMA 50 and RSI values between 50 and 70. To get the list of the stocks using Breakout Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/breakoutscreener



Result example :

{
    "breakout": [
        {
            "Close": 0.995,
            "RSI": 59.5355973408,
            "Sharpe_Ratio": 29.797679342,
            "Stock": "MGB"
        },
        {
            "Close": 0.66,
            "RSI": 58.9416381759,
            "Sharpe_Ratio": 27.3306291217,
            "Stock": "SRIDGE-WA"
        },
        {
            "Close": 3.43,
            "RSI": 57.6273146852,
            "Sharpe_Ratio": 25.8458629728,
            "Stock": "MBMR"
        },
        ...
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Monthly Screener


curl --location --request GET "https://deepagiscreener.com/monthlyscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that satisfy condition that the stocks have SMA 200 trending up for at least 1 month, RSI values more than 50 and a good parabolic SAR signal. To get the list of the stocks using Monthly Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/monthlyscreener



Result example :

{
    "monthly": [
        {
            "Close": 0.6,
            "RSI": 53.5594541754,
            "Sharpe_Ratio": 1.2161316285,
            "Stock": "DPIH"
        },
        {
            "Close": 1.83,
            "RSI": 68.8396300828,
            "Sharpe_Ratio": 1.1090072754,
            "Stock": "MGRC"
        },
        {
            "Close": 3.8,
            "RSI": 60.2747180534,
            "Sharpe_Ratio": 1.0774701806,
            "Stock": "MI"
        },
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Weekly Screener


curl --location --request GET "https://deepagiscreener.com/weeklyscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that satisfy condition that the stocks have SMA 200 trending up for at least 1 month, RSI values between 60 and 70 and a good parabolic SAR signal. To get the list of the stocks using Weekly Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/weeklyscreener



Result example :

{
    "weekly": [
        {
            "Close": 0.8,
            "RSI": 67.5565829072,
            "Sharpe_Ratio": 2.9892096786,
            "Stock": "SRIDGE-WA"
        },
        {
            "Close": 1.36,
            "RSI": 65.7768309908,
            "Sharpe_Ratio": 1.305583012,
            "Stock": "MGRC"
        },
        {
            "Close": 0.59,
            "RSI": 64.914898201,
            "Sharpe_Ratio": 1.0966970321,
            "Stock": "MCLEAN"
        },
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Daily Screener


curl --location --request GET "https://deepagiscreener.com/dailyscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that satisfy condition that the stocks have SMA 200 trending up for at least 1 month, RSI values more than 60, good stochastic value and a good parabolic SAR signal. To get the list of the stocks using Daily Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/dailyscreener



Result example :

{
    "daily": [
        {
            "Close": 0.765,
            "RSI": 70.9182357051,
            "Sharpe_Ratio": 1.0951357745,
            "Stock": "MILUX"
        },
        {
            "Close": 0.3,
            "RSI": 86.4543026095,
            "Sharpe_Ratio": 0.9281014268,
            "Stock": "SERSOL-WA"
        },
        {
            "Close": 0.26,
            "RSI": 71.3569791637,
            "Sharpe_Ratio": 0.7881735008,
            "Stock": "BRIGHT"
        },
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Sideway Screener


curl --location --request GET "https://deepagiscreener.com/sidewayscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that satisfy condition that the stocks have SMA 200 trending up for at least 1 month and a good parabolic SAR signal. To get the list of the stocks using Sideway Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/sidewayscreener



Result example :

{
    "sideway": [
        {
            "Close": 0.7,
            "RSI": 55.5166260098,
            "Sharpe_Ratio": 2.8549477088,
            "Stock": "INNATURE"
        },
        {
            "Close": 16.12,
            "RSI": 55.8145576232,
            "Sharpe_Ratio": 1.8006253231,
            "Stock": "VITROX"
        },
        {
            "Close": 2.24,
            "RSI": 52.5949369408,
            "Sharpe_Ratio": 1.6008858892,
            "Stock": "KGB"
        },
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.

Candlestick Screener


curl --location --request GET "https://deepagiscreener.com/candlestickscreener?\
stocksname=MSNIAGA&\
token=YOUR_API_KEY"
                

This screener will show candlestick everyday based on the stocks that being selected. To get the data using Candlestick Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/candlestickscreener



Result example :

{
    "candlestick": [
        {
            "candle": "NO_PATTERN",
            "close": 0.98,
            "date": "2020-05-27",
            "high": 1.04,
            "low": 0.98,
            "name": "MSNIAGA",
            "open": 1.04,
            "vol": 4500.0
        },
        {
            "candle": "NO_PATTERN",
            "close": 0.9,
            "date": "2020-05-28",
            "high": 0.9,
            "low": 0.9,
            "name": "MSNIAGA",
            "open": 0.9,
            "vol": 700.0
        },
        {
            "candle": "NO_PATTERN",
            "close": 0.895,
            "date": "2020-05-29",
            "high": 0.895,
            "low": 0.89,
            "name": "MSNIAGA",
            "open": 0.89,
            "vol": 6900.0
        },
        ...
    ]
}

                

QUERY PARAMETERS

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

Golden Cross Screener


curl --location --request GET "https://deepagiscreener.com/goldencrosscreener?\
token=YOUR_API_KEY"
                

This screener will list out stocks that has potential to have golden cross. To get the list of the stocks using Golden Cross Screener, you need to make a GET call to the following url :
https://deepagiscreener.com/goldencrosscreener



Result example :

{
    "goldencross": [
        {
            "buy_sig": 0.755,
            "candlestick_pattern": "Doji Bullish",
            "close": 0.755,
            "date": "2021-07-30",
            "lower_donchian": 0.7,
            "name": "PGLOBE",
            "qr_date": "2021-05-25",
            "qr_eps": "1.54",
            "qr_netprofit": "2877.0",
            "signal": -1,
            "trend": "Downtrend",
            "upper_donchian": 0.995,
            "vol": 2500.0
        },
        {
            "buy_sig": 0.88,
            "candlestick_pattern": "Doji Bullish",
            "close": 0.88,
            "date": "2021-07-30",
            "lower_donchian": 0.8,
            "name": "OFI",
            "qr_date": "2021-06-01",
            "qr_eps": "2.97",
            "qr_netprofit": "7122.0",
            "signal": 0,
            "trend": "Sideway",
            "upper_donchian": 0.93,
            "vol": 41800.0
        },
        {
            "buy_sig": 0.45,
            "candlestick_pattern": "Doji Bullish",
            "close": 0.45,
            "date": "2021-07-30",
            "lower_donchian": 0.44,
            "name": "TCS",
            "qr_date": "2021-05-24",
            "qr_eps": "0.84",
            "qr_netprofit": "3015.0",
            "signal": -1,
            "trend": "Downtrend",
            "upper_donchian": 0.58,
            "vol": 10100.0
        },
    ]
}

                

QUERY PARAMETERS

Field Type Description
token String Your API key.