# 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. Each call is automatically billed to your wallet in USDC.

## Access

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

## 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/parse-esportsworldcup-com-api-a0be3d7e/get_event_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_event_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_event_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_games_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_homepage \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_news_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_news_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_participants_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/get_standings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-esportsworldcup-com-api-a0be3d7e/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
