Dice.fm Events Scraper
Pricing
from $0.50 / 1,000 results
Dice.fm Events Scraper
Scrape event data from Dice.fm - search by artist, city, or keyword. Get event details, lineups, ticket prices, and venue info. NOTE: Dice.fm uses aggressive Cloudflare protection - residential proxies, a VPN, or running locally are required for reliable results.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Brandon Hamm
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
A Python-based Apify Actor that scrapes event data from Dice.fm — one of the UK's leading independent ticketing platforms for live music, club nights, and festivals.
Features
- Multiple query modes: Search by keyword, browse by city, scrape direct event URLs, or search by artist name
- API interception: Intercepts Dice.fm's internal API responses during page load for structured JSON data — no HTML scraping required when API is available
- HTML fallback: Falls back to BeautifulSoup HTML parsing when API interception fails
- Full event details: Optionally visits individual event pages for complete lineups, ticket types, descriptions, and images
- Date filtering: Filter events by date range (YYYY-MM-DD)
- Cloudflare handling: Uses Playwright with stealth settings and residential proxies to bypass Cloudflare protection
- Deduplication: Automatically deduplicates events by event ID or URL
- No API key required: Works entirely through the public Dice.fm website
⚠️ Proxy Requirement: Dice.fm uses aggressive Cloudflare protection. Residential proxies are required for successful scraping. Enable
useProxyand use Apify's residential proxy groups. Datacenter proxies and direct connections will be blocked by Cloudflare. Users on Apify's Free plan may need to upgrade or provide their own residential proxy for reliable results.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
queryType | select | ✅ | search | Query mode: search, browse, event, or artist |
searchQuery | string | Text search query (for search mode) | ||
eventUrls | string[] | Direct Dice.fm event URLs (for event mode) | ||
city | string | City name for browse mode (for browse mode) | ||
artistName | string | Artist name to search (for artist mode) | ||
dateFrom | string | Start date filter (YYYY-MM-DD) | ||
dateTo | string | End date filter (YYYY-MM-DD) | ||
maxEvents | integer | 100 | Maximum events to scrape (0 = unlimited) | |
includeEventDetails | boolean | true | Visit each event page for full details | |
useProxy | boolean | true | Use Apify proxy for anti-bot bypass |
Output Fields
Each event in the dataset contains:
| Field | Type | Description |
|---|---|---|
eventId | string | Dice.fm event ID |
eventName | string | Event name/title |
eventUrl | string | Full Dice.fm event URL |
date | string | Event date (YYYY-MM-DD) |
time | string | Event start time (HH:MM) |
venueName | string | Venue name |
venueCity | string | Venue city |
venueCountry | string | Venue country |
venueAddress | string | Venue street address |
latitude | float|null | Venue latitude |
longitude | float|null | Venue longitude |
lineup | array | Array of {artist, role, setTime} objects |
ticketTypes | array | Array of {name, price, currency, soldOut, availability} objects |
priceFrom | float|null | Minimum ticket price |
priceTo | float|null | Maximum ticket price |
currency | string | Price currency code (default: GBP) |
genreTags | array | Array of genre/style tag strings |
typeTag | string | Event type (e.g., "Club night", "Live music", "Festival") |
ageLimit | string | Age restriction info |
description | string | Event description text |
imageUrls | array | Array of image URLs |
soldOut | boolean | Whether the event is sold out |
isFree | boolean | Whether the event is free entry |
Use Cases
- Event discovery: Find upcoming events by city, genre, or keyword
- Market research: Track ticket prices, sold-out rates, and event frequency
- Artist touring data: Find all upcoming dates for a specific artist
- Venue monitoring: Monitor a venue's upcoming programme
- Festival tracking: Scrape festival lineups and ticket availability
- Data journalism: Analyse live music trends, pricing, and market dynamics
Example Input
{"queryType": "search","searchQuery": "techno London","dateFrom": "2026-08-15","dateTo": "2026-09-15","maxEvents": 50,"includeEventDetails": true,"useProxy": true}
{"queryType": "browse","city": "London","maxEvents": 200}
{"queryType": "event","eventUrls": ["https://dice.fm/event/abc123-floating-points-tickets","https://dice.fm/event/def456-four-tet-tickets"]}
{"queryType": "artist","artistName": "Floating Points","maxEvents": 20}
Example Output
{"eventId": "abc123","eventName": "Floating Points — All Night Long","eventUrl": "https://dice.fm/event/abc123-floating-points-all-night-long-tickets","date": "2026-08-22","time": "23:00","venueName": "Phonox","venueCity": "London","venueCountry": "GB","venueAddress": "22 Brixton Hill, London SW2 1JW","latitude": 51.4614,"longitude": -0.1152,"lineup": [{"artist": "Floating Points", "role": "headliner", "setTime": "02:00"},{"artist": "DJ support TBA", "role": "support", "setTime": "23:00"}],"ticketTypes": [{"name": "Standard", "price": 25.00, "currency": "GBP", "soldOut": false, "availability": "available"},{"name": "Early Bird", "price": 18.00, "currency": "GBP", "soldOut": true, "availability": "sold_out"}],"priceFrom": 18.0,"priceTo": 25.0,"currency": "GBP","genreTags": ["electronic", "house", "techno"],"typeTag": "Club night","ageLimit": "18+","description": "Floating Points plays an all-night set at Phonox...","imageUrls": ["https://images.dice.fm/abc123-cover.jpg"],"soldOut": false,"isFree": false}
How It Works
- Launches Playwright with stealth settings (anti-automation flags disabled, realistic user agent)
- Navigates to the target Dice.fm page (search results, city browse, or direct event URL)
- Intercepts network responses — listens for JSON responses from Dice.fm's internal API endpoints
- Scrolls the page to trigger infinite loading and additional API calls
- Normalises intercepted API data into the output schema
- HTML fallback — if no API data is intercepted, parses the rendered HTML for event links
- Event detail enrichment — optionally visits each event page for full lineup/ticket/description data
- Filters and deduplicates events by date range and event ID
- Pushes results to the Apify dataset incrementally
Cloudflare Handling
Dice.fm uses Cloudflare protection. This scraper handles it by:
- Using Playwright (real browser engine) instead of HTTP requests
- Apify proxy with residential IPs to avoid rate limiting
- Anti-automation flags disabled (
--disable-blink-features=AutomationControlled) - Challenge detection: detects Cloudflare interstitial pages and waits for them to resolve
- Retry logic: up to 3 wait cycles (5s each) for Cloudflare challenges to clear
If Cloudflare consistently blocks the scraper, ensure useProxy is enabled and try again after a cooldown period.
Technical Details
- Runtime: Python 3.12
- Browser engine: Chromium (via Playwright)
- Dependencies:
apify,crawlee[playwright],beautifulsoup4,lxml - Docker base image:
apify/actor-python-playwright:3.12 - No API keys: Works entirely through the public Dice.fm website
Limitations
- Dice.fm's internal API structure may change without notice — the HTML fallback provides resilience
- Very large result sets may be slow due to page scrolling and detail page visits
- Cloudflare may temporarily block repeated requests; use proxy and reasonable delays
- Some events may have incomplete data if the API response is sparse
License
This actor is provided as-is for educational and research purposes. Ensure compliance with Dice.fm's terms of service when using this scraper.