Short answer: POST a company name or ticker to /google/finance and you get the stock card Google shows as JSON — price, change, open, day and 52-week range, market cap, P/E and after-hours price — plus the rest of the results page.
Google retired its Finance API years ago and Google Finance has no official endpoint. When you only need the quote snapshot that Google itself displays for "apple stock", reading that search page is the simplest route.
The request
curl -X POST 'https://api.serpbase.dev/google/finance' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"query":"apple stock"}'
What comes back
We ran "apple stock" and "NVDA" on 25 November 2026 (Beijing time), after the US close. Both returned in 3–4 seconds. The finance object for NVDA:
| Field | Value we got |
|---|---|
title, exchange | NVIDIA Corp, NASDAQ: NVDA |
price | 155.38 USD |
change | −9.67 (−5.86%) |
open, previous_close | 159.10, 165.05 |
day_range, year_range | 150.50 - 159.92, 145.71 - 243.37 |
market_cap, pe_ratio | 3.74T, 16.70 |
after_hours_price, after_hours_change | 151.95, −3.43 (2.21%) |
as_of | Closed: Nov 24, 8:01 PM EST |
The same response also carries the page around the card: knowledge_graph (for Apple: CEO, founded, headquarters, employees), organic results (8 for NVDA), people_also_ask, top_stories and related_searches.
Python: a small watchlist
import requests
def quote(q):
r = requests.post(
"https://api.serpbase.dev/google/finance",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"query": q},
timeout=60,
).json()
if r["status"] != 0:
return q, None
return q, r.get("finance")
for t in ["NVDA", "apple stock"]:
q, f = quote(t)
if f:
print(f["exchange"], f["price"], f["change"], f["as_of"])
Things that trip people up
- Values are strings as displayed, including the Unicode minus sign
−and suffixes likeT. Strip and convert before doing maths. - Check
as_of. Outside trading hours you get the close and an after-hours price, not a live quote. - This is a snapshot, not a market feed. It is fine for dashboards and research, not for trading.
- Ambiguous names: send the ticker (
NVDA) rather than a word that could be a product.
Related endpoints
For news about a company, use Google News search; for search interest over time, Google Trends.
Cost and limits
Each request costs 1 credit; failed requests are not charged. Responses are HTTP 200 with a status field (0 = success). Credits cost $0.25–$0.50 per 1,000 depending on the plan; new accounts get 500 free credits without a card.
- Parameters and the full response: Google Finance docs
- Try it in the browser: Google Finance
- Credit packs: pricing