StubHub API endpoint
Use Crawlora's StubHub Explore API to extract supported public StubHub data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/stubhub/exploreDiscovers events near a location within a date range, optionally bounded by ticket price and by category. A zero count with an empty events list is a valid no-results response. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| lat | number | Yes | Latitude, -90 to 90 | ||
| lon | number | Yes | Longitude, -180 to 180 | ||
| from | string | No | now | Start of the date range: RFC3339 or a bare date (e.g. 2026-09-15). Defaults to now. | |
| to | string | No | 14 days after from | End of the date range, same accepted formats as from. Defaults to 14 days after from. | |
| price_min | integer | No | Minimum ticket price filter | ||
| price_max | integer | No | Maximum ticket price filter | ||
| top_level_category_id | integer | No | Filter to one top-level vertical Allowed values: 0, 1, 2, 3 | ||
| category_id | integer | No | Filter to one category/subcategory id. stubhub-categories discovers ids with a currently-listed event nearby, but only a small subset -- known-good ids: NBA 6453, MLB 6456, NFL 5084, NHL 4871, MLS 5062, Tennis 1012, Golf 1009 (Sports); Pop/Rock 260542, Alternative Music 1059, Classical 1014, R&B 1027, Rap and Hip-Hop Music 1026 (Concerts); Comedy 1015, Musicals 1017, Plays 358959, Family 2294 (Theater); Festival Tickets 1023 (works alone, no top_level_category_id needed) | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/stubhub/explore?top_level_category_id=0" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- Prices are not returned by this endpoint -- it is a discovery/browse feed, not a listing search. Use `stubhub_categories` for category-level minimum prices. - `has_active_listings` reflects StubHub's own flag for whether any tickets are currently for sale; some events (e.g. a just-announced show) may appear with it `false`. Example response: ```json { "code": 200, "msg": "OK", "data": { "lat": 34.0549076, "lon": -118.242643, "from": "2026-09-15T00:00:00Z", "to": "2026-09-29T00:00:00Z", "count": 1, "source_url": "https://www.stubhub.com/explore?method=getExploreEvents&from=1789430400000&lat=MzQuMDU0OTA3Ng==&lon=LTExOC4yNDI2NDM=&to=1790640000000", "fetched_at": "2026-09-15T04:00:00Z", "events": [ { "event_id": 161341819, "name": "SoFi Stadium Tours", "url": "https://www.stubhub.com/sofi-stadium-tour-inglewood-tickets-9-15-2026/event/161341819/", "image_url": "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/1/SHTheater-Fallback1", "category_id": 150041313, "venue_name": "SoFi Stadium", "location": "Inglewood, CA, USA", "day_of_week": "Tue", "date": "Sep 15", "time": "10:00 AM", "is_date_confirmed": true, "is_time_confirmed": true, "has_active_listings": false } ] } } ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"lat": 34.0549076,
"lon": -118.242643,
"from": "2026-09-15T00:00:00Z",
"to": "2026-09-29T00:00:00Z",
"count": 1,
"source_url": "https://www.stubhub.com/explore?method=getExploreEvents&from=1789430400000&lat=MzQuMDU0OTA3Ng==&lon=LTExOC4yNDI2NDM=&to=1790640000000",
"fetched_at": "2026-09-15T04:00:00Z",
"events": [
{
"event_id": 161341819,
"name": "SoFi Stadium Tours",
"url": "https://www.stubhub.com/sofi-stadium-tour-inglewood-tickets-9-15-2026/event/161341819/",
"image_url": "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/1/SHTheater-Fallback1",
"category_id": 150041313,
"venue_name": "SoFi Stadium",
"location": "Inglewood, CA, USA",
"day_of_week": "Tue",
"date": "Sep 15",
"time": "10:00 AM",
"is_date_confirmed": true,
"is_time_confirmed": true,
"has_active_listings": false
}
]
}
}Request schema
No body schema
Response schema
#/definitions/stubhub.exploreResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | stubhub.ExploreResponse | No | ||||
| data.count | integer | No | 20 | |||
| data.events | array | No | ||||
| data.events[].category_id | integer | No | 5084 | |||
| data.events[].date | string | No | Sep 15 | |||
| data.events[].day_of_week | string | No | Tue | |||
| data.events[].event_id | integer | No | 161341819 | |||
| data.events[].has_active_listings | boolean | No | ||||
| data.events[].image_url | string | No | ||||
| data.events[].is_date_confirmed | boolean | No | ||||
| data.events[].is_time_confirmed | boolean | No | ||||
| data.events[].location | string | No | Inglewood, CA, USA | |||
| data.events[].name | string | No | Taylor Swift | |||
| data.events[].time | string | No | 10:00 AM | |||
| data.events[].url | string | No | ||||
| data.events[].venue_name | string | No | SoFi Stadium | |||
| data.fetched_at | string | No | ||||
| data.from | string | No | ||||
| data.lat | number | No | ||||
| data.lon | number | No | ||||
| data.source_url | string | No | ||||
| data.to | string | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/stubhub/explore?top_level_category_id=0" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms