# Google Finance API for NSE Indian Stocks

**Use case:** 

Collect NSE Indian stock quotes, valuation ratios, analyst consensus, and quarterly financials for quant researchers and analysts. Outputs numeric price, marketCap, peRatio, consensus, latestEarnings, and incomeStatement. Change symbols or defaultExchange to track other NSE tickers, or adjust incomeStatementQuarters.

## Input

```json
{
  "mode": "quotes",
  "symbols": [
    "RELIANCE:NSE",
    "TCS:NSE",
    "HDFCBANK:NSE",
    "INFY:NSE",
    "ICICIBANK:NSE"
  ],
  "defaultExchange": "NSE",
  "language": "en",
  "marketLists": [
    "mostActive"
  ],
  "maxItems": 20,
  "includeAfterHours": true,
  "includeProfile": true,
  "includeAnalystView": true,
  "includeEarnings": true,
  "includeIncomeStatement": true,
  "includeNews": true,
  "includeRelatedStocks": true,
  "maxAnalystActions": 50,
  "incomeStatementQuarters": 4,
  "maxNewsItems": 20
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "text"
  },
  "listName": {
    "label": "List",
    "format": "text"
  },
  "symbol": {
    "label": "Symbol",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "exchange": {
    "label": "Exchange",
    "format": "text"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "changePercent": {
    "label": "% Change",
    "format": "number"
  },
  "marketStatus": {
    "label": "Market",
    "format": "text"
  },
  "marketCap": {
    "label": "Market cap",
    "format": "number"
  },
  "peRatio": {
    "label": "P/E",
    "format": "number"
  },
  "eps": {
    "label": "EPS",
    "format": "number"
  },
  "dividendYield": {
    "label": "Dividend yield %",
    "format": "number"
  },
  "analystConsensus": {
    "label": "Consensus",
    "format": "text"
  },
  "analystCount": {
    "label": "Analysts",
    "format": "number"
  },
  "priceTargetAverage": {
    "label": "Avg target",
    "format": "number"
  },
  "latestEarnings": {
    "label": "Latest earnings",
    "format": "object"
  },
  "newsCount": {
    "label": "News",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

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

The Google Finance Quotes, Analyst & Earnings Data Actor is ready to run with the inputs already set for "Google Finance API for NSE Indian Stocks". [Sign up or log in](https://console.apify.com/create-task-from-example/XDW7oKptNWJogUuPF) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Finance API for NSE Indian Stocks" task

The Google Finance Quotes, Analyst & Earnings Data Actor will start running based on the input automatically. You can also change all the input fields, like mode, symbols (quotes mode), and more, to match your specific use case.

### 3. Receive the "Google Finance API for NSE Indian Stocks" 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 type, list, symbol, 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 "Google Finance API for NSE Indian Stocks" task via API](https://apify.com/xyrelith-data/google-finance-scraper.md).

## FAQ

### How can I get Google Finance data for NSE stocks?

The NSE stock quotes task collects Google Finance quote pages for five preset NSE stocks, including Reliance and TCS.

### Which stock prices and valuation data can I get?

Prices, market capitalization, P/E ratio and earnings per share can appear in the NSE stock quotes task results when available.

### Can I get analyst ratings and price targets for NSE stocks?

Analyst consensus, rating counts and price targets can appear in the NSE stock quotes task results; coverage varies by exchange.

### Can I get quarterly financial statements and earnings?

The NSE stock quotes task can return latest earnings and quarterly income statements when available. It defaults to retaining four income-statement quarters.

### How do I track different NSE tickers on Google Finance?

Change the symbols in the NSE stock quotes task to the tickers you want. Bare tickers use NSE as the preset default exchange.

### How many stock records can one run return?

Up to 20 records can be returned by one run of the NSE stock quotes task, including any error records.

### How much does it cost to get Google Finance stock data?

On the Free plan, the NSE stock quotes task costs $0.10 per start event and at most $0.02 for results with its preset limit. Apify compute usage is extra.

### How can I download Google Finance stock data?

Results from the NSE stock quotes task can be downloaded as JSON, CSV, Excel, XML, RSS or an HTML table, or read through the Apify API.

### How can I monitor NSE stocks on a schedule or through an API?

Run the NSE stock quotes task on an Apify schedule or through the Apify API to collect stock data repeatedly.

## About this Actor

This example demonstrates how to use [Google Finance Quotes, Analyst & Earnings Data](https://apify.com/xyrelith-data/google-finance-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/xyrelith-data/google-finance-scraper.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/xyrelith-data/google-finance-scraper.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`).
