# Worldsnowboardtour — 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.

> Access World Snowboarding rankings, athlete profiles, and competition results across all disciplines. Browse the event calendar, retrieve detailed schedules and outcomes, and explore rider statistics from the professional snowboarding circuit.

**Category:** Sports | **Website:** [worldsnowboardtour.com/](https://worldsnowboardtour.com/) | **Docs:** [parse.bot/marketplace/ac9b374b-7c60-4e75-9178-098613145b18/worldsnowboardtour-com-api](https://parse.bot/marketplace/ac9b374b-7c60-4e75-9178-098613145b18/worldsnowboardtour-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-worldsnowboardtour-com-api-ac9b374b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_event_details

Retrieve full details for a specific competition event including its individual competitions/stops and optional event statistics. Requires an event_id from get_events_schedule.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | integer | Yes | Event ID from get_events_schedule results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_event_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<integer>"}'
```

### get_event_results

Retrieve detailed competition results for a specific event competition/stop, including athlete scores, positions, and ranking points earned. Requires a competition_id from get_event_details competitions array.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `competition_id` | integer | Yes | Competition/Stop ID from get_event_details competitions array. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_event_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"competition_id":"<integer>"}'
```

### get_events_schedule

Retrieve the global event schedule with optional filters for discipline, country, and date range. Returns paginated results ordered by date descending. Paginates via integer page counter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date_from` | string | No | Start date filter in YYYY-MM-DD format. |
| `date_to` | string | No | End date filter in YYYY-MM-DD format. |
| `discipline` | integer | No | Discipline ID filter. |
| `nation` | string | No | Country code filter (e.g. USA, CAN, JPN, AUT, SUI). |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_events_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date_from":"<string>","date_to":"<string>","discipline":"<integer>","nation":"<string>","page":"<integer>"}'
```

### get_news_list

Retrieve a list of news articles from the World Snowboarding website. Returns up to 10 WordPress posts including title, content, publication date, and link.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_news_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_points_list

Retrieve the World Snowboarding Points List (WSPL) rankings. Returns paginated ranked athletes for a given discipline and gender. Each result includes rank, total points, and per-event score breakdowns. Paginates via integer page counter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `discipline` | integer | No | Discipline filter. |
| `gender` | integer | No | Gender filter. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_points_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"discipline":"<integer>","gender":"<integer>","page":"<integer>"}'
```

### get_rankings_by_discipline

Retrieve current top rankings for a specific discipline, split by gender (Men and Women). Convenience endpoint returning the top N riders from both genders in a single call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `discipline` | integer | No | Discipline filter. |
| `limit` | integer | No | Number of top riders to return per gender. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_rankings_by_discipline \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"discipline":"<integer>","limit":"<integer>"}'
```

### get_rider_profile

Retrieve a detailed athlete/rider profile including career statistics and recent competition results. Requires a rider_id obtainable from get_points_list or get_riders_list. Career stats include competition starts, wins, podiums, average finish position, and best run score. Recent results list events with per-competition scores.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `rider_id` | integer | Yes | Athlete ID from get_points_list or get_riders_list results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_rider_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rider_id":"<integer>"}'
```

### get_riders_list

Retrieve a paginated list of all registered riders/athletes. Each entry includes basic profile information, country, gender, and disciplines. Paginates via integer page counter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-worldsnowboardtour-com-api-ac9b374b/get_riders_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```
