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

> Discover and search live events, exhibitions, and experiences happening in cities worldwide, filtering by categories to find concerts, shows, expos, and more that match your interests. Get detailed information about any event including schedules, descriptions, and venue details to plan your next outing.

**Category:** Entertainment | **Website:** [feverup.com/](https://feverup.com/) | **Docs:** [parse.bot/marketplace/77487283-3010-45a2-9fac-a20c42a2b690/feverup-com-api](https://parse.bot/marketplace/77487283-3010-45a2-9fac-a20c42a2b690/feverup-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/feverup/`
**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 category events

Returns events filtered by category slug for a given city. Same response shape as search_events. Paginates via an integer page cursor.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Category slug to filter by (e.g. 'candlelight-concerts', 'exhibitions', 'immersive-experiences'). |
| `city_code` | string | No | City code from list_cities endpoint (e.g. 'NYC', 'LAX', 'LON', 'PAR'). |
| `page` | integer | No | Page number for pagination (zero-based). Managed automatically by the SDK. |

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

### Get city events

Returns popular events for a given city ordered by popularity. Same response shape as search_events. Paginates via an integer page cursor.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city_code` | string | No | City code from list_cities endpoint (e.g. 'NYC', 'LAX', 'LON', 'PAR'). |
| `page` | integer | No | Page number for pagination (zero-based). Managed automatically by the SDK. |

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

### Get event detail

Returns full details of a single event by its numeric plan ID, including title, description, images, venue information, rating, pricing, and date range. The plan_id is the numeric id field from any event listing endpoint.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `plan_id` | string | Yes | Numeric event/plan ID from search results (e.g. '385958', '165091'). |

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

### Get exhibition expos

Returns exhibition and expo events combining a keyword search for 'expo' with the exhibitions category filter. Same response shape as search_events. Paginates via an integer page cursor.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city_code` | string | No | City code from list_cities endpoint (e.g. 'NYC', 'LAX', 'LON', 'PAR'). |
| `page` | integer | No | Page number for pagination (zero-based). Managed automatically by the SDK. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/feverup/get-exhibition-expos \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"city_code":"<string>","page":"<integer>"}'
```

### List cities

Returns all supported Fever cities with their codes, names, slugs, and metadata. The full city list is returned in a single response with no pagination. Each city's city_code can be used to scope event queries.

**Estimated cost:** Metered

_No parameters required._

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

### Search events

Full-text search over events and experiences within a city. Returns paginated results ordered by relevance. Each result includes pricing, ratings, venue, and upcoming session times. Paginates via an integer page cursor returned as next_page (null signals the last page).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city_code` | string | No | City code from list_cities endpoint (e.g. 'NYC', 'LAX', 'LON', 'PAR'). |
| `page` | integer | No | Page number for pagination (zero-based). Managed automatically by the SDK. |
| `query` | string | Yes | Search keyword (e.g. 'concert', 'art', 'museum'). |

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