# 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-etix-com-api-ff3066dd/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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/parse-etix-com-api-ff3066dd/get_event_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_event_ticket_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_events_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_events_this_weekend \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_events_today \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_homepage_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_venue_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/get_venue_info \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-etix-com-api-ff3066dd/search_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
