Fundamental And Technical¶
A Fundamental Research Call is based on the intrinsic value of a company. It involves analyzing financial statements, management quality, industry position, and macroeconomic factors. A Technical Research Call relies on historical price data and volume using charts and indicators to predict short-term price movements.
Type | API Endpoint | Description |
---|---|---|
POST | getTechnicals/getSupportAndResistance |
Get Support and Resistance levels for a given stock. |
POST | getTechnicals/getSMAandEMAdata |
Retrieve Simple and Exponential Moving Averages. |
POST | getTechnicals/getPriceChangeAnalysis |
Analyze price change over different time intervals. |
Support and Resistance¶
Support is a price level where a stock tends to find buying interest and halt a decline, while resistance is where selling pressure may stop a price rise. These levels help identify potential entry, exit, and reversal points in technical analysis.
Request Structure
Input Parameters
Field | Type | Description |
---|---|---|
exch | string | Exchange code. |
token | string | Instrument/token identifier used internally by the broker or API to uniquely identify a security (e.g., a stock like Reliance, Infosys, etc.). |
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"coCode": "6.0",
"coName": "ACC",
"currPrice": null,
"adx": 60.92,
"williamsR": -75.09,
"commodityChannelIndex": -105.39,
"macd_12_26_days": -49.03,
"exchange": "nse",
"token": "22",
"pivotPoint": 1813.22,
"sone": 1801.33,
"stwo": 1784.12,
"sthree": 1772.23,
"rone": 1830.43,
"rtwo": 1842.32,
"rthree": 1859.53
}
]
}
Response Parameters
Field | Type | Description |
---|---|---|
status | string | Status of the response (e.g., "Ok"). |
message | string | Message accompanying the status. |
result | array | List of results (can contain multiple stocks). |
Field | Type | |
coCode | string | Company code (likely internal or DB ID). |
coName | string | Company name — e.g., "ACC". |
currPrice | float | Current market price. |
adx | float | Average Directional Index — strength of trend (>25 = trending). |
williamsR | float | Williams %R — momentum indicator (range -100 to 0). |
commodityChannelIndex | float | Commodity Channel Index — overbought/oversold signal. |
macd_12_26_days | float | MACD (12-day EMA - 26-day EMA) — trend/momentum indicator. |
exchange | string | Exchange name — "nse" here. |
token | string | Instrument token — "22" (refers to ACC in this case). |
pivotPoint | float | Central Pivot Point — used for support/resistance calculation. |
sone (S1) | float | First support level. |
stwo (S2) | float | Second support level. |
sthree (S3) | float | Third support level. |
rone (R1) | float | First resistance level. |
rtwo (R2) | float | Second resistance level. |
rthree (R3) | float | Third resistance level. |
SMA and EMA Data¶
Retrieves Simple Moving Average (SMA) and Exponential Moving Average (EMA) values for a stock, helping identify price trends and potential entry/exit points in technical analysis.
Request Structure
Input Parameter
Field | Type | Description |
---|---|---|
exch | string | Exchange code. |
token | string | Instrument/token identifier used internally by the broker or API to uniquely identify a security (e.g., a stock like Reliance, Infosys, etc.). |
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"coCode": "23040.0",
"sma": [
{
"title": "5 Days",
"value": "7.73",
"description": "5 DAYS",
"message": null,
"timeframe": 5
},
{
"title": "10 Days",
"value": "7.96",
"description": "10 DAYS",
"message": null,
"timeframe": 10
},
{
"title": "20 Days",
"value": "8.48",
"description": "20 DAYS",
"message": null,
"timeframe": 20
},
{
"title": "50 Days",
"value": "8.48",
"description": "50 DAYS",
"message": null,
"timeframe": 50
},
{
"title": "100 Days",
"value": "8.27",
"description": "100 DAYS",
"message": null,
"timeframe": 100
},
{
"title": "200 Days",
"value": "11.56",
"description": "200 DAYS",
"message": null,
"timeframe": 200
}
],
"ema": [
{
"title": "5 Days",
"value": "7.71",
"description": "5 DAYS",
"message": null,
"timeframe": 5
},
{
"title": "10 Days",
"value": "7.95",
"description": "10 DAYS",
"message": null,
"timeframe": 10
},
{
"title": "20 Days",
"value": "8.25",
"description": "20 DAYS",
"message": null,
"timeframe": 20
},
{
"title": "50 Days",
"value": "8.49",
"description": "50 DAYS",
"message": null,
"timeframe": 50
},
{
"title": "100 Days",
"value": "9.12",
"description": "100 DAYS",
"message": null,
"timeframe": 100
},
{
"title": "200 Days",
"value": "10.26",
"description": "200 DAYS",
"message": null,
"timeframe": 200
}
]
}
]
}
Response Parameters
Field | Type | Description |
---|---|---|
status | string | Status of the API response ("Ok"). |
message | string | Message string ("Success"). |
result | array | List containing moving average data. |
coCode | string | Internal company code (e.g., "23040.0"). |
sma | array | List of Simple Moving Averages. |
ema | array | List of Exponential Moving Averages. |
title | string | Label (e.g., "5 Days", "50 Days"). |
value | string | The calculated moving average value. |
description | string | Redundant label (e.g., "50 DAYS"). |
message | string | Placeholder for extra info (e.g., signals). |
timeframe | integer | Number of days in the moving average calculation. |
Price Change Analysis¶
This API provides an analysis of stock price movements over various time intervals (e.g., daily, weekly, monthly). It helps in identifying short-term and long-term price trends, momentum, and volatility, offering insights into how a stock's price has changed over time.
Request Structure
Input Parameter
Field | Type | Description |
---|---|---|
exch | string | Exchange code. |
token | string | Instrument/token identifier used internally by the broker or API to uniquely identify a security (e.g., a stock like Reliance, Infosys, etc.). |
Response Structure
{
"status": "Ok",
"message": "Success",
"result": [
{
"oneWeek": [
{
"coCode": "6.0",
"startDate": "2025-02-24T00:00:00",
"open": 1881.0,
"high": 1886.45,
"low": 1778.45,
"duration": "W1",
"exch": "nse",
"token": "22",
"id": 0,
"close": 1825.75
}
],
"oneMonth": [
{
"coCode": "6.0",
"startDate": "2025-02-03T00:00:00",
"open": 1990.0,
"high": 2064.65,
"low": 1778.45,
"duration": "M1",
"exch": "nse",
"token": "22",
"id": 0,
"close": 1825.75
}
],
"threeMonth": [
{
"coCode": "6.0",
"startDate": "2024-12-03T00:00:00",
"open": 2239.0,
"high": 2314.9,
"low": 1778.45,
"duration": "M3",
"exch": "nse",
"token": "22",
"id": 0,
"close": 1825.75
}
],
"oneYear": [
{
"coCode": "6.0",
"startDate": "2024-03-04T00:00:00",
"open": 2710.0,
"high": 2844.0,
"low": 1778.45,
"duration": "Y1",
"exch": "nse",
"token": "22",
"id": 0,
"close": 1825.75
}
]
}
]
}
Response Parameters
Field | Type | Description |
---|---|---|
status | string | API response status ("Ok"). |
message | string | Response message ("Success"). |
result | array | Contains time-series OHLC data for periods. |
oneWeek | array | OHLC data for the past 1 week. |
oneMonth | array | OHLC data for the past 1 month. |
threeMonth | array | OHLC data for the past 3 months. |
oneYear | array | OHLC data for the past 1 year. |
coCode | string | Internal company code (e.g., "6.0"). |
startDate | string | Start date of the timeframe (ISO 8601 format: YYYY-MM-DDTHH:MM:SS). |
open | float | Opening price of the stock for the timeframe. |
high | float | Highest price of the stock during the timeframe. |
low | float | Lowest price of the stock during the timeframe. |
close | float | Closing price at the end of the timeframe. |
duration | string | Code for timeframe: W1 (1 week), M1 (1 month), M3 (3 months), Y1 (1 year). |
exch | string | Exchange name (e.g., "nse" for National Stock Exchange). |
token | string | Instrument token (e.g., "22" for ACC). |
id | integer | ID (possibly a placeholder or internal DB index). |