# Fencing Ophardt — 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.

> Search fencing tournaments and view event details, attendee lists, and competition schedules from the Ophardt Team Sportevent platform. Quickly find upcoming events and see who is registered to compete.

**Category:** Sports | **Website:** [fencing.ophardt.online/](https://fencing.ophardt.online/) | **Docs:** [parse.bot/marketplace/e64589bc-3c63-4f7a-a6f2-e5b3a1f49bb3/fencing-ophardt-online-api](https://parse.bot/marketplace/e64589bc-3c63-4f7a-a6f2-e5b3a1f49bb3/fencing-ophardt-online-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/fencing-ophardt/`
**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 attendees

Get detailed attendee information for an event, categorized by competition/age group. Includes total counts and individual attendee details such as name, year of birth, club, seeding, and registration status. Each competition section lists all registered fencers. The event_id is obtainable from search_events results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | Yes | The unique numeric ID of the event, obtainable from search_events results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/fencing-ophardt/get-event-attendees \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>"}'
```

### Get event details

Get metadata and schedule details for a specific event, including dates, location, and competition schedule. Returns a key-value details object whose keys depend on the event's configured metadata (commonly includes dates, location, and competition names with their allowed status). The event_id is obtainable from search_events results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_id` | string | Yes | The unique numeric ID of the event, obtainable from search_events results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/fencing-ophardt/get-event-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"<string>"}'
```

### Search events

Search for fencing events on the calendar by nation and date range. Returns a list of matching events with their IDs, dates, locations, and titles. Results are not paginated; the full matching set is returned in one response. When no filters are provided, returns all upcoming events across all nations.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date_from` | string | No | Start date filter in YYYY-MM-DD format. Omitting applies no lower bound. |
| `date_to` | string | No | End date filter in YYYY-MM-DD format. Omitting applies no upper bound. |
| `nation` | string | No | Nation code to filter events (e.g. GER, FRA, USA). Omitting returns events from all nations. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/fencing-ophardt/search-events \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"date_from":"<string>","date_to":"<string>","nation":"<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.