Skip to main content
GET
/
v1
/
subaccounts
List Subaccounts
curl --request GET \
  --url https://api.rivermarkets.com/v1/subaccounts \
  --header 'X-River-Key-Id: <api-key>' \
  --header 'X-River-Signature: <api-key>' \
  --header 'X-River-Timestamp: <api-key>'
[
  {
    "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "is_active": true,
    "inserted_at": "<string>",
    "description": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.rivermarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-River-Key-Id
string
header
required

UUID of your API key (from Settings → API Keys).

X-River-Timestamp
string
header
required

Current unix seconds. Must be within 30s of server time.

X-River-Signature
string
header
required

Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.

Response

200 - application/json

Successful Response

subaccount_id
string<uuid>
required
name
string
required
account_type
enum<string>
required

Type of trading subaccount.

Available options:
custodial,
non_custodial
is_active
boolean
required
inserted_at
string
required
description
string | null