{ "opencollection": "1.0.0", "info": { "name": "TD Ameritrade and Trading Accounts API", "version": "1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.tdameritrade.com/auth", "accessTokenUrl": "https://api.tdameritrade.com/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Accounts", "type": "folder" }, "items": [ { "info": { "name": "Get All Accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/accounts", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of optional fields to include (positions, orders)" } ] }, "docs": "Retrieve account data including balances, positions, and orders for all linked accounts." }, { "info": { "name": "Get Account", "type": "http" }, "http": { "method": "GET", "url": "https://api.tdameritrade.com/v1/accounts/:accountId", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Unique account identifier" }, { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of optional fields to include (positions, orders)" } ] }, "docs": "Retrieve account balances, positions, and orders for a specific account." } ] } ], "bundled": true }