## How Can I Access Stock Quotes and Charts Using the Google Finance API?

Barbara Streisand
Release: 2024-10-25 04:42:02
Original
926 people have browsed it

## How Can I Access Stock Quotes and Charts Using the Google Finance API?

Accessing Stock Quotes via Google Finance API

As a developer seeking access to financial data from Google services, you stumbled upon a URL that retrieves stock information for Microsoft. To expand your knowledge and explore the comprehensive parameters available for such HTTP requests, let's delve into the multifaceted offerings of Google Finance.

While the Google Finance Gadget API has been officially deprecated since October 2012, it remained active until April 2014. However, it is important to note that as of March 2022, the API has been completely discontinued.

To illustrate the API's functionality, consider the following examples:

  • http://www.google.com/finance/info?q=NASDAQ:GOOG  
    Copy after login
  • http://www.google.com/finance/info?q=CURRENCY:GBPUSD  
    Copy after login
  • http://finance.google.com/finance/info?client=ig&q=AAPL,YHOO
    Copy after login

    In addition to stock quotes, you can also obtain charts through this API, as exemplified by:

  • https://www.google.com/finance/getchart?q=YELP
    Copy after login

It's crucial to note that if your application is intended for public consumption, using the Google Finance API violates Google's terms of service.

For a comprehensive Python implementation, refer to the "google-finance-get-stock-quote-realtime" package.

The above is the detailed content of ## How Can I Access Stock Quotes and Charts Using the Google Finance API?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!