Skip to main content
GET
https://punchplay.tv
/
api
/
public
/
v1
/
users
/
{username}
Get a public user profile payload
curl --request GET \
  --url https://punchplay.tv/api/public/v1/users/{username}
{
  "profile": {
    "avatarUrl": "<string>",
    "bio": "<string>",
    "displayName": "<string>",
    "donationCount": 123,
    "isDonor": true,
    "isOnline": true,
    "isSubscriber": true,
    "memberSince": "2023-11-07T05:31:56Z",
    "username": "<string>",
    "xp": 123
  },
  "stats": {
    "watched": 123,
    "topGenre": "<string>",
    "tv": {
      "totalMinutes": 123,
      "plays": 123,
      "unique": 123,
      "episodes": 123,
      "shows": 123
    },
    "movies": {
      "totalMinutes": 123,
      "plays": 123,
      "unique": 123
    },
    "genreCounts": {}
  },
  "recentWatchHistory": [
    {}
  ]
}

Path Parameters

username
string
required

Query Parameters

historyLimit
integer
default:8
Required range: 1 <= x <= 20

Response

Public user data.

version
enum<string>
required
Available options:
v1
profile
object
required
stats
object
required
recentWatchHistory
object[]
required