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
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
symbol | string | Yes | Stock/Index symbol to retrieve data for | KSE100 |
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
| Field | Type | Description |
|---|---|---|
time | number | Unix timestamp (seconds since epoch, UTC) |
open | number | Opening price for the minute |
high | number | Highest price for the minute |
low | number | Lowest price for the minute |
close | number | Closing price for the minute |
volume | number | Trading volume for the minute |
value | number | Total 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