Skip to navigation

Get stock prices

Get the latest available stock quote, and a timeseries of stock prices for a specified equity

Get the latest available quote

Get the latest quote for an equity by calling the equity/{ticker}/quote endpoint. Replace {ticker} with the stock symbol you want to get the quote for.

curl -X GET "https://api.dataglade.com/equity/AAPL/quote" -H "Authorization : Bearer <YOUR_API_KEY>"

Make sure to pass your API key.

Response
{
"data": [
{
"symbol": "AAPL",
"name": "Apple Inc.",
"price": 235.86,
"percentChange": -0.2622,
"change": -0.62,
"dayLow": 232.61,
"dayHigh": 236.19,
"yearHigh": 237.49,
"yearLow": 164.08,
"marketCap": 3586039026000,
"priceAvg50": 225.9344,
"priceAvg200": 200.1021,
"volume": 34958938,
"avgVolume": 51003768,
"open": 233.885,
"lastClose": 236.48,
"eps": 6.57,
"pe": 35.9,
"shares": 15204100000,
"timestamp": 1729627201
}
],
"message": "message",
"info": "info"
}

Historical prices (charting)

You can get historical price intervals for a stock by calling the equity/{ticker}/prices endpoint. Replace {ticker} with the stock symbol you want to get the prices for.

Historical prices include day trading ranges - open, high, low, close - as well as volume (OHLCV). This makes them idea for charting, including for drawing candlestick charts.

curl -X GET "https://api.dataglade.com/equity/AAPL/quote" -H "Authorization : Bearer <YOUR_API_KEY>"

Make sure to pass your API key.

Response
{
"data": [
{
"symbol": "AAPL",
"name": "Apple Inc.",
"price": 235.86,
"percentChange": -0.2622,
"change": -0.62,
"dayLow": 232.61,
"dayHigh": 236.19,
"yearHigh": 237.49,
"yearLow": 164.08,
"marketCap": 3586039026000,
"priceAvg50": 225.9344,
"priceAvg200": 200.1021,
"volume": 34958938,
"avgVolume": 51003768,
"open": 233.885,
"lastClose": 236.48,
"eps": 6.57,
"pe": 35.9,
"shares": 15204100000,
"timestamp": 1729627201
}
],
"message": "message",
"info": "info"
}