Trade the Way You Want

Whether you’re a commercial software, auto-trader or black-box quant developer, you can connect directly to TD Ameritrade through our powerful API. The API allows developers to enable their software to connect to TD Ameritrade for trading, data, and account management. The TD Ameritrade API works for all clients who have accounts with TD Ameritrade.

TD Ameritrade works closely with developers who use the API and provides dedicated technical support for the API community.

The API is language-independent, XML-based, simple, and robust. TD Ameritrade’s API features include:

  • Trading - Submitting, canceling, modifying orders
  • Streaming data - Level I, Level II, News, and Actives
  • Historical data - Daily and intraday
  • Account information - Balances, positions, transactions
  • Multi-product support - Stocks, options, ETFs, mutual funds
  • Wrappers and sample code - Provides easy integration into various programming environments
  • Proxy-friendly - Compatible with a variety of proxy servers and firewalls
  • Comprehensive documentation - Complete description and clear documentation available
  • Outstanding client support - Dedicated API specialists available to fully support your technical questions

Connecting Made Easier

Interested in integrating your trading application with TD Ameritrade? Email us  to get started.

Why Use API

The API is pure protocol - it doesn’t require any other software to run alongside yours. Your software will connect directly to the TD Ameritrade servers for a smooth and seamless operation.

Flexible and Comprehensive
The API uses standard communication protocols for which libraries exist in every language. It's proxy-friendly, comprehensive, and very compact - particularly for trading and streaming data.

TD Ameritrade provides dedicated technical support to API software developers to help you integrate the API with your products quickly and efficiently.

Why TD Ameritrade

Straightforward Pricing
You won’t be charged any maintenance fees, and you’ll get low, flat-rate $9.99 commissions on Internet equity trades, no matter how often you trade.

Order Execution
TD Ameritrade’s routing intelligence is combined with the speed of its proprietary routing technology. It dynamically sends orders to different market centers that seek to fill your order quickly and at the best available price.

Flexible Support With Outstanding Service
Online, on the phone, or at a branch, no matter where you are or what level of support you need, you can get it at TD Ameritrade.


Market volatility, volume and system availability may delay account access and trade executions.

You are responsible for all trades entered in your TD Ameritrade account, including automated or programmed trades entered via the API. Brokerage services provided by TD Ameritrade, Inc.

TD Ameritrade does not charge platform, maintenance or inactivity fees. Commissions, service fees and exception fees still apply. Please review our commission and brokerage fees for details.

Execution price, speed and liquidity are affected by many factors, including market volatility, size and type of order and available market centers.

Streaming News and NASDAQ Level II Quotes are free to non-professional subscribers. Access to real-time data is subject to acceptance of the exchange agreements. Professional access and fees differ. For details, see our commission and brokerage fees.

TD Ameritrade, Inc., member FINRA / SIPC / NFA. This is not an offer or solicitation in any jurisdiction where we are not authorized to do business. TD Ameritrade is a trademark jointly owned by TD Ameritrade IP Company, Inc. and The Toronto-Dominion Bank. © 2014 TD Ameritrade IP Company, Inc. All rights reserved. Used with permission