Skip to main content

Daily Market Summary

Retrieve daily market summary data including OHLCV (Open, High, Low, Close, Volume) changes and percentage changes for all stocks.

GET/3.0/market/closing

Description

This endpoint provides a comprehensive daily market summary with opening, high, low, closing prices and percentage changes for all stocks and indices in the market. It includes volume data and percentage change calculations 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,
"change": 2.50,
"pch": 1.79
},
{
"symbol": "HUBCO",
"open": 80.00,
"high": 82.50,
"low": 76.25,
"close": 78.25,
"volume": 1800000,
"change": -1.75,
"pch": -2.19
},
{
"symbol": "AHCL",
"open": 288.00,
"high": 295.50,
"low": 286.75,
"close": 290.50,
"volume": 450000,
"change": 2.50,
"pch": 0.87
}
]
}

Response Fields

FieldTypeDescription
symbolstringStock symbol or ticker
opennumberOpening price for the day
highnumberHighest price for the day
lownumberLowest price for the day
closenumberClosing price for the day
volumenumberTrading volume for the day
changenumberAbsolute price change (closing - opening)
pchnumberPercentage change (%)

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