market
Get Quote
Get a real-time quote for a single symbol.
Returns the latest price, change, volume, and key metrics for the requested ticker symbol.
curl example:
curl -X GET "http://localhost:8000/api/quote/AAPL"
Python requests example:
import requests
resp = requests.get("http://localhost:8000/api/quote/AAPL")
quote = resp.json()
get/api/quote/{symbol}
Request
- Base URL: https://api.halalterminal.com
- URL: https://api.halalterminal.com/api/quote/{symbol}
- Auth: API key in header X-API-Key
Path parameters
symbolstring required
Ticker symbol, e.g. AAPL.
Response
Real-time quote for the requested symbol
Example response
{
"beta": 1.28,
"change": 1.32,
"changePercent": 0.71,
"dividendYield": 0.0055,
"high": 188.5,
"low": 185.73,
"marketCap": 2890000000000,
"name": "Apple Inc.",
"open": 186.12,
"peRatio": 29.5,
"previousClose": 186.12,
"price": 187.44,
"symbol": "AAPL",
"volume": 54638921
}Changes
No recorded changes to this operation across all 1 revision of this API.