Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Subaccounts

Get subaccount

Returns a summary of a specific subaccount associated to a Workspace.

GET
/v2/pool/subaccounts/{subaccount_name}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

subaccount_nameRequiredstring

A subaccount name for which to retrieve summary information.

Minimum length: 1
curl -X GET "https://app.luxor.tech/api/v2/pool/subaccounts/my_subaccount" \
  -H "authorization: <token>"

Default Response

{
  "id": 0,
  "name": "my_subaccount",
  "site_id": "b0a5fad8-0e09-4f10-ac20-ccd80fb2d138",
  "created_at": "2019-08-24T14:15:22Z",
  "url": "string"
}