# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/humanitix/`
**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 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/credits/humanitix/get-event-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/humanitix/search-events \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","dates":"<string>","limit":"<integer>","location":"<string>","page":"<integer>","price":"<string>","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.