GET
/
v1-alpha1
/
projects
/
{projectId}
/
usage
curl --request GET \
  --url https://staging.crossmint.com/api/v1-alpha1/projects/{projectId}/usage \
  --header 'X-API-KEY: <api-key>'
{
  "data": {
    "dimension": "<string>",
    "usage": {
      "month": "<string>",
      "activeWallets": 123
    }
  }
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Path Parameters

projectId
string
default: defaultrequired

You can find your project ID in the Crossmint console.

Query Parameters

dimension
enum<string>
default: monthly_active_walletsrequired

The dimension you want to query, for example monthly_active_wallets.

Available options:
monthly_active_wallets
startDate
string
required

The startDate you want to query in YYYY-MM format, for example 2023-11 for November 2023.

endDate
string

The endDate you want to query in YYYY-MM format, for example 2023-12 for December 2023.

Response

200 - application/json
data
object