# StubHub New York events scraper example

**Use case:** 

Extract public StubHub event schedules, venues, URLs, category IDs, and availability flags near New York City.

## Input

```json
{
  "latitude": 40.7128,
  "longitude": -74.006,
  "maxItems": 20,
  "categoryIds": [],
  "activeListingsOnly": false,
  "includeParkingEvents": false,
  "maxPages": 5
}
```

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