Luxor Documentation Hub Logo
Mining Pool/API Documentation/Reporting

Get developer fees

Allows querying dev fee for subaccounts. Returns hourly results (fixed tick size at 1_HOUR).

GET
/v1/pool/dev-fee

Authorization

authorization<token>

Use your API key here.

In: header

Query Parameters

group_idstring

An alternate shortcut for specifying subaccounts. Can be used in place of subaccount_names

Format: "uuid"
subaccount_namesAny properties in string,array<string>

An array of subaccount names for which to retrieve summary information.

start_dateRequiredstring

The start date to use for the returned data.

Format: "date"
end_dateRequiredstring

The end date to use for the returned data.

Format: "date"
page_numbernumber

The page number to use for the returned data.

Minimum: 1
page_sizenumber

The page size to use for the returned data.

Minimum: 1
curl -X GET "https://app.luxor.tech/api/v1/pool/dev-fee?group_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&subaccount_names=subaccount_1%2Csubaccount_2&start_date=2025-01-01&end_date=2025-01-31&page_number=1&page_size=10" \
  -H "authorization: <token>"

Default Response

{
  "start_date": "2025-01-01",
  "end_date": "2025-01-31",
  "devfee_data": [
    {
      "datetime": "2025-01-01T00:00:00Z",
      "devfee_hashrate": "1035827914295214",
      "devfee_revenue": 0.00066154,
      "subaccount": "subaccount_1"
    }
  ],
  "pagination": {
    "page_number": 0,
    "page_size": 0,
    "item_count": 0,
    "previous_page_url": "string",
    "next_page_url": "string"
  }
}