GroundsocialDocs

API · Cosmos

GET /cosmos/users/{handle}

A Cosmos profile with element and collection counts.

RequestGET /v1/cosmos/users/{handle}
Operation idcosmos.user.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A Cosmos profile with element and collection counts.

Path parameters

NameTypeRequiredDescription
handlestringyesUsername, with or without @, or a profile URL. Example: cosmos.

Responses

StatusMeaningSchema
200The profile.CosmosUser
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The user, element or collection does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Cosmos is temporarily unavailable. Retryable; nothing was charged.Error

CosmosUser fields

FieldTypeDescription
idinteger
usernamestring
fullNamestring | null
biostring | null
avatarUrlstring | null
websiteUrlstring | null
isPremiumboolean | null
isVerifiedProfileboolean | null
publicElementsClusterobject | null
socialLinksobject | null
clusters_countinteger | nullPublic collections.

Errors use one shape everywhere; see Errors for every code and what to do.