Skip to Content
Xeonr Developer Docs
API SpecificationProfiles

Get a profile

POST
/xeonr.profiles.v2.ProfileService/GetProfile

Returns a person's public profile header and one overview digest per product that has something to show for them, looked up by handle (the person's Xeonr username, without the leading @).

Profiles are public by default: a person who has never visited Xeonr Profiles still has a page, rendered from their Xeonr account. Their own overrides (display name, bio, visibility, hidden widgets) apply on top. Unknown handles and non-public profiles both answer NOT_FOUND, so existence is never disclosed. The profile's owner, if they present a bearer token, sees their own profile whatever its visibility, and is_owner and visibility are filled in for them only.

Product digests are fetched live and in parallel. A product that does not answer is left out of products and digests; one that answers from a stale cache copy is marked stale.

No authentication is required.

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

handle?string

The handle to look up, without the leading '@'.

Match^[A-Za-z0-9][A-Za-z0-9._-]{0,31}$
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://profiles-api.xeonr.io/xeonr.profiles.v2.ProfileService/GetProfile" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "profile": "map[admin:false automation:false bio:Building things at Xeonr. displayName:Luke handle:luke memberSince:2024-03-14T09:30:00Z]",
  "digests": [
    "map[blocks:[map[id:stats text:map[body:42.6 hours watched in the last 12 months.] title:Activity widgetKey:xmb.stats]] product:xmb stale:false]"
  ],
  "isOwner": "false",
  "visibility": "VISIBILITY_PUBLIC",
  "products": [
    "map[accent:#8B5CF6 homeUrl:https://xmb.gg name:XMB slug:xmb]"
  ]
}