Live Share Price for Stocks

FREEMIUM
By Sairam V | Updated hace un mes | Finance
Popularity

9.6 / 10

Latency

104ms

Service Level

100%

Health Check

100%

README

Live Share Price for Stocks API provides share prices for stocks you are looking for intraday on every minute basis which can help in knowing how the stock has been trending in the market for the day until the time you query it or the end of the market session whichever is earlier. You can take this data and draw graphs of the trend the stock experienced over the day.

Supports 61 stock exchanges world-wide and more than 50,000 stocks world-wide. Gets the live share price data from Yahoo Finance for different stock exchanges.

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.

DISCLAIMER: As this API returns data every minute, hence there can be some lag from actual live prices that happens within a given minute. This also depends on the moment of time you are querying the data. For example, this API shows the live price at 09:30 hours and 09:31 hours and will not be able to give the price in between 09:30 and 09:31 hours i.e. it will not be able to get the price at 09:30:30 hours.

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."
        }
    ]
}

IntradayLivePrice

This end-point provides share prices for stocks you are looking for intraday on every minute basis which can help in knowing how the stock has been trending in the market for the day until the time you query it or the end of the market session whichever is earlier. You can take this data and draw graphs of the trend the stock experienced over the day.

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

Response structure is as below -

{
    "status": "SUCCESS",
    "message": "Intraday live prices for ADANI ENTERPRISES LIMITED (ADANIENT.NS)",
    "data": [
        {
            "datetime": "2024-02-09 09:15:00+05:30",
            "price": 3178.2
        },
       ...
      {
            "datetime": "2024-02-09 15:29:00+05:30",
            "price": 3215.2
        }
    ]
}
Followers: 37
Resources:
Terms of use
API Creator:
Rapid account: Sairam V
Sairam V
vijaysairamv
Log In to Rate API
Rating: 4.9 - Votes: 37