# Etix — 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 for live events across venues and categories, discover what's playing today or this weekend, and check real-time ticket availability for concerts, shows, and other ticketed events. Get detailed event information and browse featured homepage listings to find and book tickets for your next outing.

**Category:** Entertainment | **Website:** [etix.com/](https://etix.com/) | **Docs:** [parse.bot/marketplace/ff3066dd-1c7d-4387-abff-c98671947ff0/etix-com-api](https://parse.bot/marketplace/ff3066dd-1c7d-4387-abff-c98671947ff0/etix-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/etix/`
**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

Fetch full details of a performance/event including ticket types, pricing, venue location, and scheduling. The performance_id can be found in search_events results as event_id for events with type PERFORMANCE. Returns ticket type information, venue location, and availability status.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `performance_id` | string | Yes | Numeric performance ID from etix.com (found as event_id in search_events results for events with type PERFORMANCE, or in URLs like /ticket/p/<performance_id>/...) |

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

### Get event ticket availability

Check ticket availability and pricing for a specific performance. Returns availability status and price breakdown. Uses the same performance_id as get_event_details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `performance_id` | string | Yes | Numeric performance ID from etix.com (found as event_id in search_events results for events with type PERFORMANCE, or in URLs like /ticket/p/<performance_id>/...) |

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

### Get events by category

Retrieve events filtered by category (music, sports, museum-arts, fairs-festivals, special-events).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Event category (e.g. music, sports) |

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

### Get events this weekend

Retrieve events happening this weekend.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/etix/get-events-this-weekend \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get events today

Retrieve events happening today.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/etix/get-events-today \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get homepage events

Retrieve featured/homepage events. This etix.com API operation is available through Parse.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/etix/get-homepage-events \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get venue events

Retrieve all upcoming events at a specific venue.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `venue_id` | string | Yes | Venue ID from etix.com URL |

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

### Get venue info

Retrieve detailed information about a specific venue including address, contact info, social media links, and branding. The venue_id can be found in search_events results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `venue_id` | string | Yes | Numeric venue ID from etix.com (found in search_events results or venue URLs like /ticket/v/<venue_id>/...) |

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

### Search events

Search for events, venues, and performers by keyword. Returns up to 5 matching events, 5 matching venues, and matching performers from the Etix suggest API. Results include both PERFORMANCE (single events) and EVENT_SERIES types. Each event includes a direct_sale_url for ticket purchase.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (artist name, event name, or venue name) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/etix/search-events \
  -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.