Skip to main content
POST
/
v1beta1
/
list_accounts
List Accounts
curl --request POST \
  --url https://traderapi.us-east-1.privatelink.preprod.polymarketexchange.com/api/v1beta1/list_accounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "user": "<string>"
}
'
{
  "accounts": [
    "<string>"
  ],
  "display_names": [
    "<string>"
  ]
}

Body

application/json

Request to list the accounts belonging to the specified user.

user
string

Fully qualified resource name for the user whos accounts to list (ie: "firms/[firmid]/users/[userid]"). If left empty, lists all accounts.

Response

A successful response.

accounts
string[]

List of fully qualified resource names for the accounts found (ie: "firms/[firmid]/accounts/[accountid]").

display_names
string[]

List of display names for the accounts found.