Fetch All Trading Accounts

Fetch every trading account under your user, with login id, broker, platform, live status and license details.

GET https://apix.stocksdeveloper.in/account/fetchAllTradingAccounts
ReadReturns your trading accounts1 languagesRate limited · cache resultsBroker independent
In short

This call returns the details of every trading account under your user, such as login id, broker, platform, live status and license dates. It is meant for developers building custom apps on our broker independent trading APIs. It never returns sensitive data like passwords or security answers.

This call fetches the details of all trading accounts available under your user. It is available over the HTTP REST API and is primarily for developers building custom apps on our broker independent trading APIs.

It never returns sensitive details like password, security answer or similar fields.

HTTP

Example

curl https://apix.stocksdeveloper.in/account/fetchAllTradingAccounts \
   -H "api-key: <your-api-key>"

The response is JSON, in the format shown under Response. Each account carries the Account fields listed below.

Response

On success the result field is a list of trading account objects:

{
	"result": [
		{
			"loginId": "229004",
			"pseudoAccName": "ACC-1",
			"broker": "YOUR_BROKER",
			"platform": "PLATFORM",
			"licenseExpiryDate": "20-Sep-2023",
			"live": false,
			"systemId": 20739003,
			"systemIdOfPseudoAcc": 20739004,
			"licenseDaysLeft": 0
		},
		{
			"loginId": "AR291",
			"pseudoAccName": "ACC-2",
			"broker": "YOUR_BROKER",
			"platform": "PLATFORM",
			"licenseExpiryDate": "24-Jun-2023",
			"live": false,
			"systemId": 16638672,
			"systemIdOfPseudoAcc": 16638673,
			"licenseDaysLeft": 0
		}
	],
	"message": null,
	"status": true,
	"commandId": null
}

On failure:

{
	"result": null,
	"message": "429 - Too many requests",
	"status": false,
	"commandId": null
}

status is true on success. On error it is false, and message holds the error text.

Account fields

Each trading account in the result list carries the fields below.

FieldTypeDescription
loginIdstringLogin id of the trading account.
pseudoAccNamestringPseudo name (nickname).
brokerstringStock broker name.
platformstringStock broker platform.
livebooleanWhether the account is live. Non-live accounts are not available for trading.
licenseExpiryDatestringLicense expiry date in dd-MMM-yyyy format.
licenseDaysLeftintLicense days left.
systemIdlongInternal id given by AutoTrader Web that uniquely identifies the trading account.
systemIdOfPseudoAcclongInternal id given by AutoTrader Web that uniquely identifies the pseudo account.

To understand the difference between a trading account and a pseudo account, see the pseudo account guide.

Notes

This call is not expected to be used repeatedly, so it has stricter limits than the other APIs. See API rate limits for the full list.

Was this page helpful?

Last updated 20 June 2026