---
title: Quickstart
description: Create an API key on steamsets.com and send your first request in a few minutes.
sidebar:
  icon: rocket
  order: 1
---

1. **Sign in to SteamSets**

    Go to [steamsets.com](https://steamsets.com) and sign in with your Steam account.

2. **Create a developer app**

    Open [Settings, API keys](https://steamsets.com/settings/api-keys) and create a developer app. SteamSets shows the API key one time only. Copy it and keep it in a secret store or an environment variable.

3. **Send a request**

    Put the key in the `Authorization` header and call an endpoint. This request gets the profile of an account by its SteamID64.

```bash cURL
export STEAMSETS_API_KEY="your-key"

curl https://api.steamsets.com/v1/account.getInfo \
  -H "Authorization: Bearer $STEAMSETS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": {"steamId64": "76561199176433616"}}'
```

```ts TypeScript
import { SteamSets } from '@steamsets/client-ts';

const steamsets = new SteamSets({ token: process.env.STEAMSETS_API_KEY });

const account = await steamsets.account.getInfo({
  id: { steamId64: '76561199176433616' }
});

console.log(account);
```

```python Python
import os
import requests

response = requests.post(
    "https://api.steamsets.com/v1/account.getInfo",
    headers={"Authorization": f"Bearer {os.environ['STEAMSETS_API_KEY']}"},
    json={"id": {"steamId64": "76561199176433616"}},
)
response.raise_for_status()
print(response.json())
```

## Find an account

Endpoints that take an account accept one of these identifiers:

| Field | Example | Description |
| --- | --- | --- |
| `id.steamId64` | `"76561199176433616"` | The 17-digit SteamID64, as a string. |
| `id.accountId` | `1216167888` | The 32-bit Steam account ID. |
| `vanity` | `{"type": "steam", "value": "webx"}` | The custom URL name of the Steam profile. |

## Next steps

**[Authentication](/authentication)**

Keep your key safe and rotate it.

**[Errors](/errors)**

Read the problem details the API returns.
