# HLL Records — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve detailed combat statistics and player profiles from Hell Let Loose matches through HLLRecords.com. Track player performance metrics, find specific players, and access comprehensive battle records to analyze gameplay data and competitive standings.

**Category:** Sports | **Website:** [hllrecords.com/](https://hllrecords.com/) | **Docs:** [parse.bot/marketplace/4ab2bdc3-6eb3-4ba9-8d4a-f9e79c68a586/hllrecords-com-api](https://parse.bot/marketplace/4ab2bdc3-6eb3-4ba9-8d4a-f9e79c68a586/hllrecords-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-hllrecords-com-api-4ab2bdc3/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_player_profile

Get detailed player profile including combat statistics, kill/death ratios, ELO rating, level, known names, playstyle data, and radar chart metrics (KPM, KDR, Duel strength, Combat score, Support score, Defense, Offense, DPM). The player_id can be obtained from the search_players endpoint's external_id field.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `period` | string | No | Time period filter. Accepts: 365d, 180d, 90d, 30d, 2025. Omitted returns lifetime stats. |
| `player_id` | string | Yes | Player external ID (Steam ID or hash) from search_players results (e.g. '76561198127178458'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hllrecords-com-api-4ab2bdc3/get_player_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period":"<string>","player_id":"<string>"}'
```

### search_players

Search for Hell Let Loose players by username. Returns a list of matching players with their external IDs, names, last seen timestamps, and avatar URLs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Player username or partial username to search for (e.g. 'soldier', 'sniper'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-hllrecords-com-api-4ab2bdc3/search_players \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
