Nasdaq API: Get dividend history
Get a company's dividend summary and past per-share payments, newest first. Nasdaq publishes dividend history only for Nasdaq-listed stocks; other listings may have no available history.
Unofficial. Not affiliated with or endorsed by Nasdaq.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Company, required
company Company name or stock ticker, for example Apple or AAPL.
Apple
- Max Results optional
max_results Maximum number of past payments, for example 20.
5
Whole number from 1 to 200. Default
20.
Input as JSON
{ "company": "Apple", "max_results": 5}Output
{ "ticker": "AAPL", "company": "Apple Inc. Common Stock", "page_url": "https://www.nasdaq.com/market-activity/stocks/aapl/dividend-history" , "payments": [ { "type": "Cash", "page_url": "https://www.nasdaq.com/market-activity/stocks/aapl/dividend-history" , "record_date": "2026-08-10", "payment_date": "2026-08-13", "declaration_date": "2026-07-30", "ex_dividend_date": "2026-08-10", "amount_per_share_usd": 0.27 }, { "type": "Cash", "page_url": "https://www.nasdaq.com/market-activity/stocks/aapl/dividend-history" , "record_date": "2026-05-11", "payment_date": "2026-05-14", "declaration_date": "2026-04-30", "ex_dividend_date": "2026-05-11", "amount_per_share_usd": 0.27 }, { "type": "Cash", "page_url": "https://www.nasdaq.com/market-activity/stocks/aapl/dividend-history" , "record_date": "2026-02-09", "payment_date": "2026-02-12", "declaration_date": "2026-01-29", "ex_dividend_date": "2026-02-09", "amount_per_share_usd": 0.26 } ], "annual_dividend_usd": 1.08, "payout_ratio_percent": null, "dividend_yield_percent": 0.32}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"nasdaq.com/get_dividend_history","input":{"company":"Apple","max_results":5}}' # 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": "nasdaq.com/get_dividend_history" , "input": { "company": "Apple", "max_results": 5 }})# 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": "nasdaq.com/get_dividend_history" , "input": { "company": "Apple", "max_results": 5 } }), 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 nasdaq.com/get_dividend_history# with {"company":"Apple","max_results":5}"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 Apple or AAPL." }, "max_results": { "type": "integer", "default": 20, "maximum": 200, "minimum": 1, "description": "Maximum number of past payments, for example 20." } }}Output schema
{ "type": "object", "required": [ "company", "ticker", "annual_dividend_usd", "dividend_yield_percent", "payout_ratio_percent", "page_url", "payments" ], "properties": { "ticker": { "type": "string", "description": "Stock ticker." }, "company": { "type": "string", "description": "Company name." }, "page_url": { "type": "string", "description": "Nasdaq dividend history page." }, "payments": { "type": "array", "items": { "type": "object", "required": [ "ex_dividend_date", "type", "amount_per_share_usd", "declaration_date", "record_date", "payment_date", "page_url" ], "properties": { "type": { "type": [ "string", "null" ], "description": "Dividend payment type." }, "page_url": { "type": "string", "description": "Nasdaq page for the payment history." }, "record_date": { "type": [ "string", "null" ], "description": "Record date, YYYY-MM-DD." }, "payment_date": { "type": [ "string", "null" ], "description": "Payment date, YYYY-MM-DD." }, "declaration_date": { "type": [ "string", "null" ], "description": "Declaration date, YYYY-MM-DD." }, "ex_dividend_date": { "type": [ "string", "null" ], "description": "Ex-dividend date, YYYY-MM-DD." }, "amount_per_share_usd": { "type": [ "number", "null" ], "description": "Cash amount per share in USD." } }, "additionalProperties": false }, "description": "Past payments, newest first." }, "annual_dividend_usd": { "type": [ "number", "null" ], "description": "Current annual dividend in USD per share, or null when unavailable." }, "payout_ratio_percent": { "type": [ "number", "null" ], "description": "Payout ratio as a percent only when Nasdaq shows it." }, "dividend_yield_percent": { "type": [ "number", "null" ], "description": "Current dividend yield as a percent, or null when unavailable." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
nasdaq.com/get_dividend_history- Returns
- company, ticker, annual dividend, yield, payout ratio, past payments with ex-dividend, declaration, record and payment dates
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 nasdaq.com/get_dividend_history with the inputs above.
Ask your agent
- What's Microsoft's dividend payment history? I need the ex-dividend and payment dates for the last 12 payouts.
- Pull up Costco's annual dividend, current yield, and payout ratio from nasdaq.com, plus its recent per-share payments.
- Show me the last 40 dividends PepsiCo has paid, with declaration, record, and pay dates, most recent first.
- When was CSCO's most recent ex-dividend date and how much did it pay per share? Include a few prior payments too.
- On Nasdaq, look up Apple's dividend record — annual dividend, yield, and the past 100 payments.
See more
All Nasdaq methodsLists Nasdaq dividend calendar entries going ex-dividend on a day (US Eastern), sorted by company name. Includes ETFs and other listed securities shown by Nasdaq; dividend yield is not shown by this calendar and is null.
nasdaq.com/get_dividend_calendarLists Nasdaq's US IPO calendar entries for a month and listing stage (upcoming, priced, filed or withdrawn), with dates, prices, shares, offer amounts and Nasdaq links, sorted by date. Filed and withdrawn entries may not show a price or exchange.
nasdaq.com/get_ipo_calendarLists companies scheduled to report quarterly earnings on a date, sorted by market cap. Nasdaq supplies fiscal quarter ending by month, not exact day; unavailable figures are null.
nasdaq.com/get_earnings_calendarLooks up a public company by name or ticker on SEC EDGAR and returns its reported annual or quarterly financial figures from XBRL company facts. Quarterly flows are derived from year-to-date totals when no quarterly figure is filed. Unavailable figures are null.
sec.gov/get_company_financialsReturns Yahoo Finance daily, weekly or monthly price history and total adjusted-close return for a stock, fund, index or cryptocurrency.
finance.yahoo.com/get_price_historyGet 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 Stock Analysis and returns its annual or quarterly income statement, balance sheet, or cash flow statement for the free periods.
stockanalysis.com/get_financial_statementsGets 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.
msn.com/get_stock_quote