Skip to main content
GET
/
v1
/
subaccounts
/
{subaccount_id}
Get Subaccount
curl --request GET \
  --url https://api.rivermarkets.com/v1/subaccounts/{subaccount_id} \
  --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.

Path Parameters

subaccount_id
string
required

Response

Successful Response

Schema for subaccount 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