Accounts

Trading and consumption accounts, their balances and more.

List consumption accounts

get

View your consumption accounts by instrument, including balances and tokens used.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Query parameters
account_idstringOptional

Filter by account ID

instrument_idstringOptional

Filter by instrument ID

statusstring · enumOptional

Filter by account status

Possible values:
order_bystring · enumOptional

Field to sort by

Possible values:
order_directionstring · enumOptional

Sort direction

Default: ascPossible values:
nextstringOptional

Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.

prevstringOptional

Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.

limitinteger · max: 100Optional

Number of items to return per page (max: 100)

Default: 50
Responses
chevron-right
200

Consumption accounts

application/json
get
/trading/consumption-accounts
200

Consumption accounts

Get consumption account details

get

Get detailed information about a specific consumption account.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Path parameters
account_idstringRequired

Unique identifier for the consumption account (e.g., "consumption_account_cbf73393ef9e2ed0")

Responses
chevron-right
200

Consumption account details

application/json
get
/trading/consumption-accounts/{account_id}

List currency trading accounts

get

List all currency trading accounts (USD, etc.).

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Query parameters
user_idstringOptional

Filter by user ID

account_idstringOptional

Filter by account ID

currencystringOptional

Filter by currency (e.g., "USD")

statusstring · enumOptional

Filter by account status

Possible values:
order_bystring · enumOptional

Field to sort by

Possible values:
order_directionstring · enumOptional

Sort direction

Default: ascPossible values:
nextstringOptional

Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.

prevstringOptional

Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.

limitinteger · max: 100Optional

Number of items to return per page (max: 100)

Default: 50
Responses
chevron-right
200

List of currency trading accounts

application/json
get
/trading/currency-trading-accounts
200

List of currency trading accounts

Get currency account details

get

Get specific currency trading account details.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Path parameters
account_idstringRequired

Unique identifier for the currency trading account (e.g., "currency_trading_account_57252e83c212e7a9")

Responses
chevron-right
200

Currency account details

application/json
get
/trading/currency-trading-accounts/{account_id}

List trading account balances

get

List all trading account balances across instruments.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Query parameters
account_idstringOptional

Filter by account ID

market_idstringOptional

Filter by market ID

instrument_idstringOptional

Filter by instrument ID

statusstring · enumOptional

Filter by account status

Possible values:
order_bystring · enumOptional

Field to sort by

Possible values:
order_directionstring · enumOptional

Sort direction

Default: ascPossible values:
nextstringOptional

Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.

prevstringOptional

Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.

limitinteger · max: 100Optional

Number of items to return per page (max: 100)

Default: 50
Responses
chevron-right
200

List of trading accounts

application/json
get
/trading/trading-accounts
200

List of trading accounts

Get trading account details

get

Get detailed information about a specific trading account.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Path parameters
account_idstringRequired

Unique identifier for the trading account (e.g., "trading_account_6e6ad9d28eaae559")

Responses
chevron-right
200

Trading account details

application/json
get
/trading/trading-accounts/{account_id}

Last updated

Was this helpful?