StubHub Catalog API (1.0.0.75)
Search categories
Get matching category given the query string.
Authorizations:
query Parameters
q | string or null The query text to be used to match categories. |
Responses
Response Schema: application/octet-stream
Response samples
- 401
- 403
- 404
- 500
{- "code": "string",
- "message": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
List events
Lists all events on the StubHub platform. Use this endpoint to sync the entire StubHub event catalog with your application.
Authorizations:
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
min_resource_version | integer or null <int64> |
country_code | string Filters results to only include events located in the specified country. |
latitude | number or null <double> When provided with longitude and distance filters events returned to ones within the specified distance of the lat/long. |
longitude | number or null <double> When provided with latitude and distance filters events returned to ones within the specified distance of the lat/long. |
max_distance_in_meters | integer or null <int32> When provided with latitude and longitude filters events returned to ones within the specified distance of the lat/long. |
genre_id | integer or null <int32> Filters results to only include events for the specified genre id. |
exclude_parking_passes | boolean or null Filters results to remove parking passes |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
List events by event ids.
List a specified set of events on the StubHub platform. Note that the eventID being passed can already be merged with another event. And in this case, details of the new event will be returned, if a different eventId is returned then it means that the event has been merged with the returned event. Also inside _embedded field of the response, a mapping between the original eventId and new eventId will be provided.
Authorizations:
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
min_resource_version | integer or null <int64> |
country_code | string Filters results to only include events located in the specified country. |
latitude | number or null <double> When provided with longitude and distance filters events returned to ones within the specified distance of the lat/long. |
longitude | number or null <double> When provided with latitude and distance filters events returned to ones within the specified distance of the lat/long. |
max_distance_in_meters | integer or null <int32> When provided with latitude and longitude filters events returned to ones within the specified distance of the lat/long. |
genre_id | integer or null <int32> Filters results to only include events for the specified genre id. |
exclude_parking_passes | boolean or null Filters results to remove parking passes |
Request Body schema: application/json
event_ids | Array of integers <int32> [ items <int32 > ] The StubHub event identifiers of the events to be retrieved. |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
Request samples
- Payload
{- "event_ids": [
- 0
]
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
List events by category id.
List set of events filtered by category id on the StubHub platform.
Authorizations:
path Parameters
categoryId required | integer <int32> |
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
min_resource_version | integer or null <int64> |
country_code | string Filters results to only include events located in the specified country. |
latitude | number or null <double> When provided with longitude and distance filters events returned to ones within the specified distance of the lat/long. |
longitude | number or null <double> When provided with latitude and distance filters events returned to ones within the specified distance of the lat/long. |
max_distance_in_meters | integer or null <int32> When provided with latitude and longitude filters events returned to ones within the specified distance of the lat/long. |
genre_id | integer or null <int32> Filters results to only include events for the specified genre id. |
exclude_parking_passes | boolean or null Filters results to remove parking passes |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
Get an event on the StubHub platform using an identifier from an external platform.
Authorizations:
path Parameters
platform required | string or null The name of the external platform. Can be |
externalEventId required | integer <int32> The event identifier from the external platform. |
Responses
Response Schema: application/hal+json
id | integer <int32> The event identifier. |
name | string The name of the event. |
start_date | string <date-time> The date when the event starts. |
end_date | string or null <date-time> The date when the event ends. |
on_sale_date | string or null <date-time> The date when tickets for the event will go onsale. |
date_confirmed | boolean True if the event start and end date have been confirmed; Otherwise, false. |
time_confirmed | boolean True if the event start and end time have been confirmed; Otherwise, false. |
type | string The type of the event. Can be |
Money (object) The minimum ticket price of the event. | |
status | string The status of the event. Can be |
(EventLinks (object or null)) | |
(EventEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
}
}
Get an event
Note that the eventID being passed can already be merged with another event. And in this case, details of the new event will be returned, if a different eventId is returned then it means that the event has been merged with the returned event. Also inside _embedded field of the response, a mapping between the original eventId and new eventId will be provided.
Authorizations:
path Parameters
eventId required | integer <int32> The event identifier |
Responses
Response Schema: application/hal+json
id | integer <int32> The event identifier. |
name | string The name of the event. |
start_date | string <date-time> The date when the event starts. |
end_date | string or null <date-time> The date when the event ends. |
on_sale_date | string or null <date-time> The date when tickets for the event will go onsale. |
date_confirmed | boolean True if the event start and end date have been confirmed; Otherwise, false. |
time_confirmed | boolean True if the event start and end time have been confirmed; Otherwise, false. |
type | string The type of the event. Can be |
Money (object) The minimum ticket price of the event. | |
status | string The status of the event. Can be |
(EventLinks (object or null)) | |
(EventEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
}
}
Search events
Search for events on the StubHub platform. Use this endpoint to search the entire StubHub event catalog with your application.
Authorizations:
query Parameters
q | string or null The query text to be used to match events. |
dateLocal | string or null <date-time> The specific date of the event, this is optional |
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
min_resource_version | integer or null <int64> |
country_code | string Filters results to only include events located in the specified country. |
latitude | number or null <double> When provided with longitude and distance filters events returned to ones within the specified distance of the lat/long. |
longitude | number or null <double> When provided with latitude and distance filters events returned to ones within the specified distance of the lat/long. |
max_distance_in_meters | integer or null <int32> When provided with latitude and longitude filters events returned to ones within the specified distance of the lat/long. |
genre_id | integer or null <int32> Filters results to only include events for the specified genre id. |
exclude_parking_passes | boolean or null Filters results to remove parking passes |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
Get all events under a CategoryId
Finds all CategoryIds under the parents, and finds all events under all of them- de-duped by storing in a HashSet.
Authorizations:
path Parameters
categoryId required | integer <int32> CategoryId for which we want all events |
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
min_resource_version | integer or null <int64> |
country_code | string Filters results to only include events located in the specified country. |
latitude | number or null <double> When provided with longitude and distance filters events returned to ones within the specified distance of the lat/long. |
longitude | number or null <double> When provided with latitude and distance filters events returned to ones within the specified distance of the lat/long. |
max_distance_in_meters | integer or null <int32> When provided with latitude and longitude filters events returned to ones within the specified distance of the lat/long. |
genre_id | integer or null <int32> Filters results to only include events for the specified genre id. |
exclude_parking_passes | boolean or null Filters results to remove parking passes |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
Map request to StubHub Event, Venue and Category
Finds mapped Event, Venue and Category information, if available.
Authorizations:
Request Body schema: application/json
Request metadata for which we want all mapped information
event_name | string |
local_date | string <date-time> |
venue_name | string |
venue_state | string |
venue_city | string |
venue_country | string |
category_name | string or null |
Responses
Response Schema: application/hal+json
(Event (object or null)) | |
(Venue (object or null)) | |
(Category (object or null)) |
Request samples
- Payload
{- "event_name": "string",
- "local_date": "2019-08-24T14:15:22Z",
- "venue_name": "string",
- "venue_state": "string",
- "venue_city": "string",
- "venue_country": "string",
- "category_name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "EventResource": {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
}
}, - "VenueResource": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}, - "CategoryResource": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "category:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
List venues
Lists all venues on the StubHub platform. Use this endpoint to sync the entire StubHub Venue catalog with your application.
Authorizations:
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
updated_since | string <date-time> Filters the response to only return items that have been updated since the given timestamp |
sort | string Determines the ordering of items. A comma-separated string containing |
country_code | string Filters results to only include venues located in the specified country. |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(VenuesLinks (object or null)) | |
(VenuesEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
]
}
}
Get a venue
Authorizations:
path Parameters
venueId required | integer <int32> The venue identifier |
Responses
Response Schema: application/hal+json
id | integer <int32> The venue identifier. |
name | string The name of the venue. |
city | string The name of the city where the venue is located. |
state_province | string The name of the State or Province where the venue is located. |
postal_code | string The postal code for the venue. |
latitude | number or null <double> The latitude for the venue. |
longitude | number or null <double> The longitude for the venue. |
(VenueLinks (object or null)) | |
(VenueEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
Returned for monetary values, such as ticket prices, fees charged and tax amounts.
amount | number or null <decimal> The decimal amount of the money. |
currency_code | string The ISO 4217 currency code that the monetary value is represented in. |
display | string A user-friendly string representing the monetary value. |
{- "amount": 0,
- "currency_code": "string",
- "display": "string"
}
An event on the StubHub platform.
id | integer <int32> The event identifier. |
name | string The name of the event. |
start_date | string <date-time> The date when the event starts. |
end_date | string or null <date-time> The date when the event ends. |
on_sale_date | string or null <date-time> The date when tickets for the event will go onsale. |
date_confirmed | boolean True if the event start and end date have been confirmed; Otherwise, false. |
time_confirmed | boolean True if the event start and end time have been confirmed; Otherwise, false. |
type | string The type of the event. Can be |
Money (object) The minimum ticket price of the event. | |
status | string The status of the event. Can be |
(EventLinks (object or null)) | |
(EventEmbeddedResources (object or null)) |
{- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
}
}
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(EventsLinks (object or null)) | |
(EventsEmbeddedResources (object or null)) |
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": null,
- "platform_name": null,
- "_links": null
}
], - "merged_categories": [
- {
- "id": null
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": null
}
}
]
}
}
}
}
]
}
}
(Event (object or null)) | |
(Venue (object or null)) | |
(Category (object or null)) |
{- "EventResource": {
- "id": 0,
- "name": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "on_sale_date": "2019-08-24T14:15:22Z",
- "date_confirmed": true,
- "time_confirmed": true,
- "type": "string",
- "min_ticket_price": {
- "amount": 0,
- "currency_code": "string",
- "display": "string"
}, - "status": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "event:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "categories": [
- {
- "id": 0,
- "name": "string",
- "role": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}
], - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "genre": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
], - "merged_categories": [
- {
- "id": 0
}
]
}
}, - "merged_events": [
- {
- "id": 0
}
], - "venue": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
}
}, - "VenueResource": {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}, - "CategoryResource": {
- "id": 0,
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "category:webpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
An venue on the StubHub platform.
id | integer <int32> The venue identifier. |
name | string The name of the venue. |
city | string The name of the city where the venue is located. |
state_province | string The name of the State or Province where the venue is located. |
postal_code | string The postal code for the venue. |
latitude | number or null <double> The latitude for the venue. |
longitude | number or null <double> The longitude for the venue. |
(VenueLinks (object or null)) | |
(VenueEmbeddedResources (object or null)) |
{- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(VenuesLinks (object or null)) | |
(VenuesEmbeddedResources (object or null)) |
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "deleted_items": [
- {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
], - "items": [
- {
- "id": 0,
- "name": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "latitude": 0,
- "longitude": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}, - "external_mappings": [
- {
- "id": "string",
- "platform_name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
]
}
}
]
}
}