Daily Market Summary
Retrieve daily market summary data including OHLCV (Open, High, Low, Close, Volume) for all stocks.
GET/3.0/market/closing
Description
This endpoint provides a comprehensive daily market summary with opening, high, low, closing prices for all stocks in the market. It includes volume data to help traders and investors understand daily market movements at a glance.
Request
Authentication
- Type: Bearer Token
- Required: Yes
Parameters
This endpoint does not require any query parameters. It returns data for all stocks for the current trading day.
Response
Success Response (200)
{
"status": "ok",
"message": "",
"count": 565,
"data": [
{
"symbol": "GLANCE",
"open": 140.00,
"high": 145.75,
"low": 138.50,
"close": 142.50,
"volume": 2500000
},
{
"symbol": "HUBCO",
"open": 80.00,
"high": 82.50,
"low": 76.25,
"close": 78.25,
"volume": 1800000
},
{
"symbol": "AHCL",
"open": 288.00,
"high": 295.50,
"low": 286.75,
"close": 290.50,
"volume": 450000
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
symbol | string | Stock symbol or ticker |
open | number | Opening price for the day |
high | number | Highest price for the day |
low | number | Lowest price for the day |
close | number | Closing price for the day |
volume | number | Trading volume for the day |
Error Responses
For detailed Common Error responses, see the Error Handling.
Examples
Get Daily Market Summary
curl -X GET "https://csapis.com/3.0/market/closing" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Use Cases
- Market Overview: Get a quick snapshot of all stocks' daily performance
- Performance Tracking: Monitor opening, high, low, and closing prices
- Volume Analysis: Track trading volume across all stocks
- Price Movement: Identify gainers and losers for the day
- Trading Decisions: Use daily stats to inform trading decisions