Skip to main content
GET
/
catalog
/
programs
Browse programs
curl --request GET \
  --url https://api.sandbox.mocachain.org/v1/catalog/programs
{
  "code": 80000000,
  "msg": "success",
  "data": {
    "current": 1,
    "pages": 3,
    "size": 10,
    "total": 24,
    "records": [
      {
        "programId": "prg_01",
        "name": "Age Gate",
        "description": "Verify user meets minimum age requirement",
        "verificationCount": 85,
        "credentialCount": 2,
        "createdAt": "2026-02-01T08:00: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.

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 programs.

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