Skip to main content
POST
/
v1
/
account.getDataPoints
Get account data points for charts
curl --request POST \
  --url https://api.steamsets.com/v1/account.getDataPoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": {
    "accountId": 1,
    "steamId64": "<string>"
  },
  "vanity": {
    "type": "steam",
    "value": "<string>"
  }
}
'
{
  "mostXp": [
    {
      "appId": 1,
      "appImage": "<string>",
      "appName": "<string>",
      "badgeId": "<string>",
      "badgeImage": "<string>",
      "baseLevel": 1,
      "baseXp": 1,
      "firstCompletion": "2023-11-07T05:31:56Z",
      "highestLevel": 123,
      "isEvent": true,
      "isFoil": true,
      "isSale": true,
      "lastCompletion": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "price": 123,
      "scarcity": 1,
      "steamId": 1,
      "accountInfo": {
        "completionTime": "2023-11-07T05:31:56Z",
        "level": 1,
        "xp": 1
      }
    }
  ],
  "playtime": [
    {
      "appId": 1,
      "image": "<string>",
      "name": "<string>",
      "playtime": 1
    }
  ],
  "scarcity": [
    {
      "appId": 1,
      "appImage": "<string>",
      "appName": "<string>",
      "badgeId": "<string>",
      "badgeImage": "<string>",
      "baseLevel": 1,
      "baseXp": 1,
      "firstCompletion": "2023-11-07T05:31:56Z",
      "highestLevel": 123,
      "isEvent": true,
      "isFoil": true,
      "isSale": true,
      "lastCompletion": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "price": 123,
      "scarcity": 1,
      "steamId": 1,
      "accountInfo": {
        "completionTime": "2023-11-07T05:31:56Z",
        "level": 1,
        "xp": 1
      }
    }
  ],
  "xp": {},
  "$schema": "<string>"
}
This endpoint supports API key authentication for external integrations

API Access

This endpoint can be accessed using:
  • API Keys: For external applications and integrations
  • User Sessions: For web application access
See our API documentation for authentication details.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
object
vanity
object

Response

OK

mostXp
object[] | null
required
playtime
object[] | null
required
scarcity
object[] | null
required
xp
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.