---
title: "👤 Retrieve a Steam User's Profile with Flexible Options"
method: GET
path: "/steam/api/profile"
tags: ["Profile"]
---

# 👤 Retrieve a Steam User's Profile with Flexible Options

`GET /steam/api/profile`

## Request

- Base URL: `https://www.steamwebapi.com`
- URL: `https://www.steamwebapi.com/steam/api/profile`
- Auth: API key in query parameter `key`

Baseurl: https://www.steamwebapi.com/steam/api/profile?id=760000022222&key=YOUR_API_KEY

    💬 **What this endpoint does:**
    - Fetches a Steam user profile with flexible options.
    - Supports full or minimal data retrieval based on your needs.

    🛠️ **Features:**
    - Use the `id` parameter to identify the profile. Supports SteamID, username, or profile URL (SteamID recommended for faster and more accurate results).
    - Retrieve real-time data by setting `no_cache` to `1` (slower response).
    - Adjust the data depth using the `state` parameter (`minimal` or `full`).
    - Optimize responses with the `force_from_db_if_exists` parameter to fetch profiles from the database if available.

    🌐 **How to use:**
    - Provide a valid `id` parameter (SteamID, profile URL, or username).
    - Use optional parameters to customize data retrieval (e.g., `state=full` for additional profile details).

## Query parameters

- `format` string
- `pretty` '0' | '1'

## Response `200`

Profile retrieved successfully.

- unknown

## Other responses

- `400`: Missing required "id" parameter.
- `404`: Profile not found. The "id" is valid but no such Steam profile exists (Steam returned a "could not be found" response).
- `503`: Steam upstream temporarily unavailable (rate limit, timeout, captcha, proxy issue). The profile may exist — retry after the Retry-After interval. Not cached.

---

[API](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation.md) · [All operations](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/steamwebapi/apis/steamwebapi-com-third-party-steam-market-api-documentation/revisions/f9a4109cbda6?raw)
