---
title: "Use when comparing two players. Two players side by side: identity, account, bans, FACEIT and shared entries of the public friend graph"
method: GET
path: "/compare/{id1}/{id2}"
---

# Use when comparing two players. Two players side by side: identity, account, bans, FACEIT and shared entries of the public friend graph

`GET /compare/{id1}/{id2}`

## Request

- Base URL: `https://steamgpt.net`
- URL: `https://steamgpt.net/compare/{id1}/{id2}`
- Auth: one of:
  - none
  - OAuth 2 (client credentials, token URL `https://steamgpt.net/oauth/token`, scopes: `rate-boost`)

## Path parameters

- `id1` string, required
- `id2` string, required

## Response `200`

Both summaries + shared friends

- Compare
  - `result` 'success'
  - `data` object
    - `a` object: full summary data of the first player
    - `b` object: full summary data of the second player
    - `shared_friends` object
      - `count` integer
      - `friends` object[]
        - `steamid64` string
        - `personaname` string, nullable

## Other responses

- `404`: Not found
- `429`: Rate limited, honor Retry-After

---

[API](https://skmtc.dev/steamgpt/apis/steamgpt-api.md) · [All operations](https://skmtc.dev/steamgpt/apis/steamgpt-api/llms.txt) · [OpenAPI document](https://skmtc.dev/steamgpt/apis/steamgpt-api/revisions/e104f6425018?raw)
