# Humanitix — 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 and discover events on Humanitix, viewing detailed information including dates, times, locations, descriptions, and host names. Filter by keyword, category, price, and date to find events that match your interests.

**Category:** Entertainment | **Website:** [humanitix.com/au](https://humanitix.com/au) | **Docs:** [parse.bot/marketplace/afae8a7e-b132-45b9-88ad-f4e5e864a791/humanitix-com-api](https://parse.bot/marketplace/afae8a7e-b132-45b9-88ad-f4e5e864a791/humanitix-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-humanitix-com-api-afae8a7e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_event_details

Fetch full details for a single event by its slug. Returns the event name, human-readable date, venue address, full rich-text description, host bio, canonical URL, and hero image URL. The slug is obtained from search_events results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Event slug from search_events results[*].slug (e.g. 'bitd2025-accord-fri'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-humanitix-com-api-afae8a7e/get_event_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### search_events

Full-text search over Humanitix events in Australian cities. Filters by category, date range, and price type. Returns paginated event summaries with name, date, location, host, pricing, and slug for drill-down. Each page returns up to 32 events; advance via the page param.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Event category filter. Accepted values: all, music, foodAndDrink, sports, arts. |
| `dates` | string | No | Date filter. Accepted values: all, today, thisweek, thisweekend, nextweek. |
| `limit` | integer | No | Maximum number of events to return per request. |
| `location` | string | No | Australian city name. Accepted values: sydney, melbourne, brisbane, adelaide, perth, canberra, hobart, darwin. |
| `page` | integer | No | Page number (0-indexed). |
| `price` | string | No | Price filter. Accepted values: all, free, paid. |
| `query` | string | No | Search keyword for events. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-humanitix-com-api-afae8a7e/search_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","dates":"<string>","limit":"<integer>","location":"<string>","page":"<integer>","price":"<string>","query":"<string>"}'
```
