Real-Time Options Data, Plus Stocks, ETFs & More

Spreadsheets, REST API, Python

Get your bearings with reliable real-time options data—Greeks, IV, quotes, and more—alongside full coverage for stocks and ETFs. Whether you're coding in Python or working in Sheets, Market Data helps you stay on course.

30 Day Free Trial
|
No Credit Card Required
A black compass whose dial is marked with the option Greeks delta, gamma, theta and vega instead of compass points

Agent setup

Paste one prompt. Your agent does the setup.

The prompt points your coding agent at our llms.txt. The agent works out whether you want the data in a spreadsheet or in code, reads your token from the MARKETDATA_TOKEN variable and finishes with a real call.

The prompt works in

  • Claude Code
  • Codex
  • Cursor
  • GitHub Copilot
  • Gemini CLI
  • Claude Desktop
  • ChatGPT
See the setup steps for your agent

Paste into your coding agent

Read https://www.marketdata.app/llms.txt and set up Market Data. Decide if I want data in a spreadsheet or in code; if unclear, ask one question. Spreadsheet: set up the Google Sheets add-on and its formulas (STOCKDATA, OPTIONDATA, OPTIONCHAIN, EARNINGS) and link its docs. Code: start with the official Market Data SDK for my language (Python, JavaScript, Java, C#, Go, PHP; https://www.marketdata.app/docs/sdk/); never write your own HTTP client while an SDK exists. If I have no account, tell me to sign up for the free trial at https://www.marketdata.app/signup/ and set MARKETDATA_TOKEN myself; you cannot do that step. Read the token from MARKETDATA_TOKEN, never paste it in chat or source, then make one real call (an SDK stock quote or one formula in a cell) to confirm it works.

Prefer to do it yourself? Start the free trial or read the API docs.

  • In a spreadsheet

    You install the free Google Sheets add-on, which signs in with your Google account. The agent then writes the formula for the cell: STOCKDATA for quotes and candles, OPTIONDATA and OPTIONCHAIN for options, EARNINGS for the reporting calendar. One formula in a cell is the first call.

  • In code

    The agent starts with the official SDK for your language: Python, JavaScript, Java, C#, Go and PHP. Every SDK reads MARKETDATA_TOKEN and handles the request and the response for you, so the agent writes no HTTP client of its own. The REST reference is there for a language without an SDK.

  • What the agent gets right

    Our llms.txt tells it what breaks a first integration: the token travels as a Bearer header, a 203 response is a success from the cache, a 402 means the plan does not cover the request, and a 403 clears itself after five minutes. It also knows that signing up and requesting your token are your steps, not its own.

Winning trades are born from superior data.

Free 30 day demo for new accounts. No credit card required.

Sign Up For Free