Google API: Get quote
Gets the current quoted price and key figures for a stock, fund, index, or cryptocurrency on Google Finance, by name or ticker. Prices may be delayed, and figures Google does not show are null.
Unofficial. Not affiliated with or endorsed by Google.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Asset, required
asset Asset name or ticker, such as Apple, AAPL, or Bitcoin.
AAPL
Input as JSON
{ "asset": "AAPL"}Output
{ "name": "Apple Inc", "as_of": "2026-10-22T16:00:01-04:00", "price": 348.22, "ticker": "AAPL (NASDAQ)", "currency": "USD", "pe_ratio": 39.92, "day_range": { "low": 342.28, "high": 348.36 }, "market_cap": 5080000000000, "change_today": 4.23, "week_52_range": { "low": 243.42, "high": 348.36 }, "previous_close": 343.99, "google_finance_link": "https://www.google.com/finance/quote/AAPL:NASDAQ" , "percent_change_today": 1.23, "dividend_yield_percent": 0.31}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"google.com/get_quote","input":{"asset":"AAPL"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "google.com/get_quote" , "input": { "asset": "AAPL" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "google.com/get_quote" , "input": { "asset": "AAPL" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run google.com/get_quote# with {"asset":"AAPL"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "asset" ], "properties": { "asset": { "type": "string", "minLength": 1, "description": "Asset name or ticker, such as Apple, AAPL, or Bitcoin." } }}Output schema
{ "type": "object", "required": [ "name", "ticker", "price", "currency", "change_today", "percent_change_today", "previous_close", "day_range", "week_52_range", "market_cap", "pe_ratio", "dividend_yield_percent", "as_of", "google_finance_link" ], "properties": { "name": { "type": "string" }, "as_of": { "type": [ "string", "null" ] }, "price": { "type": [ "number", "null" ] }, "ticker": { "type": "string" }, "currency": { "type": [ "string", "null" ] }, "pe_ratio": { "type": [ "number", "null" ] }, "day_range": { "type": "object", "properties": { "low": { "type": [ "number", "null" ] }, "high": { "type": [ "number", "null" ] } } }, "market_cap": { "type": [ "number", "null" ] }, "change_today": { "type": [ "number", "null" ] }, "week_52_range": { "type": "object", "properties": { "low": { "type": [ "number", "null" ] }, "high": { "type": [ "number", "null" ] } } }, "previous_close": { "type": [ "number", "null" ] }, "google_finance_link": { "type": "string" }, "percent_change_today": { "type": [ "number", "null" ] }, "dividend_yield_percent": { "type": [ "number", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
google.com/get_quote- Returns
- name, ticker, price, currency, change, previous close, day and 52-week ranges, market cap, P/E, dividend yield, time of quote, link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method google.com/get_quote with the inputs above.
Ask your agent
- What is Tesla trading at right now, and what's its market cap and P/E ratio?
- Current price of Bitcoin in USD along with today's change and 52-week range
- Give me the latest quote for the Vanguard S&P 500 ETF (VOO), including dividend yield
- How is the S&P 500 index doing today? Show previous close and day range on google.com
- Quote for Microsoft (MSFT): price, daily change, and when the last update was
See more
All Google methodsGets a company's quarterly or annual income statement, balance sheet or cash flow lines from its Google Finance quote page, with exact reported amounts and year-over-year changes.
google.com/get_company_financialsLists major stock market indexes on Google Finance with their current levels, changes and quote times. Quotes may be delayed, and indexes Google does not show are left out.
google.com/list_market_indexesConverts an amount between two currencies using the current Google Finance quote. Rates may be delayed.
google.com/convert_currencyLists today's leading gainers, losers or most active stocks in Google Finance display order, with price, change, percent change and currency; the public page shows up to four stocks per list.
google.com/list_market_moversGets a public Google Play app listing by app name or Play Store link, with developer, rating, downloads, price, what's new, descriptions and data safety highlights.
play.google.com/get_appFinds a verified advertiser in the Google Ads Transparency Center by company name or website domain and returns its Google ads with dates, regions, previews and ad pages. Counts may be approximate; regions and media previews are read for the first 40 ads.
adstransparency.google.com/get_company_adsGets one public patent or published application by number, title, or Google Patents link, with claims, citations, family and classifications.
patents.google.com/get_patentFinds Android apps on Google Play by keywords, in Play search order, with each listing's developer, star rating, price and currency for the chosen country, download range and link. Results are limited to apps shown on the public search page.
play.google.com/search_apps