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

> Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.

**Category:** Entertainment | **Website:** [puntoticket.com/](https://puntoticket.com/) | **Docs:** [parse.bot/marketplace/22f2ca17-e94c-4827-95e0-e7f64295c55a/puntoticket-com-api](https://parse.bot/marketplace/22f2ca17-e94c-4827-95e0-e7f64295c55a/puntoticket-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-puntoticket-com-api-22f2ca17/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_events

Get a list of all active events on PuntoTicket.com. Returns event metadata including title, date, location, image, and permalink.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-puntoticket-com-api-22f2ca17/get_all_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_event_detail

Get detailed information for a specific event, including description, venue, date, and ticket pricing by sector. Some events may have an empty prices array if pricing is not yet published.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Event slug from the permalink path (e.g., 'museo-y-tour-monumental-2026'). Obtained from the permalink field of event listings. |

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

### get_events_by_category

Get events filtered by category. Attempts to filter by event tags matching the category; if no matches found, returns all active events. The upstream API does not support server-side category filtering.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | Yes | Category keyword to filter events by tag (e.g., musica, deportes, teatro, familia, especiales). If no events match the given tag, all events are returned. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-puntoticket-com-api-22f2ca17/get_events_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>"}'
```

### get_featured_events

Get featured events from PuntoTicket.com. Returns the full list of active events as the site does not expose a separate featured-only feed.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-puntoticket-com-api-22f2ca17/get_featured_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_events

Search for events by keyword. Performs client-side case-insensitive filtering against event title, location, and permalink. Returns matching events or an empty array if no matches found.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword to match against event title, location, or permalink slug. Case-insensitive substring match. |

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