Sugra API V1.0.0
  1. /v1/quotes
Sugra API V1.0.0
  • /v1/quotes
    • Retrieves all available information for a given stock symbol.
      GET
    • Get Stock Price
      GET
    • Retrieves news related to a given stock symbol.
      GET
    • Retrieves stock recommendations for a given symbol.
      GET
    • Retrieves upgrades and downgrades for a given stock symbol.
      GET
    • Retrieve targets for a stock symbol
      GET
    • Retrieves historical actions related to a given stock symbol.
      GET
    • Retrieves earnings report dates for a given stock symbol.
      GET
    • Retrieves top institutional holders for a given stock symbol.
      GET
    • Retrieves top mutual fund holders for a given stock symbol.
      GET
    • Retrieves insider roster holders for a given stock symbol.
      GET
    • Retrieves insider transactions for a given stock symbol.
      GET
    • Retrieves annual or quarterly income statements for a given stock symbol.
      GET
    • Retrieves annual or quarterly balance sheets for a given stock symbol.
      GET
    • Retrieves annual or quarterly cash flow data for a given stock symbol.
      GET
    • Retrieves multiple stock quotes
      GET
    • Get technical analysis for a stock symbol
      GET
    • Retrieve SEC filings for a specific stock symbol
      GET
    • Retrieves the ISIN (International Securities Identification Number) for a given stock symbol.
      GET
    • Get Stock Dividend Information
      GET
    • Retrieves Historical Price information for a given stock symbol.
      GET
  • v1/economics/
    • Get Economic Countries Indicators
      GET
    • Get Economics Indicators Overview
      GET
    • Get Economics GDP Indicators
      GET
    • Get Economics labour Indicators
      GET
    • Get Economics Prices Indicators
      GET
    • Get Economics Health Indicators
      GET
    • Get Economics Money Indicators
      GET
    • Get Economics Trade Indicators
      GET
    • Get Economics Government Indicators
      GET
    • Get Economics Business Indicators
      GET
    • Get Economics Consumer Indicators
      GET
    • Get Economics Housing Indicators
      GET
  1. /v1/quotes

Get Stock Price

GET
https://api.sugra.ai/v1/quotes/{symbol}/price
Last modified:2024-02-20 10:26:05
Maintainer:Not configured
OperationId:getStockPrice
Retrieves the current stock price along with open, previous close, day high, and day low prices for a given stock symbol.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sugra.ai/v1/quotes/AAPL/price' \
--header 'x-api-key:   ABCD314159'
Response Response Example
200 - Success
{
  "currentPrice": 182.31,
  "dayHigh": 184.85,
  "dayLow": 181.665,
  "fiftyDayAverage": 189.8614,
  "fiftyTwoWeekHigh": 199.62,
  "fiftyTwoWeekLow": 143.9,
  "marketCap": 2815212650496,
  "open": 183.42,
  "previousClose": 183.86,
  "twoHundredDayAverage": 183.48035,
  "volume": 49752465
}

Request

Path Params
symbol
string 
required
The stock symbol for which to retrieve the price information.
Example:
AAPL
Header Params
x-api-key
string 
optional
Default:
ABCD314159

Responses

🟢200Successful response with the stock price information.
application/json
Body
currentPrice
number 
required
dayHigh
number 
required
dayLow
number 
required
fiftyDayAverage
number 
required
fiftyTwoWeekHigh
number 
required
fiftyTwoWeekLow
number 
required
marketCap
integer 
required
open
number 
required
previousClose
number 
required
twoHundredDayAverage
number 
required
volume
integer 
required
🟠400Invalid symbol format.
🔴500Internal server error.
Modified at 2024-02-20 10:26:05
Previous
Retrieves all available information for a given stock symbol.
Next
Retrieves news related to a given stock symbol.
Built with