# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/worldsnowboardtour/`
**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 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/credits/worldsnowboardtour/get-event-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-event-results \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-events-schedule \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-news-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-points-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-rankings-by-discipline \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-rider-profile \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/worldsnowboardtour/get-riders-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>"}'
```

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