All Quotes
Retrieve real-time quote data for all stocks including OHLC prices, trading volumes, bid/ask spreads, and price changes.
GET/3.0/market/quotes
Description
This endpoint returns quote data for all stocks in the market including OHLC prices, trading volumes, bid/ask spreads, and price changes. This is ideal for real-time market monitoring and trading applications.
Request
Authentication
- Type: Bearer Token
- Required: Yes
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
symbol | string | No | Comma-separated stock symbols to filter results | SYS,UNITY,TRG |
Response
Success Response (200)
{
"status": "ok",
"message": "",
"data": [
{
"date": "2025-12-11 12:38:06",
"symbol": "GGGL",
"open": 10.69,
"high": 10.8,
"low": 10.47,
"close": 10.6,
"volume": 223415,
"change": 0.04,
"change_percent": 0.0038,
"bid_price": 10.57,
"bid_volume": 100,
"ask_price": 10.6,
"ask_volume": 487
},
{
"date": "2025-12-11 12:38:14",
"symbol": "MIRKS",
"open": 39.11,
"high": 39.79,
"low": 39.11,
"close": 39.36,
"volume": 58181,
"change": -0.23,
"change_percent": -0.0058,
"bid_price": 39.25,
"bid_volume": 337,
"ask_price": 39.3,
"ask_volume": 200
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
date | string | Data timestamp (YYYY-MM-DD HH:MM:SS) |
symbol | string | Stock symbol/ticker |
open | number | Opening price |
high | number | Highest price |
low | number | Lowest price |
close | number | Closing price |
volume | number | Trading volume |
change | number | Absolute price change |
change_percent | number | Percentage price change |
bid_price | number | Current bid price |
bid_volume | number | Bid volume |
ask_price | number | Current ask price |
ask_volume | number | Ask volume |
Error Responses
For detailed Common Error responses, see the Error Handling.
Examples
Get All Quotes Overview
curl -X GET "https://csapis.com/3.0/market/quotes" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Get Specific Symbols Quotes
curl -X GET "https://csapis.com/3.0/market/quotes?symbol=GLANCE,HUBCO,AHCL" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Use Cases
- Real-time Market Monitoring: Track live prices, volumes, and bid/ask spreads across all stocks
- Trading Applications: Access OHLC data and order book depth for trading decisions
- Market Screening: Screen stocks by price action, volume, and spread metrics
- Portfolio Tracking: Monitor real-time quote data for portfolio holdings
- Algorithmic Trading: Feed live quote data into automated trading strategies