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

Response

OK

The response is of type object.