For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
      • GETAccount Dependents
      • GETAccount Find
      • GETAccount Item
      • GETAccount Items
      • GETAccount L Dependents
      • GETAccount List
      • POSTReset Demo Account State
      • GETAccount Suggest
      • GETCash Balance Dependents
      • POSTGet Cash Balance Snapshot
      • GETCash Balance Item
      • GETCash Balance Items
      • GETCash Balance L Dependents
      • GETCash Balance List
      • GETCash Balance Log Dependents
      • GETCash Balance Log Item
      • GETCash Balance Log Items
      • GETCash Balance Log L Dependents
      • GETMargin Snapshot Dependents
      • GETMargin Snapshot Item
      • GETMargin Snapshot Items
      • GETMargin Snapshot L Dependents
      • GETMargin Snapshot List
      • GETTrading Permission Dependents
      • GETTrading Permission Item
      • GETTrading Permission Items
      • GETTrading Permission L Dependents
      • GETTrading Permission List
Support Center
LogoLogo
REST API EndpointsAccounting

Account L Dependents

GET
https://demo.tradovateapi.com/v1/account/ldeps
GET
/v1/account/ldeps
1const url = 'https://demo.tradovateapi.com/v1/account/ldeps?masterids=%5B1%5D';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1[
2 {
3 "name": "string",
4 "userId": 1,
5 "accountType": "Customer",
6 "active": true,
7 "clearingHouseId": 1,
8 "riskCategoryId": 1,
9 "autoLiqProfileId": 1,
10 "marginAccountType": "Hedger",
11 "legalStatus": "Corporation",
12 "timestamp": "2024-01-15T09:30:00Z",
13 "id": 1,
14 "evaluationSize": 1.1,
15 "readonly": true,
16 "ccEmail": "string"
17 }
18]
Retrieves all entities of Account type related to multiple entities of User type
Was this page helpful?
Previous

Account List

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

masteridslist of longsRequired
ids of User entities

Response

Account
namestring<=64 characters
userIdlong
accountTypeenum
Customer, Giveup, House, Omnibus, Wash
Allowed values:
activeboolean
clearingHouseIdlong
riskCategoryIdlong
autoLiqProfileIdlong
marginAccountTypeenum
Hedger, Speculator
Allowed values:
legalStatusenum
Corporation, GP, IRA, Individual, Joint, LLC, LLP, LP, PTR, Trust
timestampdatetime
idlong
evaluationSizedouble
readonlyboolean
ccEmailstring<=64 characters