Technicals by Symbols
Retrieve technical analysis indicators for a specific stock symbol.
GET/3.0/market/technicals
Description
This endpoint returns a comprehensive set of technical analysis indicators for a specific stock symbol at a specified time interval. The response includes calculated values for various indicators such as Simple Moving Average (SMA). This is ideal for technical analysis, trend identification, and developing trading strategies.
Request
Authentication
- Type: Bearer Token
- Required: Yes
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
symbol | string | Yes | Stock symbol/ticker code for the company | SYS |
interval | string | Yes | Time interval for indicators. Valid values for this endpoint are: 1h, 1d, 1w, 1M | 1d, 1w |
Response
Success Response (200)
{
"status": "ok",
"message": "",
"data": {
"indicators": [
{
"name": "sma",
"parameters": [
5
],
"values": [
276.948
]
},
{
"name": "sma",
"parameters": [
10
],
"values": [
279.022
]
},
]
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
indicators | array | Array of calculated indicators View |
Indicator Object Fields (indicators[])
| Field | Type | Description |
|---|---|---|
name | string | Name of the technical indicator |
parameters | array | Parameters used for the indicator calculation |
values | array | Calculated values for the indicator |
Error Responses
For detailed Common Error responses, see the Error Handling.
Missing Parameters (200)
{
"status": "error",
"message": "symbol not provided"
}
```json
{
"status": "error",
"message": "interval not provided"
}
Invalid Interval (200)
{
"status": "error",
"message": "invalid_interval"
}
Examples
Get Technical Indicators
curl -X GET "https://csapis.com/3.0/market/technicals?symbol=SYS&interval=1d" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Use Cases
- Technical Analysis: Calculate indicators for chart analysis and trading signals
- Trend Identification: Identify price trends and momentum
- Support/Resistance Levels: Determine key price levels
- Overbought/Oversold Conditions: Identify potential reversal points
- Algorithmic Trading: Feed technical data to automated trading systems