# Rocketleague Tracker — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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.

> Retrieve Rocket League player profiles, historical season statistics, playlist rankings, and recent match session data from Tracker Network. Search for players across platforms and compare performance metrics, rank ratings, and progression across seasons.

**Category:** Sports | **Website:** [rocketleague.tracker.network/](https://rocketleague.tracker.network/) | **Docs:** [parse.bot/marketplace/8fa5144b-63d0-47d4-85ce-970501f93841/rocketleague-tracker-network-api](https://parse.bot/marketplace/8fa5144b-63d0-47d4-85ce-970501f93841/rocketleague-tracker-network-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/rocketleague-tracker/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get historical season data

Retrieve detailed player statistics and rankings for a specific previous season. Returns playlist segment data showing rank, rating, and performance in each playlist for the requested season. Available season numbers can be found in the get_player_profile response's availableSegments field.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | Yes | Platform identifier. Accepted values: epic, steam, xbox, psn. |
| `season` | integer | Yes | Season number to retrieve data for. Available seasons can be found in get_player_profile's availableSegments field. |
| `username` | string | Yes | Player username or platform-specific identifier. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/rocketleague-tracker/get-historical-season-data \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","season":"<integer>","username":"<string>"}'
```

### Get player profile

Retrieve a player's full profile including lifetime stats, current season playlist rankings, and best 2v2 MMR. The profile contains an overview segment with aggregate stats, per-playlist segments for the current season with rank/division/rating, and a list of available historical seasons.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | Yes | Platform identifier. Accepted values: epic, steam, xbox, psn. |
| `username` | string | Yes | Player username or platform-specific identifier. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/rocketleague-tracker/get-player-profile \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","username":"<string>"}'
```

### Get player sessions

Retrieve match results and performance metrics for a player's recent sessions. Each session contains individual match data with results, playlists, and rating changes. May return an empty items array when the player has no recent session data available.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | Yes | Platform identifier. Accepted values: epic, steam, xbox, psn. |
| `username` | string | Yes | Player username or platform-specific identifier. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/rocketleague-tracker/get-player-sessions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","username":"<string>"}'
```

### Search players

Search for players by username on a given platform. Returns a list of matching player handles with their platform identifiers. Useful for discovering exact usernames before calling profile or session endpoints.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `platform` | string | No | Platform to search on. Accepted values: epic, steam, xbox, psn. |
| `query` | string | Yes | Username to search for. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/rocketleague-tracker/search-players \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"platform":"<string>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://beta.paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://beta.paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://beta.paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://beta.paywithlocus.com/agent/index.md): every Locus agent page.