🔮 Forecasts & Targets
Stock Forecasts
Retrieve analyst consensus forecasts for a stock across multiple financial measures. Supports filtering by period, data type, and historical snapshots.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| stock_id | string | ✅ | Stock ticker ID |
| measure_code | enum | ✅ | Financial measure to forecast |
| period_type | enum | ✅ | Annual or Interim |
| data_type | enum | ✅ | Actuals or Estimates |
| age | enum | ✅ | Data snapshot age |
Measure Codes
| Code | Description |
|---|---|
| EPS | Earnings Per Share |
| CPS | Cash Flow per Share |
| CPX | Capital Expenditure |
| DPS | Dividends Per Share |
| EBI | EBIT |
| EBT | EBITDA |
| GPS | EPS - Fully Reported |
| GRM | Gross Margin |
| NAV | Net Asset Value |
| NDT | Net Debt |
| NET | Net Income |
| PRE | Pre-tax Profit |
| ROA | Return on Assets |
| ROE | Return on Equity |
| SAL | Revenue |
Period Type
| Value | Description |
|---|---|
| Annual | Full year forecasts |
| Interim | Quarterly/half-yearly |
Data Type
| Value | Description |
|---|---|
| Actuals | Reported actual values |
| Estimates | Analyst consensus estimates |
Age (Snapshot)
| Value | Description |
|---|---|
| Current | Latest available data |
| OneWeekAgo | Snapshot from 1 week ago |
| ThirtyDaysAgo | Snapshot from 30 days ago |
| SixtyDaysAgo | Snapshot from 60 days ago |
| NinetyDaysAgo | Snapshot from 90 days ago |
Example
GET /stock_forecasts?stock_id=TCS&measure_code=EPS&period_type=Annual&data_type=Actuals&age=Current
get/stock_forecasts
Request
- Base URL: https://analyst.indianapi.in (the document declares no server; this is the origin it was published from)
- URL: https://analyst.indianapi.in/stock_forecasts
- Auth: API key in header X-API-Key
Query parameters
stock_idstring required
measure_code'EPS' | 'CPS' | 'CPX' | 'DPS' | 'EBI' | 'EBT' | 'GPS' | 'GRM' | 'NAV' | 'NDT' | 'NET' | 'PRE' | 'ROA' | 'ROE' | 'SAL' required
period_type'Annual' | 'Interim' required
data_type'Actuals' | 'Estimates' required
age'OneWeekAgo' | 'ThirtyDaysAgo' | 'SixtyDaysAgo' | 'NinetyDaysAgo' | 'Current' required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.