Skip to Content
PlatformsBrokersTD Ameritrade

TD Ameritrade Data Parser & API

TD Ameritrade was one of the largest US retail brokerages — known for its thinkorswim platform and a well-documented developer API — and StockAPIS extracts its market data, including real-time stock and options quotes, options chains with Greeks, and price history, through a single REST API. TD Ameritrade was acquired by Charles Schwab and its standalone developer API has been retired in favor of the Schwab Trader API, so its endpoints now count as a partial/legacy interface; StockAPIS normalizes whatever remains available into the same schema you use for every other broker and exchange.

TypeRetail brokerage (acquired by Charles Schwab)
HQUnited States (Omaha, NE)
OwnerCharles Schwab Corporation
Asset classesUS equities, Options, ETFs, Mutual funds, Futures
CoverageUS-listed stocks, options, ETFs and funds (NYSE, NASDAQ)
ScaleLegacy top-tier US retail broker, now migrated into Schwab
API accessPartial / limited API
Parse priority★★★☆☆
Official sitewww.tdameritrade.com

Platform Overview

Market Position

  • A top-tier US retail broker before being acquired by and merged into Charles Schwab
  • Famous for the thinkorswim trading platform and deep options and research tooling
  • Historically offered a public, well-documented REST + streaming developer API
  • That API has been deprecated and migrated to the Schwab Trader API — TD Ameritrade is now a legacy/partial integration

Data Coverage

StockAPIS exposes the TD Ameritrade market data surface (and its Schwab successor):

  • Stock quotes — real-time last/bid/ask, net change, day high/low, total volume
  • Options data — full options chains, strikes and expirations, Greeks and implied volatility
  • Price history — OHLC candles across intraday and daily intervals for backtesting
  • ETFs & funds — prices and performance for ETFs and mutual funds
  • Fundamentals — analyst-grade fundamentals, ratios and instrument metadata
  • Instrument details — exchange, marginable/shortable flags and symbol descriptions

Quick Start

import stockapis client = stockapis.Client(api_key="your-api-key") # Real-time quote for a US-listed stock quote = client.td_ameritrade.get_quote(symbol="AAPL") print(f"Apple: ${quote['lastPrice']} · vol {quote['totalVolume']:,}")
const { StockAPIS } = require("stockapis"); const client = new StockAPIS({ apiKey: "your-api-key" }); // Options chain with Greeks and implied volatility const chain = await client.td_ameritrade.getOptionsChain({ symbol: "AAPL" }); console.log(chain.callExpDateMap);

Sample API Response

{ "success": true, "data": { "symbol": "AAPL", "description": "Apple Inc", "bidPrice": 185.1, "bidSize": 100, "askPrice": 185.15, "askSize": 200, "lastPrice": 185.14, "openPrice": 185.59, "highPrice": 187.05, "lowPrice": 184.93, "closePrice": 182.69, "netChange": 2.45, "totalVolume": 48591690, "mark": 185.14, "exchangeName": "NASDAQ", "marginable": true, "shortable": true, "volatility": 0.25, "quoteTimeInLong": 1640995200000 }, "metadata": { "source": "td-ameritrade", "timestamp": "2024-01-15T10:30:00.000Z" } }

Use Cases

  • Options analytics — pull full chains with Greeks and implied volatility to model strategies and risk
  • Quant research — OHLC history and fundamentals for backtesting equity and options strategies
  • Portfolio valuation — real-time marks on US stocks, ETFs and funds for P&L and risk monitoring
  • Broker migration tooling — bridge legacy TD Ameritrade data to the Schwab API on one schema

Frequently Asked Questions

Does TD Ameritrade have an official API? It did — a public REST and streaming developer API — but it has been retired following the Charles Schwab acquisition and replaced by the Schwab Trader API. StockAPIS treats TD Ameritrade as a partial/legacy source and routes equivalent data through its successor while keeping one unified schema.

What data can I get from TD Ameritrade through StockAPIS? Real-time stock quotes, full options chains with Greeks and implied volatility, OHLC price history, ETF and mutual fund prices, and fundamentals for US-listed instruments.

Is TD Ameritrade data the same as Charles Schwab data now? Effectively yes — accounts and API access have migrated to Schwab. StockAPIS normalizes both so you can query TD Ameritrade symbols the same way you query Schwab and other brokers.

Last updated on