API Reference
GET /metadata/{token_id}
Return NFT metadata for a MachineNFT token, intended as an ERC-721 tokenURI target.
GET
GET /metadata/{token_id}
Endpoint
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
Related endpoints
- 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.
Previous
GET /machines/{machine_id}Return a peaqOS Machine Card for a machine identified by its numeric machine ID.
Next
GET /metadata/{token_id}

