Skip to main content
GET
/
catalog
/
schemas
Browse schemas
curl --request GET \
  --url https://api.sandbox.mocachain.org/v1/catalog/schemas
{
  "code": 80000000,
  "msg": "success",
  "data": {
    "current": 1,
    "pages": 5,
    "size": 10,
    "total": 47,
    "records": [
      {
        "schemaId": "sch_01HX",
        "title": "KYC Identity",
        "description": "Basic identity verification schema",
        "credentialCount": 5,
        "providerCount": 3
      }
    ]
  },
  "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.

Query Parameters

page
integer
default:1

Page number (starts from 1).

Required range: x >= 1
limit
integer
default:10

Results per page (max 100).

Required range: 1 <= x <= 100
sortBy
string

Field to sort by.

sortOrder
enum<string>
default:DESC

Sort direction.

Available options:
ASC,
DESC

Response

200 - application/json

Paginated list of schemas.

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