Skip to main content

1 Min Interval Chart

Retrieve 1-minute interval OHLCV (Open, High, Low, Close, Volume) data for intraday trading analysis.

GET/3.0/market/intraday/1m

Description

This endpoint provides real-time and intraday 1-minute interval candlestick data for stocks and indices. Each data point represents trading activity for a 1-minute period during the current trading session, with the last tick updating in real time.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

NameTypeRequiredDescriptionExample
symbolstringYesStock/Index symbol to retrieve data forKSE100

Response

Success Response (200)

{
"status": "ok",
"message": "",
"data": [
{
"time": 1545998400,
"open": 37822.29,
"high": 37891.19,
"low": 36918.66,
"close": 37167.02,
"volume": 132828200,
"value": 7269517182.9
},
{
"time": 1545909247,
"open": 38382.24,
"high": 38460.1,
"low": 37701.16,
"close": 37853.57,
"volume": 69739040,
"value": 3724077874.6
}
]
}

Response Fields

FieldTypeDescription
timenumberUnix timestamp (seconds since epoch, UTC)
opennumberOpening price for the minute
highnumberHighest price for the minute
lownumberLowest price for the minute
closenumberClosing price for the minute
volumenumberTrading volume for the minute
valuenumberTotal traded value (PKR)

Error Responses

For detailed Common Error responses, see the Error Handling.

Examples

Get 1 Minute Interval Data

curl -X GET "https://csapis.com/3.0/market/intraday/1m?symbol=KSE100" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases

  • High-Frequency Trading: Monitor minute-by-minute price changes
  • Intraday Charts: Create detailed 1-minute candlestick charts
  • Scalping Strategies: Analyze short-term price movements
  • Real-time Monitoring: Track live market activity