For the complete documentation index, see llms.txt. This page is also available as Markdown.

Account

Fetch custodian-mode client details.

get
/account

This endpoint returns the custodian-mode client details for authenticated users.

Authorizations
x-api-keystringRequired
Responses
200

The request was successful.

application/json
get/account
GET /account HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
  "customer": {
    "customerId": "text",
    "name": "text"
  },
  "paymentAccount": {
    "mainnet": "text",
    "testnet": "text"
  }
}
Deprecated

Fetch IdToken.

get
/account/idtoken

This endpoint returns IdToken as JWT with list of user roles inside

Authorizations
x-api-keystringRequired
Responses
200

The request was successful.

application/json
idTokenstringOptional
get/account/idtoken
GET /account/idtoken HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
  "idToken": "text"
}

Create an client for an authenticated user.

post
/account/create

This endpoint creates a client in the custodian-mode for an authenticated user

Authorizations
x-api-keystringRequired
Body
namestringOptional
primaryEmailstringRequired
Responses
201

The request was successful.

application/json
customerIdstringOptional
namestringOptional
emailstringOptional
descriptionstringOptional
createdAtstringOptional
updatedAtstringOptional
paymentProviderIdstringOptional
post/account/create
POST /account/create HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 37

"name='text'&primaryEmail='text'"
{
  "customerId": "text",
  "name": "text",
  "email": "text",
  "description": "text",
  "createdAt": "text",
  "updatedAt": "text",
  "paymentProviderId": "text"
}

Request cheqd testnet CHEQ tokens for a Studio payment account.

post
/account/faucet

Funds a cheqd testnet address, by default the customer's own payment account, or any valid cheqd address supplied. An address can hold at most FAUCET_ADDRESS_CAP_CHEQ, and a customer can request at most FAUCET_MONTHLY_LIMIT_CHEQ per calendar month (UTC) across all their addresses; both default to 100,000 CHEQ. Without an amount, FAUCET_DEFAULT_REQUEST_CHEQ (default 10,000 CHEQ) is sent, or less if the room under the address cap or the quota left is lower. Authentication is by a Studio user session (bearer token), an API key (x-api-key) or a machine-to-machine token (bearer token plus a customer-id header); whichever is used, the credential must carry the request:faucet:testnet scope. The response includes the remaining quota.

Authorizations
x-api-keystringRequired
Body
addressstringOptional

Optional cheqd testnet address to fund; it does not have to belong to the customer. Requests count against the calling customer's quota. Defaults to the authenticated customer's testnet account.

amountnumberOptional

Optional amount in CHEQ. If omitted, FAUCET_DEFAULT_REQUEST_CHEQ (default 10,000) is sent, or less if the room under the address cap or the monthly quota left is lower. Set it to ask for more; the response shows the amount sent.

Responses
200

The request was processed.

No content

post/account/faucet
POST /account/faucet HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "address": "text",
  "amount": 1
}

No content

Fetch Account Analytics.

get
/account/analytics

This endpoint returns analytics data for the account usage.

Authorizations
x-api-keystringRequired
Query parameters
networkstring · enumOptional

Filter DID by the network published.

Possible values:
Responses
200

The request was successful.

application/json
didsintegerOptional
credentialsintegerOptional
accreditationsintegerOptional
resourcesintegerOptional
get/account/analytics
GET /account/analytics HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
  "dids": 1,
  "credentials": 1,
  "accreditations": 1,
  "resources": 1
}

Fetch payment account balances.

get
/account/balances

Returns the on-chain balance of the authenticated customer's mainnet and testnet payment accounts, expressed in ncheq, CHEQ and USD. The CHEQ/USD rate is sourced from CoinGecko and cached; if it (or a network's RPC endpoint) is unavailable the response still returns 200 with the affected usd/rate/balance fields set to null. Also returns the testnet faucet cap and the customer's monthly faucet quota usage under faucet.

Authorizations
x-api-keystringRequired
Responses
200

The request was successful.

application/json
get/account/balances
GET /account/balances HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Accept: */*
{
  "mainnet": {
    "address": "cheqd1abcd...",
    "denom": "ncheq",
    "balance": {
      "ncheq": "1500000000000",
      "cheq": 1500
    },
    "usd": 3.03
  },
  "testnet": {
    "address": "cheqd1abcd...",
    "denom": "ncheq",
    "balance": {
      "ncheq": "1500000000000",
      "cheq": 1500
    },
    "usd": 3.03
  },
  "faucet": {
    "cap": {
      "cheq": 100000,
      "ncheq": "100000000000000"
    },
    "quota": {
      "period": "month",
      "limit": {
        "cheq": 10000,
        "ncheq": "10000000000000"
      },
      "used": {
        "cheq": 10000,
        "ncheq": "10000000000000"
      },
      "remaining": {
        "cheq": 10000,
        "ncheq": "10000000000000"
      },
      "resetsAt": "2026-01-01T00:00:00.000Z"
    }
  },
  "rate": {
    "cheqUsd": 0.00202,
    "source": "coingecko",
    "asOf": "2026-01-01T00:00:00.000Z"
  }
}

Last updated

Was this helpful?