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

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/ifsc-climbing/`
**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 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/credits/ifsc-climbing/get-athlete-profile \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/ifsc-climbing/get-event-calendar \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/ifsc-climbing/get-event-results \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/ifsc-climbing/get-news-articles \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/ifsc-climbing/get-rankings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/ifsc-climbing/search-site \
  -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.