How to pull a Google Finance stock quote with key stats
Pull a current quote, key statistics, financial tables, and related news for one stock or instrument in a single Google Finance call
On this page
You have 12 tickers to check before a Monday watchlist review and need a snapshot of each: the current quote, key statistics, financial table titles and recent news. One call to serpapi.google_finance.quote per ticker returns that bundle, and the twelve calls become a screening table that decides which names stay on the watchlist and which need a deeper financial review. Nothing here has been run. The table below is a design, and its values are placeholders showing the shape
Example query and the screening table
The call takes one query, so twelve tickers means twelve calls. Example query, a placeholder for the first row of your own list: q. Replace it with the tickers from your screen and keep the same shape for the other eleven
Columns for the deliverable, one row per ticker:
| summary.stock | summary.price | summary.currency | summary.exchange | summary.extracted_price | knowledge_graph.key_stats | financials.title | news_results.date | news_results.source | watchlist_decision |
|---|---|---|---|---|---|---|---|---|---|
| (ticker) | (price string) | (currency code) | (exchange) | (number) | (object) | (statement titles) | (date) | (publisher) | keep, review or drop |
Values here are placeholders showing the shape. The agent fills the first nine columns from the response, and you approve the last one
What goes into the call
The catalog description reads: "Returns the quote summary, key statistics, company financials and related news for a stock, index, fund or currency pair."
q is required. It is described as a query to search that can be a stock, index, mutual fund, currency or futures, with a minimum length of 1 and a maximum of 500 characters, and a pattern that rejects control characters. hl is optional: a two or three letter language code, optionally with a region, matching ^[a-z]{2,3}(-[a-zA-Z0-9]{2,3})?$
Pass the ticker as q, and set hl once for the whole batch so the twelve rows share a language
Reading the fields that decide the row
summary.stocknames the instrument.summary.pricecarries the quote as a string, whilesummary.extracted_priceis a number, so sort and filter on the numeric field.summary.currencyandsummary.exchangekeep two listings of the same company from collapsing into one row.summaryalso carriesdate,title,market,price_movementandextensions.knowledge_graph.key_statsis an object andknowledge_graph.aboutis an array. The contract types them without listing keys, so have the agent paste the object as it arrives rather than guessing field names inside it.financialsis an array of up to 50 items, each holding atitleand aresultsarray. Thetitlevalues show which statements came back for the ticker; an empty array means no table titles for that row.news_resultsholds up to 50 items withdate,source,snippetandlink.engineis the constantgoogle_finance, which tells you a row came from the engine you asked for.noticeis set when the search engine returned no results for the query.
Two rules turn those fields into the last column. Keep a row when summary.price and a non-empty knowledge_graph.key_stats arrive. Send a row to deeper financial review when notice is set, or when financials comes back with no titles to read
A query that misses still bills
This limit sits on the first step, not the last. The price rule says "A search that returns no results still counts as one search", and the response marks that case with notice. A miss on a mistyped ticker is a paid call that fills no columns. Check the ticker strings before the batch, and treat a notice row as a query to fix rather than a name to drop. Failed searches are not charged
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull a Google
Finance quote for each ticker on my watchlist. Check the current inputs
and price of serpapi.google_finance.quote before running anything. Make
one call per ticker with q set to the ticker and hl set to en.
Return a table with these columns: summary.stock, summary.price,
summary.currency, summary.exchange, summary.extracted_price,
knowledge_graph.key_stats, financials.title, news_results.date,
news_results.source and watchlist_decision.
Set watchlist_decision to keep when summary.price and
knowledge_graph.key_stats are present, and to review when notice is set
or financials has no titles. Leave a field empty rather than inventing a
value. Do not summarise the news, only list date and source.
Tickers (example, replace with your own):
AAPLAdd the remaining eleven tickers under the example line before the run
Estimated tool cost
The unit is one call at $0.015, unitPriceMicros 15000. The catalog rule reads: "SerpApi's retail price per search ($75 per 5,000 searches), with no markup. A search that returns no results still counts as one search; failed searches are not charged."
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single quote check | calls x unit price | $0.015 per call | 1 | $0.015 |
| Twelve-ticker watchlist snapshot | calls x unit price | $0.015 per call | 12 | $0.18 |
The totals are upper bounds rather than settled charges, since the rule text says failed searches are not charged. A retry after a miss adds $0.015 per attempt. Model fees for the agent are not counted
Run the twelve tickers
Send each call as POST /v1/runs with toolId set to serpapi.google_finance.quote. Open the Google Finance quote page, check the listed price revision, and paste your twelve tickers into the prompt above. A companion guide covers the same job on another engine: how to look up a Yahoo Finance stock quote
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Google Finance.FAQ
How do I pull a Google Finance quote for a ticker?
Pass the ticker as q to serpapi.google_finance.quote, one call per instrument. Twelve tickers means twelve calls, and each response carries summary, knowledge_graph, financials and news_results.
What inputs does serpapi.google_finance.quote take?
q is required, with a length of 1 to 500 characters and a pattern that rejects control characters. hl is optional and takes a two or three letter language code, optionally with a region.
Does a Google Finance query with no results still cost a search?
Yes. The response sets notice and the search still counts as one search, while failed searches are not charged.
Which field holds the price as a number?
summary.extracted_price is typed as a number, while summary.price is a string. Sort and filter on the numeric field.
How much does it cost to snapshot 12 tickers?
Twelve calls at $0.015 per call come to $0.18, an upper bound rather than a settled charge because failed searches are not charged. A single quote check is $0.015.
What does knowledge_graph.key_stats contain?
The contract types it as an object on knowledge_graph without listing its keys, so the guide prints it as it arrives instead of assuming field names.
What is the notice field for?
It is set when the search engine returned no results for the query, which marks a paid call that filled no columns.
Next step
Try this with Google Finance
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.