# Nasdaq — how to use (mcp.ai)

Connect your Nasdaq account and use 7 tools for analytics straight from your AI agent. Connect with your own API key. Nasdaq Data Link is a cloud-based financial data platform providing access to curated premium and free datasets including equity prices, company fundamentals, earnings estimates, options data, forex rates, and economic indicators through REST and Streaming APIs, with integrations for Python, R, Excel, and SQL.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_nasdaq?ms=1787293380000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `nasdaq_get_analyst_ratings`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/nasdaq`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/nasdaq/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/nasdaq/get/analyst/ratings` — Retrieves comprehensive analyst ratings and target price data for a stock symbol from Zacks Investment Research. Returns current and historical (1-3 months ago) rating counts across all rating categor
  - body: { symbol: string }
- `POST https://api.mcp.ai/api/nasdaq/get/datatable` — Tool to request a bulk export of a NASDAQ Data Link datatable. Returns a download link for a zipped CSV file containing the entire table data, bypassing the standard 10,000 row limit. Use this when yo
  - body: { datatable_code: string }
- `POST https://api.mcp.ai/api/nasdaq/get/datatable/metadata` — Tool to retrieve metadata for a NASDAQ Data Link datatable. Returns complete schema information including column definitions, data types, filterable columns, primary keys, premium status, and refresh 
  - body: { datatable_code: string }
- `POST https://api.mcp.ai/api/nasdaq/get/dividend/history` — Retrieves quarterly dividend-related fundamentals for a specific stock ticker from SHARADAR SF1 database. Returns dividend metrics including DPS (dividend per share), dividend yield, payout ratio, and
  - body: { date?: string, ticker: string, qopts.columns?: string }
- `POST https://api.mcp.ai/api/nasdaq/get/real/time/quote` — Retrieves end-of-day historical stock price data for a specific ticker symbol from the QUOTEMEDIA database. Returns OHLC (Open, High, Low, Close) prices, volume, and dividend/split information. Note: 
  - body: { ticker: string, date_gte?: string, date_lte?: string, per_page?: integer, cursor_id?: string }
- `POST https://api.mcp.ai/api/nasdaq/get/table/row` — Retrieves rows from a NASDAQ Data Link datatable by filtering on a specified column and value. This action queries NASDAQ Data Link datatables (e.g., SHARADAR/SF1 for fundamental data, SHARADAR/TICKER
  - body: { columns?: string, datacode: string, datatable_code: string, filter_column_name: string, filter_column_value: string }
- `POST https://api.mcp.ai/api/nasdaq/get/tables/by/date` — Retrieves Nasdaq Data Link datatables (databases) that were last updated on a specific date. This action fetches all available datatables from Nasdaq Data Link's catalog and filters them by their last
  - body: { target_date: string }

## Example prompts
- "What can I do in Nasdaq?"
- "Show me a summary of my Nasdaq account"

## More
- Page: https://mcp.ai/nasdaq
- Agent spec (llms.txt): https://mcp.ai/nasdaq/llms.txt
- Postman collection: https://mcp.ai/nasdaq/postman.json
