0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

We all know that Google Finance discontinued its public API service years ago.

Screenshot 2026-06-26 at 18.42.22.png

In this article, I want to share a different way to access Google Finance data without scraping the page every few minutes.

Screenshot 2026-06-26 at 18.41.04.png
.

The API was never truly removed. Instead, it appears to have been converted into a different, more dynamic form that is harder to use directly. However, if you carefully inspect the network requests and responses, you may find some interesting JSON responses. From there, you can trace them back to several important objects in the HTML, such as:

AF_initDataKeys and AF_dataServiceRequests

You may also notice endpoints such as:

I have documented the details on GitHub and built a local MCP service that allows AI agents to query the latest financial information provided by Google Finance. It is more powerful than the Google Sheets finance functions, and the project is fully open source.

Please check it out here:

Before using it further, please read the legal notice:

Have fun running it with Codex, Claude, Grok, Hermes, OpenCode, or your favorite AI agent workflow.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?