Google Finance avatar

Google Finance

Try for free

3 days trial then $5.00/month - No credit card required now

Go to Store
Google Finance

Google Finance

canadesk/google-finance
Try for free

3 days trial then $5.00/month - No credit card required now

Get the latest Quotes and Historical data for Stocks, Indexes, Crypto, Exchange rates and more from Google Finance. It's fast and costs little!

⚡ Make sure to increase the Actor's memory and timeout for long runs.

Input

  • Tickers (array)

    Returns data for the listed tickers.

    Expected format: {CODE} or {CODE}:{EXCHANGE} or {CODE}-{CODE} (for Cryptocurrency).

    Examples: GOOGL or GOOGL:NASDAQ or BTC-USD.

  • Process (select)

    • Search

      {CODE} or {CODE}-{CODE} returns a list of potential matches with general information for each ticker.

      {CODE}:{EXCHANGE} returns general information for the exact ticker.

    • Get Price

      {CODE} or {CODE}-{CODE} returns a list of potential matches with price information for each ticker.

      {CODE}:{EXCHANGE} returns price information for the exact ticker.

    • Get History

      {CODE} first tries to find the most relevant exchange, then returns history information.

      Recommended! {CODE}:{EXCHANGE} or {CODE}-{CODE} returns history information without overhead.

  • Batch (integer)

    Number of parallel requests to be executed - only relevant when there is more than 1 ticker.

    Default is 1. The higher the number, the more chances you have to be blocked.

  • Delay (integer)

    For high-volume scraping, make sure to set a reasonable waiting time.

Supported Exchange Codes

Original list: https://www.google.com/googlefinance/disclaimer/

1[
2	"BCBA", "BMV", "BVMF", "CNSX", "CVE", "NASDAQ", "NYSE", "NYSEARCA", "NYSEAMERICAN", "OPRA", "OTCMKTS", "TSE", "TSX", "TSXV",
3	"AMS", "BIT", "BME", "CPH", "EBR", "ELI", "EPA", "ETR", "FRA", "HEL", "ICE", "IST", "LON", "RSE", "STO", "SWX", "VTX", "TAL", "VIE", "VSE", "WSE",
4	"JSE", "TADAWUL", "TLV",
5	"BKK", "BOM", "KLSE", "HKG", "IDX", "KOSDAQ", "KRX", "NSE", "SGX", "SHA", "SHE", "TPE", "TYO",
6	"ASX", "NZE",
7	"MUTF", "MUTF_IN",
8	"INDEXBVMF", "INDEXCBOE", "INDEXCME", "INDEXDJX", "INDEXNASDAQ", "INDEXNYSEGIS", "INDEXRUSSELL", "INDEXSP", "INDEXBMV", "INDEXTSI",
9	"INDEXBIT", "INDEXBME", "INDEXDB", "INDEXEURO", "INDEXFTSE", "INDEXIST", "INDEXSTOXX", "INDEXSWX", "INDEXVIE",
10	"INDEXBKK", "INDEXBOM", "INDEXHANGSENG", "INDEXNIKKEI", "INDEXTYO", "INDEXTOPIX", "IDX", "SHE", "TPE",
11	"INDEXASX", "INDEXNZE",
12	"CBOT", "CME_EMINIS", "COMEX", "NYMEX"
13]

Output

For "Search" and "Get Price", using {CODE}:{EXCHANGE} returns a single entry instead.

Search with {CODE} returns:

1{
2	"ticker": "GOOGL",
3	"data": [
4		{
5			"id": "GOOGL:NASDAQ",
6			"code": "GOOGL",
7			"name": "Alphabet Inc Class A",
8			"exchange": "NASDAQ"
9		},
10		{
11			"id": "GOOGL:BMV",
12			"code": "GOOGL",
13			"name": "Alphabet Inc Class A",
14			"exchange": "BMV"
15		},
16		...
17	]
18}

Get Price with {CODE} returns:

1{
2	"ticker": "GOOGL",
3	"data": [
4		{
5			"id": "/m/07zln7n",
6			"ticker": "GOOGL:NASDAQ",
7			"code": "GOOGL",
8			"exchange": "NASDAQ",
9			"name": "Alphabet Inc Class A",
10			"currency": "USD",
11			"price": {
12				"lastPrice": 191.79,
13				"change": 2.3600006,
14				"changePct": 1.2458432
15			},
16			"previousClose": 189.43,
17			"region": "US",
18			"updateTimestamp": 1735954200,
19			"timezone": "America/New_York",
20			"timezoneOffset": -18000,
21			"afterHrsTrading": {
22				"lastPrice": 191.97,
23				"change": 0.18000793,
24				"changePct": 0.09385679
25			},
26			"previousTimestamp": 1735938001,
27			"afterHrsTimestamp": 1735952308
28		},
29		{
30			"id": "/g/11bbrjxcfr",
31			"ticker": "GOOGL:BMV",
32			"code": "GOOGL",
33			"exchange": "BMV",
34			"name": "Alphabet Inc Class A",
35			"currency": "MXN",
36			"price": {
37				"lastPrice": 3953.04,
38				"change": 57.66992,
39				"changePct": 1.4804735
40			},
41			"previousClose": 3895.37,
42			"region": "MX",
43			"updateTimestamp": 1735939372,
44			"timezone": "America/Mexico_City",
45			"timezoneOffset": -21600,
46			"afterHrsTrading": null,
47			"previousTimestamp": 1735938000,
48			"afterHrsTimestamp": null
49		},
50		...
51	]
52}

Get History returns:

1{
2	"ticker": "GOOGL:NASDAQ",
3	"data": [
4		{
5			"dateTimeUTC": "2025-01-27T14:30:00.000Z",
6			"price": {
7				"lastPrice": 194.83,
8				"change": 0,
9				"changePct": 0
10			},
11			"volume": 237264
12		},
13		{
14			"dateTimeUTC": "2025-01-27T15:00:00.000Z",
15			"price": {
16				"lastPrice": 193.14,
17				"change": -1.6900000000000261,
18				"changePct": -0.008674228814864375
19			},
20			"volume": 1691500
21		},
22		...
23	]
24}

Support

Google Finance does not provide volume for all types (e.g., Cryptocurrency).

Open a new issue for bugs or feature requests. Please share the run URL.

Cheers!

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 1 star

  • >99% runs succeeded

  • Created in Jan 2025

  • Modified 8 days ago