MSN API: Get stock quote
Gets a stock's latest MSN Money quote and key facts by company name or ticker and listing country. Quotes may be delayed outside market hours.
Unofficial. Not affiliated with or endorsed by MSN.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Company, required
company Company name or stock ticker, for example Microsoft or MSFT.
Microsoft
- Country optional
country Country where the stock is listed, for example United States or Canada.
United States (default)
Input as JSON
{ "company": "Microsoft"}Output
{ "open": 533.14, "price": 521.08, "change": -11.87, "ticker": "MSFT", "volume": 76492, "company": "MICROSOFT CORPORATION", "day_low": 520.3, "currency": "USD", "day_high": 533.6, "exchange": "Nasdaq Stock Market", "pe_ratio": 29.0349, "market_cap": 3869762581160, "quote_time": "2026-10-22T23:59:57.263000+00:00", "week_52_low": 349.2, "week_52_high": 553.72, "change_percent": -2.2272, "msn_money_link": "https://www.msn.com/en-us/money/stockdetails/msft-us-stock/fi-a1xzim" , "previous_close": 532.95, "dividend_yield_percent": 0.7523}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"msn.com/get_stock_quote","input":{"company":"Microsoft"}}' # 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": "msn.com/get_stock_quote" , "input": { "company": "Microsoft" }})# 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": "msn.com/get_stock_quote" , "input": { "company": "Microsoft" } }), 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 msn.com/get_stock_quote# with {"company":"Microsoft"}"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": [ "company" ], "properties": { "company": { "type": "string", "description": "Company name or stock ticker, for example Microsoft or MSFT." }, "country": { "type": "string", "default": "United States", "description": "Country where the stock is listed, for example United States or Canada." } }}Output schema
{ "type": "object", "required": [ "company", "ticker", "exchange", "price", "currency", "change", "change_percent", "open", "previous_close", "day_low", "day_high", "week_52_low", "week_52_high", "volume", "market_cap", "pe_ratio", "dividend_yield_percent", "quote_time", "msn_money_link" ], "properties": { "open": { "type": [ "number", "null" ], "description": "Opening price" }, "price": { "type": [ "number", "null" ], "description": "Latest quoted price" }, "change": { "type": [ "number", "null" ], "description": "Change in price from the previous close" }, "ticker": { "type": [ "string", "null" ], "description": "Stock ticker" }, "volume": { "type": [ "number", "null" ], "description": "Number of shares traded" }, "company": { "type": [ "string", "null" ], "description": "Company name" }, "day_low": { "type": [ "number", "null" ], "description": "Day low price" }, "currency": { "type": [ "string", "null" ], "description": "Price currency code" }, "day_high": { "type": [ "number", "null" ], "description": "Day high price" }, "exchange": { "type": [ "string", "null" ], "description": "Stock exchange" }, "pe_ratio": { "type": [ "number", "null" ], "description": "Price-to-earnings ratio" }, "market_cap": { "type": [ "number", "null" ], "description": "Market capitalization in full currency units" }, "quote_time": { "type": [ "string", "null" ], "description": "Time of the quote with time-zone offset" }, "week_52_low": { "type": [ "number", "null" ], "description": "52-week low price" }, "week_52_high": { "type": [ "number", "null" ], "description": "52-week high price" }, "change_percent": { "type": [ "number", "null" ], "description": "Percentage change from the previous close" }, "msn_money_link": { "type": [ "string", "null" ], "description": "Stock page on MSN Money" }, "previous_close": { "type": [ "number", "null" ], "description": "Previous closing price" }, "dividend_yield_percent": { "type": [ "number", "null" ], "description": "Dividend yield as a percentage, or null if none" } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
msn.com/get_stock_quote- Returns
- company, ticker, exchange, price, change, day and 52-week range, volume, market cap, P/E, dividend yield, quote time, MSN Money 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 msn.com/get_stock_quote with the inputs above.
Ask your agent
- What's the current share price of Microsoft and how much has it moved today?
- Look up the ticker TSLA on the US market and tell me its market cap and P/E ratio.
- I need the latest quote for Shopify listed in Canada, including its 52-week range and volume.
- Check MSN Money for Toyota Motor's stock price and dividend yield.
- Get me today's price, day range, and quote time for Royal Bank of Canada on the TSX.
See more
All MSN methodsLists MSN Money's current leading stock gainers, losers, or most-active shares in a selected market, in MSN's order. Lists may contain fewer than 50 stocks and prices may be delayed.
msn.com/list_market_moversGets current MSN Weather conditions for a city, address or ZIP code. The place is found through OpenStreetMap Nominatim. Matches for broad searches are approximate.
msn.com/get_current_weatherGets up to 10 days of MSN Weather forecasts for a city, address, or ZIP code, with optional hourly forecasts for the next 24 hours.
msn.com/get_forecastLooks up a stock, fund, index, or cryptocurrency by name or ticker and returns its latest displayed price and key statistics. Unavailable figures are null; quotes may be delayed.
finance.yahoo.com/get_quoteGets 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.
google.com/get_quoteGet a delayed US-listed stock snapshot from its ticker or company name. Analyst labels summarize Finviz's 1-5 mean score; dividend yield uses the estimated dividend when available. Missing metrics return null.
finviz.com/get_stock_snapshotLooks up a company by name or ticker on Yahoo Finance and returns its latest news headlines, with article summaries when the article page provides one.
finance.yahoo.com/get_company_newsLooks up a stock by company name or ticker on Stock Analysis and returns its valuation ratios and company statistics, with the date the figures were last updated.
stockanalysis.com/get_key_statistics