Google Finance API Python Client
Extract Google Finance data with our Google Finance API Python client. Get programmatic access to Cryptocurrency prices, company information, real-time stock quotes, market indices, exchange rates, historical price data, and more using simple Python code. Start free, no credit card required.

Trusted by industry leaders all over the world
Integrate our Google Finance API
The Apify API client for Python is the official library that allows you to use Google Finance API in Python, providing convenience functions and automatic retries on errors. Get started with simple pip installation and robust error handling built-in.
Python
JavaScript
HTTP
MCP
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9    "tickers": [10        ".DJI",11        "SWPPX:MUTF",12        "GOOGL:NASDAQ",13        "ETH-BTC",14        "EUR-USD",15    ],16    "proxy": { "useApifyProxy": True },17}18
19# Run the Actor and wait for it to finish20run = client.actor("canadesk/google-finance").call(run_input=run_input)21
22# Fetch and print Actor results from the run's dataset (if there are any)23print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])24for item in client.dataset(run["defaultDatasetId"]).iterate_items():25    print(item)26
27# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startGet data with Google Finance API Python client
Use our Python API client to extract Google Finance data by providing stock tickers, exchange codes, or cryptocurrency pairs. The API returns structured data, including current prices, historical data, price changes, volume, market cap, and trading information for stocks, cryptocurrencies, and financial instruments.
Input
{ "batch": 2, "delay": 3, "proxy": {  "useApifyProxy": true }, "period": "5d", "process": "gh", "tickers": [  ".DJI",  "SWPPX:MUTF",  "GOOGL:NASDAQ",  "ETH-BTC",  "EUR-USD" ]}Output
{ "data": [  {   "_fromStrapi": true,   "id": "/m/07zln7n",   "code": "GOOGL",   "name": "Alphabet Inc Class A",   "price": {    "change": 2.3600006,    "changePct": 1.2458432,    "lastPrice": 191.79   },   "region": "US",   "ticker": "GOOGL:NASDAQ",   "currency": "USD",   "exchange": "NASDAQ",   "timezone": "America/New_York",   "previousClose": 189.43,   "timezoneOffset": -18000,   "afterHrsTrading": {    "change": 0.18000793,    "changePct": 0.09385679,    "lastPrice": 191.97   },   "updateTimestamp": 1735954200,   "afterHrsTimestamp": 1735952308,   "previousTimestamp": 1735938001  },  {   "_fromStrapi": true,   "id": "/g/11bbrjxcfr",   "code": "GOOGL",   "name": "Alphabet Inc Class A",   "price": {    "change": 57.66992,    "changePct": 1.4804735,    "lastPrice": 3953.04   },   "region": "MX",   "ticker": "GOOGL:BMV",   "currency": "MXN",   "exchange": "BMV",   "timezone": "America/Mexico_City",   "previousClose": 3895.37,   "timezoneOffset": -21600,   "afterHrsTrading": null,   "updateTimestamp": 1735939372,   "afterHrsTimestamp": null,   "previousTimestamp": 1735938000  } ], "ticker": "GOOGL"}Sign up for Apify account01
Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.
Install Apify Python client02
Install the Apify Python client using pip: pip install apify-client. This package provides a simple interface to interact with Google Finance API from your Python applications.
Get your Apify API token03
Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.
Integrate Google Finance API04
Navigate to the Google Finance API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more. Use the provided Python code examples to integrate Google Finance API into your Python application.
Get your Google Finance data via API05
The Google Finance API returns structured JSON data that works perfectly with pandas, NumPy, and other Python data analysis libraries.

Why use Apify?
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Export to various formats
Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.
Integrate Apify to your workflow
You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.
Large developer community
Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!
Python-ready Google Finance data extraction
Connect to hundreds of apps right away using ready-made integrations, or set up your own with webhooks and our API.
No, Google Finance does not provide an official Python API. Google discontinued their official Finance API years ago. However, this Apify Actor provides a reliable alternative Python API client by scraping Google Finance data directly, giving you access to the same financial information through a structured API-like interface with JSON outputs.
Yes, you can try the Google Finance Python API client for free! Apify offers free credits for new users to test the API client. The pricing is $5.00/month plus usage costs, making it very affordable for extracting financial data. You can start with the free trial to evaluate the data quality and performance before committing to a paid plan.
You can extract comprehensive financial data through Python API clients including real-time stock prices, historical price data, price changes and percentages, trading volume, market capitalization, exchange information, currency data, cryptocurrency prices, after-hours trading data, company names, ticker symbols, and market indices from over 100 supported exchanges worldwide using Python libraries and HTTP requests.
Yes, it is legal to scrape publicly available Google Finance data for personal and commercial use using a Python API client, as this information is publicly accessible. However, you should always comply with Google's terms of service and use the data responsibly. This Python API client implements proper rate limiting and respectful scraping practices to avoid overloading Google's servers.
Getting started with our Google Finance Python API is easy — simply create a free Apify account, get your API token, and start using the Google Finance API in Python, JavaScript, CLI, cURL, OpenAPI, or MCP.