# Get games value leaderboard (/api-reference/steam/leaderboards/get-games-leaderboard)

`GET /v1/leaderboards/games`

Steam profiles ranked by what their game libraries are worth at the store's current prices. Only profiles looked up on Steambuff are ranked. Costs 1 credit per page. Every plan includes it.

```json
{
  "servers": [
    {
      "url": "https://api.steambuff.app"
    }
  ],
  "paths": {
    "/v1/leaderboards/games": {
      "get": {
        "tags": [
          "Leaderboards"
        ],
        "operationId": "get-games-leaderboard",
        "summary": "Get games value leaderboard",
        "description": "Steam profiles ranked by what their game libraries are worth at the store's current prices. Only profiles looked up on Steambuff are ranked.",
        "x-usage": {
          "credits": 1,
          "per": "page",
          "plan": "free",
          "planName": "Free"
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "pattern": "^[a-zA-Z]{2}$",
              "description": "Its profiles from this country alone, ranked among themselves",
              "example": "TR"
            },
            "required": false,
            "description": "Its profiles from this country alone, ranked among themselves",
            "name": "country",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "description": "Page to return, from 1",
              "example": 1
            },
            "required": false,
            "description": "Page to return, from 1",
            "name": "page",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^7656119\\d{10}$",
              "description": "A SteamID64: the page that holds that profile, in place of `page`, to show it among its neighbours. A 404 when it isn't on the board, or not from `country`",
              "example": "76561198074762801"
            },
            "required": false,
            "description": "A SteamID64: the page that holds that profile, in place of `page`, to show it among its neighbours. A 404 when it isn't on the board, or not from `country`",
            "name": "around",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 100,
              "description": "Profiles per page, up to 1000",
              "example": 100
            },
            "required": false,
            "description": "Profiles per page, up to 1000",
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "One page of the board, the highest value first",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "X-Credits-Limit": {
                "schema": {
                  "type": "integer",
                  "description": "The plan's monthly credits"
                },
                "required": true,
                "description": "The plan's monthly credits"
              },
              "X-Credits-Remaining": {
                "schema": {
                  "type": "integer",
                  "description": "Credits left in the current monthly window"
                },
                "required": true,
                "description": "Credits left in the current monthly window"
              },
              "X-Credits-Reset": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds until the credits reset"
                },
                "required": true,
                "description": "Seconds until the credits reset"
              },
              "X-Credits-Cost": {
                "schema": {
                  "type": "integer",
                  "description": "Credits this request cost; 0 when it didn't succeed"
                },
                "required": true,
                "description": "Credits this request cost; 0 when it didn't succeed"
              }
            },
            "content": {
              "application/json": {
                "example": {
                  "data": [
                    {
                      "steamId": "76561199100565457",
                      "personaName": "米糕米糕米♡",
                      "avatar": "https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg",
                      "steamLevel": 707,
                      "value": 950459,
                      "valuedAt": "2026-11-25T11:40:27.777Z",
                      "global": {
                        "rank": 1,
                        "total": 6841,
                        "top": 0.01,
                        "move": 0
                      },
                      "country": {
                        "code": "AU",
                        "rank": 1,
                        "total": 96,
                        "top": 1.04,
                        "move": 0
                      }
                    }
                  ],
                  "pagination": {
                    "page": 1,
                    "limit": 100,
                    "total": 6841,
                    "totalPages": 69
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/GamesLeaderboardEntry"
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "total": {
                          "type": "integer"
                        },
                        "totalPages": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "page",
                        "limit",
                        "total",
                        "totalPages"
                      ]
                    }
                  },
                  "required": [
                    "data",
                    "pagination"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing, invalid or revoked",
            "content": {
              "application/json": {
                "examples": {
                  "API_KEY_MISSING": {
                    "summary": "No API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_MISSING",
                      "message": "Send your API key in the x-api-key header or as Authorization: Bearer <key>.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "API_KEY_INVALID": {
                    "summary": "An invalid or revoked API key",
                    "value": {
                      "error": true,
                      "code": "API_KEY_INVALID",
                      "message": "The API key is invalid or has been revoked.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "`around` names a profile that isn't on the board, or not from `country`",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "NOT_FOUND",
                  "message": "That profile isn't on this board.",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "A parameter is invalid; `details` lists each failure",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "VALIDATION_ERROR",
                  "message": "Request validation failed",
                  "details": [
                    {
                      "path": "country",
                      "message": "Expected an ISO 3166-1 alpha-2 code"
                    }
                  ],
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests this minute, or this month's credits are used up",
            "headers": {
              "RateLimit-Policy": {
                "schema": {
                  "type": "string",
                  "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)",
                  "example": "\"minute\";q=60;w=60"
                },
                "required": true,
                "description": "The plan's requests per minute (IETF RateLimit-Policy: `q` requests in `w` seconds)"
              },
              "RateLimit": {
                "schema": {
                  "type": "string",
                  "description": "Requests left this minute (`r`) and seconds until it resets (`t`)",
                  "example": "\"minute\";r=59;t=42"
                },
                "required": true,
                "description": "Requests left this minute (`r`) and seconds until it resets (`t`)"
              },
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "description": "Seconds to wait before retrying"
                },
                "required": true,
                "description": "Seconds to wait before retrying"
              }
            },
            "content": {
              "application/json": {
                "examples": {
                  "RATE_LIMITED": {
                    "summary": "Too many requests this minute",
                    "value": {
                      "error": true,
                      "code": "RATE_LIMITED",
                      "message": "The Free plan allows 10 requests per minute.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "MONTHLY_QUOTA_EXCEEDED": {
                    "summary": "This month's credits are used up",
                    "value": {
                      "error": true,
                      "code": "MONTHLY_QUOTA_EXCEEDED",
                      "message": "The Free plan's 1,000 monthly credits are used up. They reset at 2026-12-01T00:00:00.000Z. A bigger plan has more: https://steambuff.app/api.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GamesLeaderboardEntry": {
        "type": "object",
        "properties": {
          "steamId": {
            "type": "string",
            "description": "SteamID64",
            "example": "76561198034202275"
          },
          "personaName": {
            "type": "string",
            "description": "Its Steam name when it was last looked up"
          },
          "avatar": {
            "type": [
              "string",
              "null"
            ],
            "description": "Its full-size Steam avatar"
          },
          "steamLevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Its Steam level",
            "example": 53
          },
          "value": {
            "type": "integer",
            "description": "Its value on the board as last read, integer USD cents"
          },
          "valuedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When `value` was read"
          },
          "global": {
            "$ref": "#/components/schemas/GlobalRank"
          },
          "country": {
            "$ref": "#/components/schemas/CountryRank"
          }
        },
        "required": [
          "steamId",
          "personaName",
          "avatar",
          "steamLevel",
          "value",
          "valuedAt",
          "global",
          "country"
        ]
      },
      "GlobalRank": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "integer",
            "description": "Its place: the profiles above it, plus one; ties share it",
            "example": 57
          },
          "total": {
            "type": "integer",
            "description": "The profiles ranked",
            "example": 9723
          },
          "top": {
            "type": "number",
            "description": "`rank` over `total`, percent to two places: 0.59 is the top 0.59%",
            "example": 0.59
          },
          "move": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Places it climbed over the past 30 days, negative when it fell; null without a rank from then",
            "example": 3
          }
        },
        "required": [
          "rank",
          "total",
          "top",
          "move"
        ],
        "description": "Its place among every profile on the board"
      },
      "CountryRank": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Its country, ISO 3166-1 alpha-2, as the profile states it",
            "example": "RU"
          },
          "rank": {
            "type": "integer",
            "description": "Its place: the profiles above it, plus one; ties share it",
            "example": 57
          },
          "total": {
            "type": "integer",
            "description": "The profiles ranked",
            "example": 9723
          },
          "top": {
            "type": "number",
            "description": "`rank` over `total`, percent to two places: 0.59 is the top 0.59%",
            "example": 0.59
          },
          "move": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Places it climbed over the past 30 days, negative when it fell; null without a rank from then",
            "example": 3
          }
        },
        "required": [
          "code",
          "rank",
          "total",
          "top",
          "move"
        ],
        "description": "Its place among the profiles from its country; null when it states none"
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "details": {},
          "requestId": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "code",
          "message"
        ]
      }
    }
  }
}
```