Skip to main content
GET
Get player
Returns one player. This endpoint needs the profiles:read scope. The playerKey is user:<user_id> for an identified player (the user ID that you send with identify), or anon:<anonymous_id> for an anonymous one. URL-encode it, for example user%3Aplayer_42. An anonymous ID that links to exactly one user returns that user, so player_key in the response is the canonical key. The optional date_from, date_to, and currency parameters set the range and the currency of the player row. The response is 404 NOT_FOUND when the project has no such player. A trait write shows here after a few seconds.

Authorizations

Authorization
string
header
required

An API key (mana_api_...) with scopes. It reads reports and writes player traits.

Path Parameters

projectId
string<uuid>
required

The project ID

playerKey
string
required

user:<user_id> (the user ID that you send with identify) or anon:<anonymous_id>. URL-encode it.

Required string length: 6 - 260

Query Parameters

date_from
string

First day (UTC) as YYYY-MM-DD. Default: 29 days before date_to.

Pattern: ^\d{4}-\d{2}-\d{2}$
date_to
string

Last day (UTC) as YYYY-MM-DD. Default: today. The range is at most 367 days.

Pattern: ^\d{4}-\d{2}-\d{2}$
currency
string

Report currency for revenue (ISO 4217). Default: USD.

Pattern: ^[A-Z]{3}$

Response

The player

player_key
string
required

The canonical player key: user:<user_id>, or anon:<anonymous_id>. An anonymous ID that links to exactly one user returns that user

kind
enum<string>
required
Available options:
identified,
anonymous
player
object | null
required

The Players list row in the date range: first and last seen, lifecycle stage, sessions, playtime_seconds, revenue, active days, devices, and lifetime first and last acquisition touch. Null when the player has no page or custom event in the range

anonymous_ids
object[]
required

The browsers and game installs of the player, with first and last seen over all time. shared 1 marks an ID that more than one user identified on

traits
object
required

The traits of the player: a user trait (identify, the traits API) wins, else the newest anonymous trait (traits events of the player's browsers and game installs)

trait_sources
object
required

Where each trait value came from

accounts
object[]
required

Store and community accounts linked to the player

products
object[]
required

What the verified Steam account owns of the project's apps

profile_first_seen_at
string | null
required
profile_updated_at
string | null
required