# Los Angeles StubHub event extractor example

**Use case:** 

Collect StubHub Explore events near Los Angeles and retain only records currently marked with active listings.

## Input

```json
{
  "latitude": 34.0522,
  "longitude": -118.2437,
  "maxItems": 10,
  "categoryIds": [],
  "activeListingsOnly": true,
  "includeParkingEvents": false,
  "maxPages": 10
}
```

## Output

```json
{
  "eventId": {
    "label": "Event ID",
    "format": "integer"
  },
  "name": {
    "label": "Event",
    "format": "string"
  },
  "eventDate": {
    "label": "Event date",
    "format": "string"
  },
  "formattedTime": {
    "label": "Time",
    "format": "string"
  },
  "venueName": {
    "label": "Venue",
    "format": "string"
  },
  "venueLocation": {
    "label": "Location",
    "format": "string"
  },
  "formattedFromPrice": {
    "label": "From price",
    "format": "string"
  },
  "hasActiveListings": {
    "label": "Active listings",
    "format": "boolean"
  },
  "categoryId": {
    "label": "Category ID",
    "format": "integer"
  },
  "url": {
    "label": "StubHub URL",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [StubHub Events Discovery Scraper](https://apify.com/automation-lab/stubhub-events-discovery-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/stubhub-events-discovery-scraper) to learn more, explore other use cases, and run it yourself.