# Yahoo Finance API for Indian stocks (NSE)

**Use case:** 

Delayed quotes and company profiles for Reliance, TCS, HDFC Bank, Infosys, ICICI Bank, Hindustan Unilever, ITC and SBI on the National Stock Exchange: price in rupees, change, 52-week range, market cap, P/E, sector and industry. About $0.01.

## Input

```json
{
  "symbols": [
    "RELIANCE.NS",
    "TCS.NS",
    "HDFCBANK.NS",
    "INFY.NS",
    "ICICIBANK.NS",
    "HINDUNILVR.NS",
    "ITC.NS",
    "SBIN.NS"
  ],
  "includeProfile": true,
  "maxConcurrency": 4
}
```

## Output

```json
{
  "symbol": {
    "label": "Ticker",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "price": {
    "label": "Price (15+ min delayed)",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "change": {
    "label": "Change",
    "format": "number"
  },
  "changePercent": {
    "label": "Change %",
    "format": "number"
  },
  "priceTime": {
    "label": "Price time",
    "format": "date"
  },
  "priceAgeMinutes": {
    "label": "Minutes old",
    "format": "number"
  },
  "priceSession": {
    "label": "Session",
    "format": "text"
  },
  "previousClose": {
    "label": "Previous close",
    "format": "number"
  },
  "open": {
    "label": "Open",
    "format": "number"
  },
  "dayLow": {
    "label": "Day low",
    "format": "number"
  },
  "dayHigh": {
    "label": "Day high",
    "format": "number"
  },
  "volume": {
    "label": "Volume",
    "format": "number"
  },
  "fiftyTwoWeekLow": {
    "label": "52-week low",
    "format": "number"
  },
  "fiftyTwoWeekHigh": {
    "label": "52-week high",
    "format": "number"
  },
  "marketCap": {
    "label": "Market cap",
    "format": "number"
  },
  "trailingPE": {
    "label": "P/E (TTM)",
    "format": "number"
  },
  "forwardPE": {
    "label": "Forward P/E",
    "format": "number"
  },
  "trailingEps": {
    "label": "EPS (TTM)",
    "format": "number"
  },
  "dividendYieldPercent": {
    "label": "Dividend yield %",
    "format": "number"
  },
  "exDividendDate": {
    "label": "Ex-dividend date",
    "format": "text"
  },
  "earningsDate": {
    "label": "Earnings date",
    "format": "text"
  },
  "beta": {
    "label": "Beta",
    "format": "number"
  },
  "quoteType": {
    "label": "Type",
    "format": "text"
  },
  "exchange": {
    "label": "Exchange",
    "format": "text"
  },
  "marketState": {
    "label": "Market",
    "format": "text"
  },
  "withheldFields": {
    "label": "Withheld (under 15 min old)",
    "format": "array"
  },
  "yahooFinanceUrl": {
    "label": "Yahoo Finance page",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Yahoo Finance Scraper: Delayed Stock Quotes & Profiles Actor is ready to run with the inputs already set for "Yahoo Finance API for Indian stocks (NSE)". [Sign up or log in](https://console.apify.com/create-task-from-example/SxovhTi7L8ONpPSXS) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Yahoo Finance API for Indian stocks (NSE)" task

The Yahoo Finance Scraper: Delayed Stock Quotes & Profiles Actor will start running based on the input automatically. You can also change all the input fields, like tickers, include company profile, and more, to match your specific use case.

### 3. Receive the "Yahoo Finance API for Indian stocks (NSE)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as ticker, name, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Yahoo Finance API for Indian stocks (NSE)" task via API](https://apify.com/clearpull/yahoo-finance.md).

## About this Actor

This example demonstrates how to use [Yahoo Finance Scraper: Delayed Stock Quotes & Profiles](https://apify.com/clearpull/yahoo-finance.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/clearpull/yahoo-finance.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/clearpull/yahoo-finance.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
