StubHub Search
GET
Search StubHub events by keyword or by a StubHub search URL. The response is the first embedded page.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringRequired. Keyword, for example nba, or a StubHub search URL such as https://www.stubhub.com/secure/search/?q=nba. An event URL is rejected.
Examples:
nbapage?numberOptional. Only page 1 returns events. Example: 1. Page 2 and above return 404 because the search document has no further page.
Default
"1"Successful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/stubhub/search?query=string'Example Response
{ "results": [ { "id": "162387399", "url": "https://www.stubhub.com/harlem-globetrotters-marseille-tickets-3-31-2027/event/162387399/", "date": "Mar 31 2027", "name": "Harlem Globetrotters", "time": "7:00 PM", "year": "2027", "price": null, "country": "France", "currency": null, "start_at": null, "venue_city": "Marseille", "venue_name": "Palais des Sports de Marseille", "day_of_week": "Wed", "country_code": "FR", "price_display": null, "venue_location": "Marseille, France", "is_parking_event": false, "has_active_listings": true } ], "pagination": { "next": null, "page": 1, "per_page": 20, "total_pages": null, "total_results": 2171 }}