APIs / Travel / StubHub

1 credit per call1 endpoint12 datapointsChecked working 6 Dec 2026

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.

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

#idstringnamestringurlurlstartstringstart_datestringstart_timestringis_date_confirmedbooleanis_time_confirmedbooleanis_tbdbooleancategorystringvenueobjectimageurl
1162324944Joe Lovanohttps://www.stubhub.com/joe-lovano-new-york-tickets-12-1-2026/event/162324944/2026-12-01T17:00:002026-12-0117:00truetruefalseconcerts{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
2161755467Kingdom of Giantshttps://www.stubhub.com/kingdom-of-giants-new-york-tickets-12-1-2026/event/161755467/2026-12-01T18:00:002026-12-0118:00truetruefalseconcerts{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
3162365617Kathy Zimmer, Silbin Sandovarhttps://www.stubhub.com/kathy-zimmer-new-york-tickets-12-1-2026/event/162365617/2026-12-01T18:00:002026-12-0118:00truetruefalseconcerts{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 itemGET /v1/stubhub/events-search?city=New+York&start_date=2027-01-05&end_date=2027-01-11&category=concerts

12 datapoints

Identity

  • idstring
  • namestring
  • categorystring

Contact

  • urlurl

Reputation

  • startstring
  • start_datestring
  • start_timestring
  • imageurl

Other

  • is_date_confirmedboolean
  • is_time_confirmedboolean
  • is_tbdboolean
  • venueobject

Playground

Run this API

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

EndpointRequired parametersReturnsCost
GET/v1/stubhub/events-search
none+8 optional
idnameurlstartstart_datestart_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.

TravelJSONRESTMCP

More travel APIs

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.