Skip to main content

Create an account

ZAM uses a proof-of-work challenge to create accounts. No email or password required.
zam wallet create
Returns your wallet address, API key, and 12-word recovery phrase. The API key is saved automatically.

API key authentication

Pass your API key in the x-zam-api-key header:
curl https://api.zeroclick.am/v1/listings \
  -H "x-zam-api-key: zam_your_key_here"
API keys start with zam_ and carry scoped permissions. Your first key (created with your wallet) has all scopes. Create additional keys with narrower scopes for specific use cases.

Recover your account

If you lose your API key, recover your account with the 12-word recovery phrase. This revokes all existing keys and issues a new one.
zam wallet recover

Public endpoints

These endpoints require no authentication:
EndpointDescription
GET /v1/marketplace/listingsSearch published listings
GET /v1/marketplace/listings/{id}Get a published listing
GET /v1/marketplace/categoriesList categories
GET /v1/wallets/challengeGet a PoW challenge
GET /v1/zam-schemaGet the service contract JSON Schema

Scoped endpoints

All other endpoints require an API key with the appropriate scope. Requests with missing or insufficient scopes return 403 Forbidden.
ScopeGrants access to
listing:createPOST /v1/listings, POST /v1/listings/from-service
listing:readGET /v1/listings, GET /v1/listings/{id}
listing:updatePATCH /v1/listings/{id}
listing:deleteDELETE /v1/listings/{id}
provider:createPOST /v1/providers
provider:readGET /v1/providers, GET /v1/providers/{id}
provider:updatePATCH /v1/providers/{id}
provider:deleteDELETE /v1/providers/{id}
order:createPOST /v1/orders
order:readGET /v1/orders, GET /v1/orders/{id}
api_key:createPOST /v1/api-keys
api_key:readGET /v1/api-keys
api_key:updatePATCH /v1/api-keys/{id}
api_key:deleteDELETE /v1/api-keys/{id}

Error responses

StatusMeaning
401No API key provided, or key is invalid / expired
403Key is valid but lacks the required scope
429Rate limit exceeded (wallet creation endpoints)
{
  "error": "Forbidden",
  "message": "API key lacks required scope: order:create"
}