logo
Account Information

List account orders

get
https://api.snaptrade.com/api/v1/accounts/{accountId}/orders

Fetch all recent orders from a user's account.

Path
accountIdstring (format: uuid)required
The ID of the account to get orders.
Query
userIdstringrequired
SnapTrade User ID
userSecretstringrequired
SnapTrade User Secret (generated when registering user)
statestring
defaults value is set to "all"
daysinteger (format: int32)
Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in.

Responses

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...