Skip to main content
GET
/
catalog
/
schemas
/
{id}
Schema detail
curl --request GET \
  --url https://api.sandbox.mocachain.org/v1/catalog/schemas/{id}
{
  "code": 80000000,
  "msg": "success",
  "data": {
    "schemaId": "sch_01HX",
    "title": "KYC Identity",
    "description": "Basic identity verification schema",
    "credentials": [
      {
        "credentialId": "c21s70g0i54sn0023172Cv",
        "name": "Age Verification",
        "category": "identity",
        "issuer": {
          "issuerId": "iss_01",
          "name": "Acme Corp"
        },
        "traction": {
          "holderCount": 120,
          "issuanceCount": 200,
          "demandCount": 50
        },
        "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

Schema ID.

Response

Schema with credentials.

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