v4

latestOpenAPI 3.1.02026-07-3196251302.5 KB
account

Get account data points for charts

post/v1/account.getDataPoints

Request body

$schemastring uri

A URL to the JSON Schema for this object.

Example request

{
  "$schema": "https://api.steamsets.com/schemas/AccountSearch.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

xpobject required

Example response

{
  "$schema": "https://api.steamsets.com/schemas/V1AccountGetDataPointsResponseBody.json",
  "mostXp": [
    {
      "accountInfo": {
        "completionTime": "2023-01-01T00:00:00Z",
        "level": 123456,
        "xp": 123456
      }
    }
  ],
  "playtime": [
    {
      "appId": 730,
      "image": "someHash.idk",
      "name": "CS2",
      "playtime": 15
    }
  ],
  "scarcity": [
    {
      "accountInfo": {
        "completionTime": "2023-01-01T00:00:00Z",
        "level": 123456,
        "xp": 123456
      }
    }
  ]
}