Skip to main content
GET
GET /machines/{machine_id}

Endpoint

Returns a peaqOS Machine Card for a machine. The Machine Card follows the ERC-8004 agent registration file pattern, restyled with peaqOS terminology, and includes identity, services, , , and registry references.

Path parameters

integer
default:"1"
required
On-chain machine ID (not an NFT token ID and not a DID)

Response

200 OK The chainId in machineRegistry is read from the connected RPC at server startup (default 3338 for peaq ). The registryAddress is the IdentityRegistry contract address.

Error responses

Example

Response
  • GET /machine/ returns the full machine profile with MCR score and data visibility-dependent fields.
  • GET /mcr/ returns the detailed MCR score, revenue trend, and revenue summary.
  • GET /metadata/ returns NFT metadata for a MachineNFT token.