Sai's Stock Analyzer

FREEMIUM
By Sairam V | Updated il y a un mois | Finance
Popularity

9.7 / 10

Latency

107ms

Service Level

100%

Health Check

100%

README

Sai’s Stock Analyzer API provides detailed technical analysis of stocks using ChatGPT. It uses Generative Artificial Intelligence (AI) tool (ChatGPT) to provide technical analysis of stocks. At the end of the analysis report, it gives buy/sell/hold recommendations based on the analysis.
Provides very accurate analysis of stocks which even the beginners who want to invest in stock market can use as input before investing. I am personally using this analysis to invest in stock market and found it very useful input while investing in the stock market.
Supports 61 stock exchanges world-wide and more than 50,000 stocks world-wide. Works on daily share price data updated in our database for different stock exchanges.
One (1) analysis report per day is provided free for all subscribed users to test and verify the accuracy of analysis and recommendations that this API provides using ChatGPT.
Two (2) endpoints (SupportedExchanges and FindStocks) are provided to enable them to get the list of the stock exchanges supported by the API and search for stocks you are interested in. The stock codes used here is same as Yahoo Finance tickers to maintain ease of use.

“Courage taught me no matter how bad a crisis gets … any sound investment will eventually pay off.” — Carlos Slim Helu

Come and experience the Power of ChatGPT and Generative AI. Happy Investing !!!

NOTE: It might take around 1 minute (40-60 seconds) for each report to be generated by ChatGPT. Hence, please have patience. Also, the rate limits of the report generation are kept keeping in mind the rate limits of ChatGPT API usage.

DISCLAIMER: The analysis provided by this API is based solely on technical indicators, and should be considered in conjunction with fundamental analysis and personal risk tolerance before making any investment decisions. Please note that the analysis is based on historical price data, and future stock price movements can be influenced by various factors, including market conditions, news, and company-specific events. We should not be held responsible for any losses (if any) in what-so-ever manner including but not limited to, financial losses (if any) incurred by you, because you referred to this analysis report for investing.


Good News for all subscribers!!!

Future Share Price Predictions has been added to the offering.

You can get the future share price predictions of stocks you take report of for 10 days in future. This prediction is done using Artificial Intelligence and Machine Learning and Predictive Analysis. You will now easily know how the stock prices will trend in the near future. See example screenshots below.


SupportedExchanges

This endpoint provides all the stock exchanges supported (exchange codes) and country these exchanges belong to. No input parameters required. In case the response is successful status will be “SUCCESS”. If there is an error, status in the response will have “ERROR” as value and message will be provide the error details. This end point provides the list of 61 stock exchanges world-wide. Response structure is as below -
{
“status”: “SUCCESS”,
“message”: “”,
“data”: [
{
“exchange”: “NSE”,
“country”: “India”
},
{
“exchange”: “BSE”,
“country”: “India”
},
{
“exchange”: “AMS”,
“country”: “Netherlands”
},
{
“exchange”: “ASE”,
“country”: “USA”
},

]
}

FindStocks
This endpoint does a starts-with search on stock code or company name and returns stock codes and company names starting with the search_term provided in the input parameter for the provided exchange. 2 mandatory input parameters - exchange and search_term. You must enter at least three characters in search_term. In case the response is successful status will be “SUCCESS”. If there is an error, status in the response will have “ERROR” as value and message will be provide the error details. In case no data found for the combination of exchange and search_term input parameters, status will be “WARN”.

/FindStocks?exchange=NMS&search_term=Apple

Response structure is as below -
{
“status”: “SUCCESS”,
“message”: “”,
“data”: [
{
“stock_code”: “AAPL”,
“company_name”: “APPLE INC.”
}
]
}

AnalysisReport

This endpoint returns the detailed technical analysis as provided by ChatGPT. At the end of the analysis report, it gives buy/sell/hold recommendations based on the analysis. Supports more than 50,000 stocks world-wide. 2 mandatory input parameters - exchange and stock_code. The stock codes used here is same as Yahoo Finance tickers to maintain ease of use. There can be certain stock data missing for any exchange. If you are sure that a certain stock_code is present in Yahoo finance for a particular exchange but you cannot find the data here, please raise a support request with the details of exchange code and stock code and we will get it added ASAP.
In case the response is successful status will be “SUCCESS”. If there is an error, status in the response will have “ERROR” as value and message will be provide the error details. In case no data found for the combination of exchange and stock_code input parameters, status will be “WARN”.

/AnalysisReport?exchange=NSE&stock_code=ADANIENT.NS

Response structure is as below -

{
“status”: “SUCCESS”,
“message”: “Please copy-paste the url below in a browser to get the Analysis Report”,
“data”: {
“url”: “http://mystocks.sairamapps.in/stocksanalysisapp/?exchange=BSE&stockcode=7TEC.BO&accesskey=a4f8e9cbde29dfa3c3a7440dc9e4f63b|50d8bd76837d23448b51430abdd116c24f573184b6cea8d3923321fc6b7a07fca6d94d1cdd76a7c5d1cccf1074bc982c78a4274d

}

Please note that in the above structure, data.url provides you with the link to analysis report as well as, technical graphs and technical indicators which can be useful if you are an expert and understand the graphs and indicators to help you to invest in the stock. The URL provided in data.url expires in 24 hours from the time it is generated – this is done to make sure you can get latest graphs as per the daily changing prices and hence the indicators. If the url expires, you can re-run this endpoint (/AnalysisReport) to generate a new url for use.

The example url provided above will not expire. Please feel free to visit the above url (pasted again below for your reference) to check the graphs and technical indicators provided.

Click here to Example of graphs and technical indicators

Example screenshots are provided below -
image

An example code to call the endpoint in python is as given below. You can make use of this or you can follow the code snippets provided by Rapid API in the API console. Rapid API provides code snippets in different languages for your help.

def GetAnalysisReport(exchange, stockCode):
    url = "https://sais-stock-analyzer.p.rapidapi.com/AnalysisReport"
    querystring = {"exchange":exchange, "stock_code":stockCode}
    headers = { "X-RapidAPI-Key": " YOUR_X-RAPIDAPI-HOST_COPY_DIRECTLY_FROM_RAPIDAPI_PYTHON_CODE_SNIPPETS",
	"X-RapidAPI-Host": " YOUR_X-RAPIDAPI-KEY_WILL_COPY_DIRECTLY_FROM_RAPIDAPI_PYTHON_CODE_SNIPPETS"}
    try:
        response = requests.get(url, headers=headers, params=querystring)
        if(response.ok):
            jsonData = json.loads(response.content)
            if(jsonData["status"] == "ERROR"):
                #print error
                print(jsonData["message"])
            elif (jsonData["status"] == "WARN"):
                 #print no data found
                print(jsonData["message"])
            else:#success case - get the url
                print(jsonData["data"].url)

        else:
            response.raise_for_status()
        
    except Exception as e:
        #log exception and show error message to user
        raise e

Followers: 23
Resources:
Terms of use
API Creator:
Rapid account: Sairam V
Sairam V
vijaysairamv
Log In to Rate API
Rating: 4.9 - Votes: 37