---
title: "StubHub API: event search as JSON | Perceptlayer"
description: "StubHub API for event search by keyword or by city and dates, with theatre, sports and concerts categories, as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/stubhub
---

[APIs](https://perceptlayer.com/apis) / [Travel](https://perceptlayer.com/verticals/travel) / StubHub

1 credit per call 1 endpoint 12 datapoints 

# StubHub API

StubHub API for event search by keyword or by city and dates, with theatre, sports and concerts categories, as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

StubHub

GET /v1/stubhub/events-search?city=New+York&start\_date=2027-01-05&end\_date=2027-01-11&category=concerts 

```
{
  "success": true,
  "data": {
    "results": [
      {
        "id": "162324944",
        "name": "Joe Lovano",
        "url": "https://www.stubhub.com/joe-lovano-new-york-tickets-12-1-2026/event/162324944/",
        "start": "2026-12-01T17:00:00",
        "start_date": "2026-12-01",
        "start_time": "17:00",
        "is_date_confirmed": true,
        "is_time_confirmed": true,
        "is_tbd": false,
        "category": "concerts",
        "venue": {
          "id": "36493",
          "name": "Birdland Jazz Club at Birdland - Complex",
          "city": "New York",
          "location": "New York, NY, USA"
        },
        "image": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/q_auto:low,f_auto,c_fill,g_auto,w_280,h_170,dpr_2.0/categories/3/SHConcert-Fallback2"
      },
      {
        "id": "161755467",
        "name": "Kingdom of Giants",
        "url": "https://www.stubhub.com/kingdom-of-giants-new-york-tickets-12-1-2026/event/161755467/",
        "start": "2026-12-01T18:00:00",
        "start_date": "2026-12-01",
        "start_time": "18:00",
        "is_date_confirmed": true,
        "is_time_confirmed": true,
        "is_tbd": false,
        "category": "concerts",
        "venue": {
          "id": "3674",
          "name": "Gramercy Theatre",
          "city": "New York",
          "location": "New York, NY, USA"
        },
        "image": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/q_auto:low,f_auto,c_fill,g_auto,w_280,h_170,dpr_2.0/categories/54669/6481157"
      },
      {
        "id": "162365617",
        "name": "Kathy Zimmer, Silbin Sandovar",
        "url": "https://www.stubhub.com/kathy-zimmer-new-york-tickets-12-1-2026/event/162365617/",
        "start": "2026-12-01T18:00:00",
        "start_date": "2026-12-01",
        "start_time": "18:00",
        "is_date_confirmed": true,
        "is_time_confirmed": true,
        "is_tbd": false,
        "category": "concerts",
        "venue": {
          "id": "3716",
          "name": "Mercury Lounge (New York)",
          "city": "New York",
          "location": "New York, NY, USA"
        },
        "image": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/q_auto:low,f_auto,c_fill,g_auto,w_280,h_170,dpr_2.0/categories/419652/6273716"
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 20,
      "total_results": 245,
      "has_more": true
    }
  },
  "meta": {
    "endpoint_family": "events_search",
    "request_id": "req_05c5d5470ac341acae531b6f1371f98a",
    "credits_charged": 1,
    "credits_remaining": 1743
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `events-search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | name string | url url | start string | start\_date string | start\_time string | is\_date\_confirmed boolean | is\_time\_confirmed boolean | is\_tbd boolean | category string | venue object | image url |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 162324944 | Joe Lovano | https://www.stubhub.com/joe-lovano-new-york-tickets-12-1-2026/event/162324944/ | 2026-12-01T17:00:00 | 2026-12-01 | 17:00 | true | true | false | concerts | {4 fields} | https://media.stubhubstatic.com/stubhub-v2-catalog/d\_defaultLogo.jpg/q\_auto:low,f\_auto,c\_fill,g\_auto,w\_280,h\_170,dpr\_2.0/categories/3/SHConcert-Fallback2 |
| 2 | 161755467 | Kingdom of Giants | https://www.stubhub.com/kingdom-of-giants-new-york-tickets-12-1-2026/event/161755467/ | 2026-12-01T18:00:00 | 2026-12-01 | 18:00 | true | true | false | concerts | {4 fields} | https://media.stubhubstatic.com/stubhub-v2-catalog/d\_defaultLogo.jpg/q\_auto:low,f\_auto,c\_fill,g\_auto,w\_280,h\_170,dpr\_2.0/categories/54669/6481157 |
| 3 | 162365617 | Kathy Zimmer, Silbin Sandovar | https://www.stubhub.com/kathy-zimmer-new-york-tickets-12-1-2026/event/162365617/ | 2026-12-01T18:00:00 | 2026-12-01 | 18:00 | true | true | false | concerts | {4 fields} | https://media.stubhubstatic.com/stubhub-v2-catalog/d\_defaultLogo.jpg/q\_auto:low,f\_auto,c\_fill,g\_auto,w\_280,h\_170,dpr\_2.0/categories/419652/6273716 |

Recorded from our API · 3 items shown · 12 datapoints per item GET /v1/stubhub/events-search?city=New+York&start\_date=2027-01-05&end\_date=2027-01-11&category=concerts

12 datapoints

### Identity

-   id string
-   name string
-   category string

### Contact

-   url url

### Reputation

-   start string
-   start\_date string
-   start\_time string
-   image url

### Other

-   is\_date\_confirmed boolean
-   is\_time\_confirmed boolean
-   is\_tbd boolean
-   venue object

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/stubhub/events-search?city=New+York&start_date=2027-01-05&end_date=2027-01-11&category=concerts" \
  -H "X-API-Key: $API_KEY"
```

StubHub · 1 endpoint

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/stubhub/events-search`](https://perceptlayer.com/apis/stubhub/events-search) | none +8 optional | `id` `name` `url` `start` `start_date` `start_time` +6 more | 1 credit |

Overview

## About the StubHub API

## What you can get

The StubHub API returns StubHub event data as JSON through 1 endpoint.

-   **Event search:** `events-search` searches by keyword ( `q`, first page only) or by place ( `city`, or `lat` and `lng`), not both. A place search takes `start_date` and `end_date` (YYYY-MM-DD), `category` (theatre, sports or concerts) and `page`.

The recorded `events-search` for New York from 2026-12-01 to 2026-12-07 with `category=concerts` returns `results`, each with `id`, `name`, `url`, `start`, `start_date`, `start_time`, `is_date_confirmed`, `is_time_confirmed`, `is_tbd`, `category`, `venue` (with `id`, `name`, `city` and `location`) and `image`. It also returns `pagination` with `page`, `page_size`, `total_results` and `has_more`.

## How a call works

Search a city: `GET /v1/stubhub/events-search?city=New York&start_date=2026-12-01&end_date=2026-12-07&category=concerts` with your key in the `X-API-Key` header. Each result's `url` links to the event on StubHub, and `venue.id` groups events by venue. Check `has_more` before asking for the next `page`. Every successful call costs 1 credit; failed calls cost nothing.

Travel JSON REST MCP

### More travel APIs

[ADS-B History](https://perceptlayer.com/apis/adsb-history) [Agoda](https://perceptlayer.com/apis/agoda) [Airbnb](https://perceptlayer.com/apis/airbnb) [Airportia](https://perceptlayer.com/apis/airportia) [Bandsintown](https://perceptlayer.com/apis/bandsintown) [Booking.com](https://perceptlayer.com/apis/booking) [Economy Car Rentals](https://perceptlayer.com/apis/economy-car-rentals) [Eventbrite](https://perceptlayer.com/apis/eventbrite) [Eventim](https://perceptlayer.com/apis/eventim) [Expedia](https://perceptlayer.com/apis/expedia) [FlightAware](https://perceptlayer.com/apis/flightaware) [Flightradar24](https://perceptlayer.com/apis/flightradar24)

Use cases

### Build a list of concerts, sports or theatre events in a city for a date range

`Use the StubHub API to build a list of concerts, sports or theatre events in a city for a date range` 

### Find events by name with a keyword search

`Use the StubHub API to find events by name with a keyword search` 

### Flag events whose date or time isn't confirmed yet with \`is\_date\_confirmed\`, \`is\_time\_confirmed\` and \`is\_tbd\`

`` Use the StubHub API to flag events whose date or time isn't confirmed yet with `is_date_confirmed`, `is_time_confirmed` and `is_tbd` `` 

### Count events per venue in a city

`Use the StubHub API to count events per venue in a city` 

FAQ

## Questions

**How much does the StubHub API cost?**

Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Can I page through keyword results?**

No. A keyword search returns the first page only; \`page\` works with place searches.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official StubHub API?**

No. Perceptlayer is an independent service and is not affiliated with StubHub. It returns StubHub data as JSON with a Perceptlayer key, so there is no StubHub developer account, app review or partner approval to get first. It only reads data: if StubHub has an official API and you need to act on your own StubHub account, such as posting, managing orders or reading private data, use that one.

**Should I build a StubHub scraper instead?**

You can, but a StubHub scraper is code you maintain: page changes break it, requests get blocked, and StubHub's terms govern how you collect data. The StubHub API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the StubHub API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
