Skip to main content

All Tickers

Retrieve current ticker data for all available stocks and indices in the market.

GET/3.0/market/tickers

Description

This endpoint provides real-time ticker data for all stocks and indices currently trading on the market. It returns the latest price, change, and percentage change for each ticker. The data is updated regularly during market hours.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

This endpoint does not accept any query parameters.

Response

Success Response (200)

{
"status": "ok",
"message": "",
"data": [
{
"m": "REG",
"s": "GLANCE",
"c": 142.5,
"ch": 2.5,
"pch": 1.79
},
{
"m": "REG",
"s": "HUBCO",
"c": 78.25,
"ch": -1.75,
"pch": -2.19
},
{
"m": "IDX",
"s": "KSE100",
"c": 82450.75,
"ch": 450.25,
"pch": 0.55
}
]
}

Response Fields

FieldTypeDescription
mstringMarket type (REG = Regular market, IDX = Index)
sstringSymbol or ticker code
cnumberCurrent closing price
chnumberAbsolute price change
pchnumberPercentage price change

Error Responses

For detailed Common Error responses, see the Error Handling.

Examples

Get All Market Tickers

curl -X GET "https://csapis.com/3.0/market/tickers" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases

  • Market Overview: Get a quick snapshot of all market participants
  • Real-time Monitoring: Track live price movements across all stocks and indices
  • Trading Dashboards: Display ticker data in trading applications
  • Market Analysis: Analyze price trends and market performance
  • Investment Alerts: Set up alerts based on price changes