Skip to main content
GET
/
catalog
/
credentials
/
{id}
Credential detail
curl --request GET \
  --url https://api.sandbox.mocachain.org/v1/catalog/credentials/{id}
{
  "code": 80000000,
  "msg": "success",
  "data": {
    "credentialId": "c21s70g0i54sn0023172Cv",
    "name": "Age Verification",
    "category": "identity",
    "issuer": {
      "issuerId": "iss_01",
      "name": "Acme Corp",
      "issuerDid": "did:air:id:test:5P44fsVUhPctDTWH2Nz26pZJFsg6CqyiAELTGeVQDB",
      "issuerFrom": "dashboard"
    },
    "dataPoints": [
      {
        "title": "Age",
        "type": "integer",
        "name": "age",
        "isRequired": true,
        "description": "User's age in years"
      }
    ],
    "schema": {
      "schemaId": "sch_01HX",
      "title": "KYC Identity",
      "description": "Basic identity verification schema"
    },
    "traction": {
      "holderCount": 120,
      "issuanceCount": 200,
      "verificationCount": 85
    },
    "programs": [
      {
        "programId": "prg_01",
        "name": "Age Gate",
        "verifierName": "Verify Inc",
        "verificationCount": 85
      }
    ],
    "createdAt": "2026-01-15T10:30:00Z"
  },
  "timestamp": 1772530828000
}

Documentation Index

Fetch the complete documentation index at: https://docs.moca.network/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Credential ID.

Response

Credential with full detail.

Standard API response envelope used by all Catalog endpoints.

code
integer

Response code. 80000000 indicates success.

Example:

80000000

msg
string

Human-readable status message.

Example:

"success"

data
any

Response payload. Shape varies per endpoint.

timestamp
integer

UNIX timestamp in milliseconds.

Example:

1772530828000