TD Ameritrade Accounts and Trading API
The Accounts and Trading API from TD Ameritrade — 7 operation(s) for accounts and trading.
TD Ameritrade Accounts and Trading API is one of 15 APIs that TD Ameritrade publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Accounts and Trading. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.
This API exposes 13 operations across 7 paths, and defines 32 schemas. It is described by OpenAPI 3.0.0, at version 3.0.1.
Requests are made against 2 base URLs: https://api.tdameritrade.com/v2, http://api.tdameritrade.com/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
TD Ameritrade Accounts and Trading API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Authorization (Bearer).
Paths & Operations 13
Across 7 paths, the API surfaces 13 operations — 2 DELETE, 7 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
Schemas 32
The contract defines 32 schemas that model the data the API accepts and returns. The most detailed are SavedOrder (37 properties), Order (36 properties), MarginAccount (10 properties), CashAccount (10 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from TD Ameritrade 12
Other APIs TD Ameritrade publishes across the network.