# Ifsc Climbing — 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.

> Track world rankings, search athlete profiles, and browse competition results and schedules across the international sport climbing circuit. Stay updated with the latest news and event information from the official IFSC competition calendar.

**Category:** Sports | **Website:** [ifsc-climbing.com/](https://ifsc-climbing.com/) | **Docs:** [parse.bot/marketplace/cc5deb62-00a8-4a47-bcad-ae88d7994bb4/ifsc-climbing-com-api](https://parse.bot/marketplace/cc5deb62-00a8-4a47-bcad-ae88d7994bb4/ifsc-climbing-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-ifsc-climbing-com-api-cc5deb62/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_athlete_profile

Get profile information and full results history for a specific athlete. Returns biographical data (name, country, height, age), podium counts by discipline, social links, and a complete competition history with per-event rank and discipline category.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `athlete_id` | integer | Yes | Numeric athlete ID (from search_site results or get_rankings ranking entries). |
| `slug` | string | Yes | Athlete URL slug (e.g. 'janja-garnbret'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ifsc-climbing-com-api-cc5deb62/get_athlete_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"athlete_id":"<integer>","slug":"<string>"}'
```

### get_event_calendar

Retrieve the list of competition events for the current or specified season. Returns event details including dates, locations, venue, and URL slug. Events are ordered chronologically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `season` | integer | No | Season year (e.g. 2025, 2026). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ifsc-climbing-com-api-cc5deb62/get_event_calendar \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"season":"<integer>"}'
```

### get_event_results

Retrieve detailed competition results for a specific event and discipline category. Returns athlete rankings with round-by-round scores and ascent details for each boulder/lead problem. Requires event_id (numeric), event_slug (URL path segment), and dcat_id (discipline category).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `dcat_id` | integer | Yes | Discipline category ID. |
| `event_id` | integer | Yes | Numeric event ID (from get_rankings score_breakdown or get_athlete_profile all_results). |
| `event_slug` | string | Yes | URL slug for the event (e.g. 'ifsc-world-cup-bern-2025'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ifsc-climbing-com-api-cc5deb62/get_event_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dcat_id":"<integer>","event_id":"<integer>","event_slug":"<string>"}'
```

### get_news_articles

Retrieve the latest news articles, highlights, and videos from the homepage. Returns items with title, slug, content date, tags, description, and video ID where applicable.

**Estimated cost:** Metered

_No parameters required._

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

### get_rankings

Retrieve athlete world rankings by discipline category ID. Returns ranked athletes with their score breakdowns across events. Each ranking entry includes the athlete's total score and per-event point contributions. Paginates as a single page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `dcat_id` | integer | No | Discipline category ID. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ifsc-climbing-com-api-cc5deb62/get_rankings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dcat_id":"<integer>"}'
```

### search_site

Search the site for athletes, events, news, photos, videos, and documents. Returns type-grouped results with counts per category. Each group contains a documents array with id, slug, title, and type-specific fields.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query string. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-ifsc-climbing-com-api-cc5deb62/search_site \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
