Skip to main content

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

NameTypeRequiredDescriptionExample
symbolstringYesStock symbol/ticker code for the companySYS
intervalstringYesTime interval for indicators. Valid values for this endpoint are: 1h, 1d, 1w, 1M1d, 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

FieldTypeDescription
indicatorsarrayArray of calculated indicators View

Indicator Object Fields (indicators[])

FieldTypeDescription
namestringName of the technical indicator
parametersarrayParameters used for the indicator calculation
valuesarrayCalculated 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