# Leetify CS2 Player Stats API

> Counter-Strike 2 player profiles and recent matches from Leetify: ratings, ranks and aim stats

- Vendor: `leetifycs2playerstatsapi` · version 1.0 · category Sports · tags leetify api, cs2 stats api, counter strike api, csgo player stats api, faceit elo api, esports stats api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/leetifycs2playerstatsapi
- This document: https://apiclay.com/docs/leetifycs2playerstatsapi.md
- OpenAPI 3.1: https://apiclay.com/api/leetifycs2playerstatsapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `leetifycs2playerstatsapi`
- Updated: 2026-11-18

## About

## Leetify CS2 Player Stats API

Leetify's public Counter-Strike 2 data for a Steam account: the profile with Leetify rating, Premier, FACEIT and competitive ranks, win rate, aim, positioning and utility scores, and the player's recent matches with map, scores and per-player stats.

Data comes from **leetify.com** (https://leetify.com). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/profile?steam64_id=76561198034202275`, then `/matches?steam64_id=76561198034202275`.

### Routes

#### GET `/profile` - Player profile
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| steam64_id | query | string | yes | 17-digit Steam64 id. |

Returns: `name`, `privacy_mode`, `winrate`, `total_matches`, `ranks` (`leetify`, `premier`, `faceit`, `faceit_elo`, `competitive[]`), `rating` (aim, positioning, utility, clutch), `stats`, `recent_teammates`.

#### GET `/matches` - Recent matches
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| steam64_id | query | string | yes | 17-digit Steam64 id. |

Returns: array of matches with `finished_at`, `data_source`, `map_name`, `team_scores[]`, `stats[]` per player.

### Caveats

- Only players with a public Leetify profile are returned. `/matches` can be large (about 200 KB).
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by leetify.com.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /profile — Player profile
- Gateway: `GET https://api.apiclay.com/v1/api/leetifycs2playerstatsapi/profile`
- Public query params: `steam64_id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /matches — Recent matches
- Gateway: `GET https://api.apiclay.com/v1/api/leetifycs2playerstatsapi/matches`
- Public query params: `steam64_id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/leetifycs2playerstatsapi/profile?steam64_id=<steam64_id>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
