API Reference
GET /mcr/{did}
Compute and return the Machine Credit Rating for a single machine DID.
GET
GET /mcr/{did}
Endpoint
MCR_CACHE_TTL env var (defaults to 3600 seconds; set MCR_CACHE_TTL=0 to disable caching). Responses are not cached when mcr_degraded is true: the server retries upstream FX sources on the next request rather than pinning a conservative score.
Path parameters
string
required
Machine DID (
did:peaq:0x...) or raw EVM address (0x...).Response
200 OKRating values
Possible values ofmcr: AAA, AA, A, BBB, BB, B, NR, or Provisioned.
Unbonded machines return a rating of NR with mcr_score: 0. Bonded machines that have not yet accumulated enough history return a rating of Provisioned with mcr_score: 0.
Error responses
Example
Related endpoints
- GET /machine/ returns the full machine profile including data visibility-dependent fields.
- GET /operator//machines returns MCR scores for all machines under an operator.
- GET /metadata/ returns the same profile shape as
/machine/{did}, resolved by NFT token ID.
Previous
GET /machine/{did}Return the full machine profile for a DID, with response fields that vary by data visibility setting.
Next
GET /mcr/{did}

