Skip to main content
GET
GET /metadata/{token_id}

Endpoint

Returns metadata for a MachineNFT token. The server looks up the from the via the MachineNFT contract, then resolves the machine owner and builds the same response as GET /machine/. This endpoint is designed to serve as an ERC-721 tokenURI target.

Path parameters

integer
default:"1"
required
NFT token ID (not the machine ID)

Response

200 OK The response shape is identical to GET /machine/. All base fields and data visibility-dependent fields apply. See that page for the full field reference. Additional fields (data_api, event_data, partner_data, partner_data_error) depend on data_visibility. See GET /machine/ for details.

Error responses

Example

Response
  • GET /machine/ returns the same response shape, resolved by DID instead of token ID.
  • GET /mcr/ returns a focused MCR response with revenue trend and summary.
  • GET /machines/ returns the peaqOS Machine Card resolved by numeric machine ID.