Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TD Ameritrade Holding Accounts API

Account information, balances, and positions

TD Ameritrade Holding Accounts API is one of 9 APIs that TD Ameritrade Holding publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Accounts. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.

Requests are made against a single base URL, https://api.tdameritrade.com/v1.

2 operations 2 paths 4 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1
Base URL
https://api.tdameritrade.com/v1
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

TD Ameritrade Holding Accounts API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 3 scopes. By default, every request must be authenticated.

  • OAuth2 — TD Ameritrade uses OAuth 2.0 token-based authentication

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Accounts 2

Account information, balances, and positions

GET
/accounts
Get All Accounts
getAccounts 1 param → 200401
GET
/accounts/{accountId}
Get Account
getAccount 2 params → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Position (7 properties), Instrument (5 properties), Error (2 properties), Account (1 property). Each schema is shown below with its type and property counts.

Error
object
2 properties
Instrument
object
A financial instrument (stock, ETF, option, etc.)
5 properties
Position
object
A security position held in an account
7 properties
Account
object
Brokerage account information including balances and positions
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

td-ameritrade-holding-accounts-api-openapi.yml Raw ↑

Other APIs TD Ameritrade Holding publishes across the network.

TD Ameritrade Holding Instruments API
TD Ameritrade Holding Market Data API
TD Ameritrade Holding Options API
TD Ameritrade Holding Orders API
TD Ameritrade Holding Saved Orders API
TD Ameritrade Holding Transactions API
TD Ameritrade Holding User Management API
TD Ameritrade Holding Watchlists API