Skip to main content
GET
GET /operator/{did}/machines

Endpoint

Returns a paginated list of machines under an , with a full for each machine. The MCR score is computed from the machine’s full history (not bond-only). Machines that are not registered in the IdentityRegistry contract are silently excluded. The server reads the operator’s machines DID attribute and paginates over the full list. Pagination works past 100 machines using offset and limit; the underlying DID-attribute storage is bounded by the peaq DID (~2560 bytes), so very large fleets should iterate offset rather than expect an unbounded single response.

Path parameters

string
required
Operator DID (did:peaq:0x...) or raw EVM address (0x...)

Query parameters

integer
default:"0"
Number of machines to skip before the returned page. Must be >= 0.
integer
default:"20"
Maximum number of machines to return per page. Range 1-20.

Response

200 OK An operator with no machines returns 200 with an empty machines array and pagination.total of 0.

Error responses

Example

Response
  • GET /mcr/ returns detailed MCR data for a single machine, including revenue trend and summary.
  • GET /machine/ returns the full machine profile with data visibility-dependent fields.