# Shotgun — 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.

> Access data from shotgun.live.

**Category:** Entertainment | **Website:** [shotgun.live/en/cities/new-york/dance/2026-07-12](https://shotgun.live/en/cities/new-york/dance/2026-07-12) | **Docs:** [parse.bot/marketplace/699de5f2-8821-4bb2-b3a9-11da93e39275/shotgun-live-api](https://parse.bot/marketplace/699de5f2-8821-4bb2-b3a9-11da93e39275/shotgun-live-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-shotgun-live-api-699de5f2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_event_detail

Get full details for a single event by its slug, including description, venue address with coordinates, performers, ticket offers with prices, and schedule information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `event_slug` | string | Yes | Event slug identifier (e.g. 'tobehonest-the-summer-club'). Obtainable from get_events or search_events results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shotgun-live-api-699de5f2/get_event_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event_slug":"<string>"}'
```

### get_events

List upcoming music events for a city, optionally filtered by genre and start date. Results are paginated; page 0 is the default first page. Events include name, venue, date, price, and genre tags.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | string | Yes | City slug (e.g. 'new-york', 'paris', 'london'). Use slugs from the areas-by-country reference. |
| `date` | string | No | Start date filter in ISO format YYYY-MM-DD. Omit to show all upcoming events from today. |
| `genre` | string | No | Genre slug to filter events. Omit to show all genres. |
| `page` | integer | No | Page number for pagination, starting at 0. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shotgun-live-api-699de5f2/get_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<string>","date":"<string>","genre":"<string>","page":"<integer>"}'
```

### search_events

Full-text search across all events, organizers, and artists on Shotgun. Returns matching events with structured data including pricing, location, and genre tags, plus related organizers and artists.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query text (event name, artist, genre, venue, etc.). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shotgun-live-api-699de5f2/search_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
