StubHub Events API

The Events API from StubHub — 7 operation(s) for events.

GitHub OpenAPI
Business capability
Event Ticketing AE-210.50

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /catalog/events List events in the catalog · List events #
Ask an LLM
“What events are in the StubHub catalog?”
“Can I get the full list of events?”
Tell an agent
List all events in the catalog.
Show every event in the StubHub catalog.
PUT /catalog/events Look up events by their IDs · List events by event ids #
Ask an LLM
“How do I fetch several events from the catalog by their IDs?”
“Can I resolve a batch of event IDs to catalog events?”
Tell an agent
Look up events by their IDs.
Resolve these event IDs into catalog events.
GET /catalog/categories/{categoryId}/events List events in a category · List events by category id #
Ask an LLM
“What events are in a particular category?”
“Can I list only the events under one category?”
Tell an agent
List events in category {categoryId}.
Show the events under category {categoryId}.
GET /catalog/events/external_mappings/{platform}/{externalEventId} Find a StubHub event from an external ID · Get an event on the StubHub platform using an identifier from an external… #
Ask an LLM
“How do I find the StubHub event for an event on another platform?”
“Can I map an external event ID to a StubHub event?”
Tell an agent
Find the StubHub event for {externalEventId} on {platform}.
Map external event {externalEventId} on {platform} to its StubHub event.
GET /catalog/events/{eventId} Get one event · Get an event #
Ask an LLM
“What are the details of a single event?”
“Can I fetch one event by its ID?”
Tell an agent
Get event {eventId}.
Show the details of event {eventId}.
GET /catalog/events/search Search events · Search events #
Ask an LLM
“How do I search the event catalog for concerts?”
“Can I search events by keyword?”
Tell an agent
Search the event catalog.
Find events matching my search.
GET /catalog/categories/{categoryId}/allevents List all events under a category · Get all events under a CategoryId #
Ask an LLM
“How do I get every event under a category, not just the first page?”
“Can I list all events in a category without pagination?”
Tell an agent
Get all events under category {categoryId}.
List every event in category {categoryId}.
POST /catalog/mapevent Map an external event to StubHub · Map request to StubHub Event, Venue and Category #
Ask an LLM
“How do I map an external event ID to a StubHub event, venue and category?”
“Can I resolve an external event to its StubHub equivalent?”
Tell an agent
Map this external event to a StubHub event, venue and category.
Resolve the external event ID into StubHub catalog data.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/stubhub:stubhub-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

stubhub-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StubHub Catalog Events API
  version: v2
  description: StubHub Catalog API — search and read the public catalog of events, categories, and venues.
  contact:
    name: StubHub API Support
    email: api.support@stubhub.com
    url: https://developer.stubhub.com/
  x-media-type: application/hal+json
servers:
- url: https://api.stubhub.net
  description: Production
- url: https://sandbox.api.stubhub.net
  description: Sandbox
security:
- oauth2: []
tags:
- name: Events
paths:
  /catalog/events:
    get:
      operationId: Events_GetEvents
      summary: List events
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      security:
      - oauth2:
        - read:events
    put:
      operationId: Events_GetEventsByEventIds
      summary: List events by event ids
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      security:
      - oauth2:
        - read:events
  /catalog/categories/{categoryId}/events:
    get:
      operationId: Events_GetEventsByCategoryId
      summary: List events by category id
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: categoryId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:events
  /catalog/events/external_mappings/{platform}/{externalEventId}:
    get:
      operationId: Events_GetEventByExternalEventId
      summary: Get an event on the StubHub platform using an identifier from an external…
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: platform
        in: path
        required: true
        schema:
          type: string
      - name: externalEventId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:events
  /catalog/events/{eventId}:
    get:
      operationId: Events_GetEvent
      summary: Get an event
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: eventId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:events
  /catalog/events/search:
    get:
      operationId: Events_SearchEvents
      summary: Search events
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      security:
      - oauth2:
        - read:events
  /catalog/categories/{categoryId}/allevents:
    get:
      operationId: Events_GetAllEventsByCategoryId
      summary: Get all events under a CategoryId
      tags:
      - Events
      responses:
        '200':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      parameters:
      - name: categoryId
        in: path
        required: true
        schema:
          type: string
      security:
      - oauth2:
        - read:events
  /catalog/mapevent:
    post:
      operationId: Events_MapEvent
      summary: Map request to StubHub Event, Venue and Category
      tags:
      - Events
      responses:
        '201':
          description: Success. Response is `application/hal+json`.
          content:
            application/hal+json: {}
        '400':
          description: Bad Request. Error `code` may be https_required, user_agent_required, invalid_request_body, or validation_failed.
          content:
            application/hal+json: {}
        '401':
          description: Unauthorized. The request is not authenticated.
          content:
            application/hal+json: {}
        '403':
          description: Forbidden. Error `code` may be insufficient_scope, invalid_seller_listing_action, create_listing_not_allowed, or invalid_delete.
          content:
            application/hal+json: {}
        '500':
          description: Internal Server Error (`internal_server_error`).
          content:
            application/hal+json: {}
      security:
      - oauth2:
        - write:requestedevents
components:
  securitySchemes:
    oauth2:
      type: oauth2
      description: OAuth2. All API requests must be authenticated.
      flows:
        clientCredentials:
          tokenUrl: https://account.stubhub.com/oauth2/token
          scopes:
            read:events: Read-only access to events on the StubHub platform.
        authorizationCode:
          authorizationUrl: https://account.stubhub.com/authorize
          tokenUrl: https://account.stubhub.com/oauth2/token
          refreshUrl: https://account.stubhub.com/oauth2/token
          scopes:
            read:events: Read-only access to events on the StubHub platform.
            read:payment: Read-only access to the user's payments.
            read:sales: Read access to the user's sales.
            write:sales: Write access to the user's sales (confirm and fulfill sales).
            read:sellerlistings: Read access to the user's listings.
            write:sellerlistings: Write access to the user's listings (create and update listings).
            read:webhooks: Read access to the user's webhooks.
            write:webhooks: Write access to the user's webhooks.
            write:requestedevents: Write access to the user's requested events.
x-provenance:
  method: harvested
  publisher: StubHub
  source: https://raw.githubusercontent.com/viagogo/stubhub-api-docs/HEAD/static/openapi/catalog.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)