StubHub API endpoint
Use Crawlora's StubHub Trending Events 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/trending-eventsLists a paginated global feed of StubHub's currently-trending individual events (name, date, venue, canonical URL), optionally filtered to one top-level category vertical. Distinct from stubhub-trending, which rotates featured performers/teams rather than individual events. 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 |
|---|---|---|---|---|---|
| top_level_category_id | integer | No | Filter to one top-level vertical Allowed values: 0, 1, 2, 3 | ||
| page | integer | No | One-based result page Minimum: 1. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/stubhub/trending-events?top_level_category_id=0&page=1" \ -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 -- the upstream feed's own price field is always unpopulated for an anonymous caller. Use `stubhub_categories` for category-level minimum prices, or `stubhub_explore`/`stubhub_category_events` for per-event pricing. - `page_size` reflects StubHub's own fixed page size (currently 20) and is not caller-controlled. - This feed is StubHub's own trending/editorial selection and changes between calls even with identical parameters -- do not expect the same event to appear on repeat calls. Example response: ```json { "code": 200, "msg": "OK", "data": { "top_level_category_id": 3, "page": 1, "page_size": 20, "total_count": 200, "count": 20, "source_url": "https://www.stubhub.com/?method=TrendingEventsLocale&categoryId=3&maxRows=20&page=0", "fetched_at": "2026-09-15T21:30:00Z", "events": [ { "event_id": 160790802, "name": "Celine Dion", "url": "https://www.stubhub.com/celine-dion-nanterre-tickets-9-19-2026/event/160790802/", "image_url": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/categories/4892/6576812", "category_id": 4892, "venue_name": "Plenitude Arena (formerly Paris La Defense Arena)", "location": "NANTERRE, Ile-de-France", "day_of_week": "Sat", "date": "Sep 19 2026", "time": "7:30 PM", "is_date_confirmed": true, "is_time_confirmed": true } ] } } ```
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": {
"top_level_category_id": 3,
"page": 1,
"page_size": 20,
"total_count": 200,
"count": 20,
"source_url": "https://www.stubhub.com/?method=TrendingEventsLocale&categoryId=3&maxRows=20&page=0",
"fetched_at": "2026-09-15T21:30:00Z",
"events": [
{
"event_id": 160790802,
"name": "Celine Dion",
"url": "https://www.stubhub.com/celine-dion-nanterre-tickets-9-19-2026/event/160790802/",
"image_url": "https://media.stubhubstatic.com/stubhub-v2-catalog/d_defaultLogo.jpg/categories/4892/6576812",
"category_id": 4892,
"venue_name": "Plenitude Arena (formerly Paris La Defense Arena)",
"location": "NANTERRE, Ile-de-France",
"day_of_week": "Sat",
"date": "Sep 19 2026",
"time": "7:30 PM",
"is_date_confirmed": true,
"is_time_confirmed": true
}
]
}
}Request schema
No body schema
Response schema
#/definitions/stubhub.trendingEventsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | stubhub.TrendingEventsResponse | No | ||||
| data.count | integer | No | 20 | |||
| data.events | array | No | ||||
| data.events[].category_id | integer | No | 4892 | |||
| data.events[].date | string | No | Sep 19 2026 | |||
| data.events[].day_of_week | string | No | Sat | |||
| data.events[].event_id | integer | No | 160790802 | |||
| 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 | Nanterre, Ile-de-France | |||
| data.events[].name | string | No | Celine Dion | |||
| data.events[].time | string | No | 7:30 PM | |||
| data.events[].url | string | No | ||||
| data.events[].venue_name | string | No | ||||
| data.fetched_at | string | No | ||||
| data.page | integer | No | 1 | |||
| data.page_size | integer | No | 20 | |||
| data.source_url | string | No | ||||
| data.top_level_category_id | integer | No | ||||
| data.total_count | integer | No | 200 | |||
| 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/trending-events?top_level_category_id=0&page=1" \
-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