Skip to main content

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

NameTypeRequiredDescriptionExample
symbolstringNoComma-separated stock symbols to filter resultsSYS,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

FieldTypeDescription
datestringData timestamp (YYYY-MM-DD HH:MM:SS)
symbolstringStock symbol/ticker
opennumberOpening price
highnumberHighest price
lownumberLowest price
closenumberClosing price
volumenumberTrading volume
changenumberAbsolute price change
change_percentnumberPercentage price change
bid_pricenumberCurrent bid price
bid_volumenumberBid volume
ask_pricenumberCurrent ask price
ask_volumenumberAsk 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