# List games (/api-reference/steam/profiles/list-profile-games)

`GET /v1/profiles/{steamId}/games`

A Steam account's games, each with its playtime, store price, sale, achievements, release and reviews. Costs 2 credits per page. Needs the Starter plan or above.

```json
{
  "servers": [
    {
      "url": "https://api.steambuff.app"
    }
  ],
  "paths": {
    "/v1/profiles/{steamId}/games": {
      "get": {
        "tags": [
          "Profiles"
        ],
        "operationId": "list-profile-games",
        "summary": "List games",
        "description": "A Steam account's games, each with its playtime, store price, sale, achievements, release and reviews.",
        "x-usage": {
          "credits": 2,
          "per": "page",
          "plan": "starter",
          "planName": "Starter"
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "A SteamID64, a Steam Community profile URL or a custom URL name",
              "example": "76561198074762801"
            },
            "required": true,
            "description": "A SteamID64, a Steam Community profile URL or a custom URL name",
            "name": "steamId",
            "in": "path",
            "example": "{steamId}"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "playtime",
                "price",
                "name",
                "released"
              ],
              "default": "playtime",
              "description": "`price` the regular store price, a game the store no longer sells last; `released` the release day"
            },
            "required": false,
            "description": "`price` the regular store price, a game the store no longer sells last; `released` the release day",
            "name": "sort",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "desc"
            },
            "required": false,
            "name": "order",
            "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": "integer",
              "minimum": 1,
              "maximum": 1000,
              "default": 100,
              "description": "Games per page, up to 1000",
              "example": 100
            },
            "required": false,
            "description": "Games per page, up to 1000",
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "One page of games",
            "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": [
                    {
                      "appId": 2807960,
                      "name": "Battlefield™ 6",
                      "image": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2807960/d7ae078e0a543a97ff5a5d72165999535b0b1cdc/capsule_231x87.jpg?t=1794834044",
                      "playtimeMinutes": 742,
                      "isFree": false,
                      "price": 6999,
                      "discount": {
                        "percent": 67,
                        "price": 2309,
                        "endsAt": "2026-12-03T18:00:00.000Z"
                      },
                      "achievements": {
                        "achieved": 12,
                        "total": 46
                      },
                      "releaseDate": "2025-10-10",
                      "reviews": {
                        "percent": 64,
                        "count": 168432,
                        "score": 6,
                        "label": "Mostly Positive"
                      }
                    }
                  ],
                  "pagination": {
                    "page": 1,
                    "limit": 100,
                    "total": 444,
                    "totalPages": 5
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ProfileGame"
                      }
                    },
                    "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"
                }
              }
            }
          },
          "403": {
            "description": "The owner keeps their game details private, or the plan does not include this endpoint",
            "content": {
              "application/json": {
                "examples": {
                  "GAMES_PRIVATE": {
                    "summary": "The owner keeps their game details private",
                    "value": {
                      "error": true,
                      "code": "GAMES_PRIVATE",
                      "message": "This profile's game details are private. Its owner can make them public in Steam's privacy settings.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  },
                  "PLAN_UPGRADE_REQUIRED": {
                    "summary": "The plan does not include this endpoint",
                    "value": {
                      "error": true,
                      "code": "PLAN_UPGRADE_REQUIRED",
                      "message": "The Free plan does not include the Library API, which starts at the Starter plan.",
                      "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "No Steam account has that id",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "NOT_FOUND",
                  "message": "No Steam account has that id.",
                  "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": "sort",
                      "message": "Invalid option: expected one of \"playtime\"|\"price\"|\"name\"|\"released\""
                    }
                  ],
                  "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"
                }
              }
            }
          },
          "503": {
            "description": "Steam didn't answer, turned the read away (`STEAM_RATE_LIMITED`) or has no key set here",
            "content": {
              "application/json": {
                "example": {
                  "error": true,
                  "code": "STEAM_UNAVAILABLE",
                  "message": "Steam is unavailable right now (HTTP 502).",
                  "requestId": "3f2b8c1e-7a4d-4e9b-9c6f-1d2e3a4b5c6d"
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProfileGame": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "integer",
            "description": "Steam's app id",
            "example": 730
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string",
            "description": "The store's 231×87 capsule"
          },
          "playtimeMinutes": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Lifetime; null when the owner keeps their playtime private"
          },
          "isFree": {
            "type": "boolean",
            "description": "Free to play on the store"
          },
          "price": {
            "type": [
              "integer",
              "null"
            ],
            "description": "The regular US store price, integer USD cents; 0 when free, null when the store doesn't sell it any more"
          },
          "discount": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "percent": {
                "type": "integer",
                "description": "1–100"
              },
              "price": {
                "type": "integer",
                "description": "The sale price, integer USD cents"
              },
              "endsAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "description": "Null when Steam doesn't say"
              }
            },
            "required": [
              "percent",
              "price",
              "endsAt"
            ],
            "description": "The store's sale now; null when there's none"
          },
          "achievements": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "achieved": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              }
            },
            "required": [
              "achieved",
              "total"
            ],
            "description": "The owner's progress; null for a game without achievements"
          },
          "releaseDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "YYYY-MM-DD, on Steam"
          },
          "reviews": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "percent": {
                "type": "integer",
                "description": "Share of positive reviews, 0–100"
              },
              "count": {
                "type": "integer"
              },
              "score": {
                "type": "integer",
                "description": "Steam's review score, 1–9"
              },
              "label": {
                "type": "string",
                "example": "Very Positive"
              }
            },
            "required": [
              "percent",
              "count",
              "score",
              "label"
            ],
            "description": "Steam's reviews; null when it has none"
          }
        },
        "required": [
          "appId",
          "name",
          "image",
          "playtimeMinutes",
          "isFree",
          "price",
          "discount",
          "achievements",
          "releaseDate",
          "reviews"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "details": {},
          "requestId": {
            "type": "string"
          }
        },
        "required": [
          "error",
          "code",
          "message"
        ]
      }
    }
  }
}
```