# Google Finance API by APISH (`apish/google-finance-api`) Actor

Google Finance quotes, price charts, financial statements, market movers, exchange rates and stock news as JSON, via APISH. Pay per credit; failed calls are free.

- **URL**: https://apify.com/apish/google-finance-api.md
- **Developed by:** [APISH](https://apify.com/apish) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 credits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Google Finance API by APISH

Get public Google Finance data as clean, consistent JSON: google Finance price chart, google Finance quote comparison, google Finance crypto quotes, google Finance exchange rate, google Finance financial statements, google Finance markets overview and more. 10 endpoints, one response shape, numbers parsed, absolute URLs.

### How to use

1. Pick an **Endpoint**. Each option shows what it returns and its price in credits.
2. Enter its **Parameters** as JSON, for example `{"symbols":"AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"}`. All parameters are listed below.
3. Run. Each call becomes one row in the dataset. Use **Batch** to run the same endpoint for many inputs and **Pages per input** to follow pagination.

### Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

### Endpoints

| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
| `/google-finance/v1/chart` | Google Finance price chart | `symbol` | 1 |
| `/google-finance/v1/compare` | Google Finance quote comparison | `symbols` | 1 |
| `/google-finance/v1/crypto` | Google Finance crypto quotes | — | 1 |
| `/google-finance/v1/currency` | Google Finance exchange rate | — | 1 |
| `/google-finance/v1/financials` | Google Finance financial statements | `symbol` | 1 |
| `/google-finance/v1/markets` | Google Finance markets overview | — | 1 |
| `/google-finance/v1/news` | Google Finance news for a stock | `symbol` | 1 |
| `/google-finance/v1/quote` | Google Finance quote | `symbol` | 2 |
| `/google-finance/v1/related` | Google Finance related tickers | `symbol` | 1 |
| `/google-finance/v1/search` | Google Finance ticker search | `q` | 1 |

### Output

Each dataset row has `endpoint`, `params`, `status`, `credits_used` and the endpoint's data. Add `"raw": 1` to the parameters to also get the site's original record, or `"fields": "a,b.c"` to return only the fields you need.

### Endpoint details

#### Google Finance price chart

Endpoint `/google-finance/v1/chart` · 1 credit per successful call.

Each point has its time (with the market's UTC offset), price, change and change % against the chart's reference price (the previous close for 1d, the first point otherwise) and volume where the market reports it.

Parameters:

- `symbol` (required): TICKER:EXCHANGE as Google Finance writes it, e.g. `AAPL:NASDAQ`, `VOD:LON`, `.INX:INDEXSP`; a currency or crypto pair such as `EUR-USD` or `BTC-USD`. A bare US ticker such as `AAPL` is looked up on the US exchanges.
- `range` — one of `1d`, `5d`, `1m`, `6m`, `ytd`, `1y`, `5y`, `max`: The chart range (default 1m).
- `hl`: Interface language, e.g. `en` (default).

Example parameters: `{"symbol":"AAPL:NASDAQ"}`

#### Google Finance quote comparison

Endpoint `/google-finance/v1/compare` · 1 credit per successful call.

Up to 20 live quotes side by side (stocks, ETFs, indexes, currencies, crypto): price, change, change %, previous close, after-hours, currency and update time, plus the best and worst performer of the day. Bare tickers are matched to their main listing; symbols not found come back with found=false.

Parameters:

- `symbols` (required): Comma-separated: AAPL:NASDAQ, MSFT, .INX:INDEXSP, EUR-USD, BTC-USD ...

Example parameters: `{"symbols":"AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"}`

#### Google Finance crypto quotes

Endpoint `/google-finance/v1/crypto` · 1 credit per successful call.

Live crypto quotes: price, change and change %, previous close, update time, base and quote names, for one or several pairs. Without a symbol: the crypto board of the Google Finance home page.

Parameters:

- `symbol`: Comma-separated pairs (BTC-USD, ETH-EUR) or coins with currency.
- `currency`: Quote currency for bare coins (default USD).

Example parameters: `{"symbol":"BTC-USD,ETH-USD"}`

#### Google Finance exchange rate

Endpoint `/google-finance/v1/currency` · 1 credit per successful call.

The live exchange rate of a currency pair: rate, change and change % since the previous close, previous close, update time, inverse rate, both currency names, and an amount converted.

Parameters:

- `pair`: Currency pair: EUR-USD, EURUSD or EUR/USD.
- `from`: Base currency (with to) instead of pair.
- `to`: Quote currency (with from).
- `amount`: Amount of the base currency to convert.

Example parameters: `{"pair":"EUR-USD"}`

#### Google Finance financial statements

Endpoint `/google-finance/v1/financials` · 1 credit per successful call.

A company's financial statements from Google Finance, quarterly or annual: for each period (label, fiscal year and quarter, period end date, currency) the income statement (revenue, cost of revenue, gross profit, R\&D, SG\&A, operating expense, total expenses, operating income, EBITDA, other non-operating income, pre-tax income, income tax, effective tax rate, net income, net profit margin, EPS diluted and basic), balance sheet (cash, short-term investments, receivables, inventory, current and total assets, PP\&E, long-term investments, payables, short-term and long-term debt, deferred revenue, current and total liabilities, retained earnings, accumulated other comprehensive income, total equity, shares outstanding, price to book) and cash flow (net income, cash from operations, capital expenditure, cash from investing, dividends paid, stock issued or repurchased, cash from financing, net change in cash, free cash flow). Values are in the reporting currency; percentages as numbers.

Parameters:

- `symbol` (required): TICKER:EXCHANGE as Google Finance writes it, e.g. `AAPL:NASDAQ`, `MSFT:NASDAQ`, `VOD:LON`, `RELIANCE:NSE`. A bare US ticker such as `AAPL` is looked up on the US exchanges.
- `period` — one of `quarterly`, `annual`: quarterly (default; the latest quarters) or annual (the latest fiscal years).
- `statement`: Comma-separated statements to return: income_statement, balance_sheet, cash_flow (default all three).
- `hl`: Interface language, e.g. `en` (default).

Example parameters: `{"symbol":"AAPL:NASDAQ"}`

#### Google Finance markets overview

Endpoint `/google-finance/v1/markets` · 1 credit per successful call.

The Google Finance home page as data: the AI market summary (headlines with their cited articles), the market boards (US or North America, Europe, Asia or India, Latin America indexes, currencies, crypto, futures: price, change, % change, previous close, update time), top movers (gainers, losers, most active, with after-hours prices), sector lists (open, high, low), upcoming earnings (date, time, EPS and revenue estimates) and market news (title, source, snippet, thumbnail, tickers). `gl` picks the market: movers, news, earnings, the local index board, currency pairs and the summary follow it (e.g. `gl=IN` gives NSE/BSE movers and INR pairs).

Parameters:

- `gl`: Market country, default US (two letters: US, IN, DE, GB, JP, ...).
- `hl`: Language, default en (the market summary is written in it).
- `movers`: Top movers per list (gainers, losers, most active), default 10, max 50.
- `news`: News stories, default 20 (Google returns up to ~30).
- `sections`: Comma list of the parts to return: summary, indexes, movers, lists, earnings, news (default all). Fewer sections make the call smaller and faster.

Example parameters: `{"gl":"US","hl":"en","movers":10,"news":20,"sections":"indexes,movers"}`

#### Google Finance news for a stock

Endpoint `/google-finance/v1/news` · 1 credit per successful call.

News about a stock, ETF or index from its Google Finance page: headline, link, source, publish time, summary, image, source icon and the other symbols each story mentions. Headlines and links only, not full articles.

Parameters:

- `symbol` (required): TICKER:EXCHANGE as Google Finance writes it, e.g. `AAPL:NASDAQ`, `TSLA:NASDAQ`, `.INX:INDEXSP`. A bare US ticker such as `AAPL` is looked up on the US exchanges.
- `limit`: Maximum stories (1-50, default 50).
- `hl`: Interface language, e.g. `en` (default).

Example parameters: `{"symbol":"AAPL:NASDAQ"}`

#### Google Finance quote

Endpoint `/google-finance/v1/quote` · 2 credits per successful call.

A stock, index, currency or crypto quote as Google Finance shows it: price, change, day range, market cap, volume, P/E, dividend, 52-week range, EPS, beta, shares, employees, CEO, founded, headquarters and the analyst outlook. Also returns market_status (e.g. With window, price_series adds the chart for that range (points with time, price, change and volume, a summary, and after-hours points on 1d).

Parameters:

- `symbol` (required): TICKER or TICKER:EXCHANGE (AAPL:NASDAQ, TSLA, BTC-USD, .INX:INDEXSP).
- `hl`: Language, default en.
- `window` — one of `1d`, `5d`, `1m`, `6m`, `ytd`, `1y`, `5y`, `max`: Adds price_series for this chart range: 1d, 5d, 1m, 6m, ytd, 1y, 5y or max.

Example parameters: `{"symbol":"AAPL:NASDAQ","hl":"en"}`

#### Google Finance related tickers

Endpoint `/google-finance/v1/related` · 1 credit per successful call.

The tickers Google Finance lists as related to a quote (people also search for), each with its live quote.

Parameters:

- `symbol` (required): TICKER:EXCHANGE, a bare ticker, a currency or crypto pair, or a Google Finance quote link.
- `limit`: How many (default 10, max 20).

Example parameters: `{"symbol":"AAPL:NASDAQ"}`

#### Google Finance ticker search

Endpoint `/google-finance/v1/search` · 1 credit per successful call.

Find stocks, ETFs, funds, indexes, currencies and crypto pairs by name or ticker, each with its live quote: symbol, exchange, full ticker (TICKER:EXCHANGE), name, type, currency, price, change and change %, previous close, after-hours price, update time, time zone and country.

Parameters:

- `q` (required): Name or ticker words.
- `type` — one of `stock`, `etf`, `index`, `currency`, `crypto`, `futures`, `fund`: Keep one type only.
- `hl`: Language (default en).

Example parameters: `{"q":"tesla"}`

### Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.

# Actor input Schema

## `endpoint` (type: `string`):

Which Google Finance endpoint to call. Each option shows what it returns and its price in credits.

## `params` (type: `object`):

Query parameters for the endpoint, as JSON. See the README for every endpoint's parameters. Example: {"symbols":"AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"}

## `batch` (type: `array`):

Run the same endpoint for many inputs: a list of parameter objects. Each item is one call. Leave empty to use Parameters.

## `maxPages` (type: `integer`):

For paginated endpoints: follow next_cursor up to this many pages per input. 1 = first page only.

## Actor input object example

```json
{
  "endpoint": "/google-finance/v1/compare",
  "params": {
    "symbols": "AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"
  },
  "batch": [],
  "maxPages": 1
}
```

# Actor output Schema

## `results` (type: `string`):

One row per call: endpoint, params, status, credits_used and the data.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "endpoint": "/google-finance/v1/compare",
    "params": {
        "symbols": "AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"
    },
    "batch": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apish/google-finance-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "endpoint": "/google-finance/v1/compare",
    "params": { "symbols": "AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ" },
    "batch": [],
}

# Run the Actor and wait for it to finish
run = client.actor("apish/google-finance-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "endpoint": "/google-finance/v1/compare",
  "params": {
    "symbols": "AAPL:NASDAQ,MSFT:NASDAQ,GOOGL:NASDAQ"
  },
  "batch": []
}' |
apify call apish/google-finance-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apish/google-finance-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/tDfTSaL2b2zcRF8m2/builds/i5Y0cTtU7dFhtadYY/openapi.json
