# Shazam — 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 for live concerts and music events happening near you by filtering results based on your location, preferred dates, and favorite genres using Shazam's comprehensive events map. Discover upcoming shows and performances tailored to your musical interests and schedule.

**Category:** Entertainment | **Website:** [www.shazam.com/events/map/today?boundingbox=40.66869%2C-73.98454%2C0.098%2C0.15043](https://www.shazam.com/events/map/today?boundingbox=40.66869%2C-73.98454%2C0.098%2C0.15043) | **Docs:** [parse.bot/marketplace/af984f6c-b57d-4ee4-8289-3740d4896102/shazam-com-api](https://parse.bot/marketplace/af984f6c-b57d-4ee4-8289-3740d4896102/shazam-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-shazam-com-api-af984f6c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_events

Search for live concerts and music events within a geographic bounding box. Returns up to 50 events with full details including artist, venue, time, and ticket links. Results include a local_genres summary showing genre counts in the area, useful for discovering what genre slugs to filter by. The bounding box format is center_lat,center_lng,lat_span,lng_span.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `boundingbox` | string | No | Geographic bounding box as 'center_lat,center_lng,lat_span,lng_span' (4 comma-separated numbers). Example: '40.66869,-73.98454,0.098,0.15043' covers Brooklyn, NY. |
| `date_filter` | string | No | Time range filter for events. |
| `genre` | string | No | Genre slug to filter events (e.g. 'dance-17', 'electronic-7', 'hip-hop/rap-18', 'alternative-20', 'rock-21', 'pop-14', 'r&b/soul-15', 'jazz-11', 'latino-12', 'metal-1153', 'punk-1006', 'indie-rock-1004', 'comedy-3', 'hip-hop-1073'). Format is 'genre-name-id'. Available genres vary by area and are returned in local_genres. |
| `require_venue` | boolean | No | When true, only return events that have both venue_name and venue_address populated, filtering out events with missing venue information. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shazam-com-api-af984f6c/search_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"boundingbox":"<string>","date_filter":"<string>","genre":"<string>","require_venue":"<boolean>"}'
```
