Activity

This endpoint is used for fetching the activity of a specific user based on a key.

POST/activity

Fetch activity

Returns the activity of a specified user.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found on our dashboard.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

Response

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

  • Name
    total_playtime
    Type
    integer
    Description

    The total playtime in seconds.

  • Name
    total_formatted
    Type
    string
    Description

    The total playtime in a formatted string.

  • Name
    average_playtime
    Type
    integer?
    Description

    The average playtime in seconds. Can be null if averages are disabled.

  • Name
    average_formatted
    Type
    string?
    Description

    The average playtime in a formatted string. Can be null if averages are disabled.

  • Name
    position
    Type
    integer
    Description

    The position of this user on the leaderboard.

Request

POST
/activity
curl -G https://papi.easypos.lol/activity \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123

Response

{
  "userId" (int),
  "total_playtime" (int),
  "total_formatted" (string),
  "average_playtime" (int?),
  "average_formatted" (string?),
  "position": (int)
}