Docs/Getting Started with OptionData
Getting startedGetting Started with OptionData
Sign in to your existing OptionData account, copy your API key, and choose your first Historical SQL or Option Chain request.
On this page
This guide takes you from signing in to your existing account to your first authenticated OptionData request.
1. Sign in to your account
Open OptionData, enter your account email address, and use the one-time verification code to sign in.
2. Copy your API key
Open API Key, then select Copy. Store the key in a password manager or environment variable—never commit it to source control.
For detailed key handling and rotation, see Manage Your API Key.
3. Choose your first workflow
| Goal | Start here |
|---|---|
| Query historical option trades | Historical SQL Quickstart |
| Retrieve an option chain | Option Chain Quickstart |
The same API key authenticates both workflows. Access requires an active or trialing subscription. If a renewal payment fails, access continues for 7 days from the start of the unpaid billing period while you update your payment method on Billing.
4. Continue after the trial
During a no-card trial, the dashboard shows how many days remain. To continue access after the trial, follow Add a Payment Method During Your Trial.
Review your plan, trial end date, and billing state at Billing.
What trial access includes
- Historical SQL over the past 7 days, up to 1,000 rows per response.
- Option Chain access.
- The same authentication and response contracts used by active subscriptions.
If a request fails, use Troubleshoot Authentication and Access before rotating your key.
Ask ChatGPT or Claude Code
Copy this prompt, paste it into ChatGPT, Claude, Claude Code, Cursor, or Codex, then add your question. It tells the model to read our public docs first — no API key needed for that step.
You are helping me use OptionData (https://www.optiondata.io/), a historical U.S. equity options data API. Before answering, fetch these public files (no login required) and treat them as the source of truth: - https://www.optiondata.io/llms.txt — short product map (same content as https://www.optiondata.io/llm.txt) - https://www.optiondata.io/llms-full.txt — full API reference - https://www.optiondata.io/openapi.json — HTTP OpenAPI Do not invent endpoints, fields, tables, or limits. Prefer `Authorization: Bearer apikey_…` for HTTP APIs. Products: - Historical SQL: POST https://www.optiondata.io/api/historical/sql - Option chain: POST https://www.optiondata.io/api/option-chain I am asking about: Getting Started with OptionData - Markdown: https://www.optiondata.io/md/getting-started - HTML docs: https://www.optiondata.io/docs/getting-started My question: