Activity

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

POST/activity/data

Data

Returns the activity of a specified user.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found in the in-game script.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

Response

  • Name
    success
    Type
    boolean
    Description

    Whether the data was successfully fetched.

  • Name
    error
    Type
    string?
    Description

    Returns an error message if the request failed.

  • Name
    data
    Type
    object?
    Description
  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

  • Name
    playtime
    Type
    object
    Description
  • Name
    formatted
    Type
    object
    Description
  • Name
    total
    Type
    string
    Description

    The total playtime formatted.

  • Name
    month
    Type
    string
    Description

    The monthly playtime formatted.

  • Name
    week
    Type
    string
    Description

    The weekly playtime formatted.

  • Name
    total
    Type
    integer
    Description

    The total playtime in seconds.

  • Name
    month
    Type
    integer
    Description

    The monthly playtime in seconds.

  • Name
    week
    Type
    integer
    Description

    The weekly playtime in seconds.

  • Name
    position
    Type
    integer
    Description

    The position of this user on the leaderboard.

  • Name
    playtime
    Type
    object
    Description
  • Name
    total
    Type
    integer
    Description

    The total messages sent.

  • Name
    month
    Type
    integer
    Description

    The monthly messages sent.

  • Name
    week
    Type
    integer
    Description

    The weekly messages sent.

  • Name
    position
    Type
    integer
    Description

    The position of this user on the leaderboard.

Request

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

Response

{
  "success": (boolean),
  "error": (string?),
  "data": {
    "userId": (int),
    "inGame": (boolean),
    "playtime": {
      "formatted": {
        "total": (string),
        "month": (string),
        "week": (string),
      },
      "total": (int),
      "month": (int),
      "week": (int),
      "position": (int?),
    },
    "messages": {
      "total": (int),
      "month": (int),
      "week": (int),
      "position": (int?),
    },
  }
}
POST/activity/image

Image

Returns the activity of a specified user.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found in the in-game script.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user.

Response

Image returned as PNG.

Request

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

Response

Image returned as PNG.