# Esports World Cup — 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.

> Get real-time tournament schedules, results, standings, and participant information from the Esports World Cup, plus search for specific games, events, and news coverage. Stay updated with the latest esports competition data, event details, and news articles all in one place.

**Category:** Sports | **Website:** [esportsworldcup.com/](https://esportsworldcup.com/) | **Docs:** [parse.bot/marketplace/a0be3d7e-2f43-45ba-a227-68c449b16614/esportsworldcup-com-api](https://parse.bot/marketplace/a0be3d7e-2f43-45ba-a227-68c449b16614/esportsworldcup-com-api)

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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/`
**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 event details

Retrieve detailed tournament information for a specific game/competition by its slug. Returns tournament stages with prize pools, contestants, team rosters, and scheduling info via the EWC GraphQL API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Game/competition slug from get_games_list (e.g. 'valorant', 'cs2', 'league-of-legends', 'dota2') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-event-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get event results

Retrieve match results and scores for a specific game/competition. Returns match series with results, scores, and rankings. Uses the same underlying data as get_event_schedule.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Game/competition slug from get_games_list (e.g. 'valorant', 'cs2', 'league-of-legends', 'dota2') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-event-results \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get event schedule

Retrieve the full match schedule and results for a specific game/competition. Returns match series with timestamps, maps, scores, and team contestants via the EWC GraphQL API.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Game/competition slug from get_games_list (e.g. 'valorant', 'cs2', 'league-of-legends', 'dota2') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-event-schedule \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get games list

Retrieve a list of all games/competitions featured at the Esports World Cup 2025 season. Each game has a slug and URL.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-games-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get homepage

Retrieve the main homepage content including featured game slugs and latest news article slugs. Featured games are extracted from competition links on the homepage, and news slugs from article links.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-homepage \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get news article

Retrieve details for a specific news article by its slug. Returns the article title and URL. Slugs are obtained from get_news_list or get_homepage latest_news.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Article slug from get_news_list or get_homepage latest_news (e.g. 'rostermania-recap', 'road-to-ewc-may-2026') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-news-article \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get news list

Retrieve a paginated list of news article slugs. Optionally filter by search keyword. Returns slugs that can be used with get_news_article to fetch full details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword to filter news articles. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-news-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```

### Get participants list

Retrieve all participants (teams and players) for a specific game/competition. Returns tournament stages with full contestant rosters including team names, player names, nationalities, and roles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Game/competition slug from get_games_list (e.g. 'valorant', 'cs2', 'league-of-legends', 'dota2') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-participants-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get standings

Retrieve standings and leaderboard data for a specific game/competition. Returns match series with contestant rankings, points, and results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Game/competition slug from get_games_list (e.g. 'valorant', 'cs2', 'league-of-legends', 'dota2') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/esports-world-cup/get-standings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Search

Search for news articles by keyword. Returns matching article slugs that can be used with get_news_article for full details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g. 'valorant', 'esports', 'recap') |

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

## Next steps

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