Ticket.ma Scraper avatar

Ticket.ma Scraper

Pricing

from $2.80 / 1,000 results

Go to Apify Store
Ticket.ma Scraper

Ticket.ma Scraper

⚡ Fast Ticket.ma scraper that bypasses anti-bot blocking. No login, no API key. Get Moroccan concerts, festivals, shows and theatre by category, keyword, city or event URL, with dates, venue, GPS, every ticket category with price and seats left, images and descriptions.

Pricing

from $2.80 / 1,000 results

Rating

0.0

(0)

Developer

Aboo Script

Aboo Script

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Security

Limited permissions

Share

Ticket.ma Scraper

Ticket.ma Scraper extracts events from Ticket.ma, Morocco's online box office, into clean, structured data you can download as JSON, CSV, Excel, or HTML. Paste a Ticket.ma page or type a few keywords, and get the event title, dates, venue, city, every ticket category with its price and availability, images, and description for every event. No account or login required.

Introduction

Ticket.ma is a Moroccan ticketing platform that sells tickets for concerts, festivals, stand-up comedy, theatre, sports, and conferences in Casablanca, Rabat, Marrakech, Fès, Tangier, and other cities. Its listings show what is on in Morocco, where, and at what price.

This actor collects the same public information you see in your browser and turns it into a ready-to-use dataset. You can run it once, schedule it to run daily, or connect it to your own tools.

What data can you extract from Ticket.ma?

  • 🎟️ Event title, subtitle, and category
  • 📅 Start and end date and time, ticket sales start date, and doors opening time
  • 📍 Venue, address, city, country, and map coordinates
  • 💲 Starting price in Moroccan dirham (MAD)
  • 🧾 Every ticket category with its name, price, remaining quantity, sold-out flag, and seated plan flag
  • 📝 Full event description as plain text
  • 🖼️ Main image, thumbnail, all slider images, and video links
  • 🚦 Status flags: sold out, postponed, cancelled, sales closed, featured, and past event
  • 🔗 Direct URL to each event and its category page

Use Cases

  • 📈 Market research: follow ticket prices and the mix of concerts, festivals, and shows across Moroccan cities.
  • 🕵️ Competitor monitoring: see which events promoters and venues put on sale, at what price, and how fast categories sell out.
  • 🗓️ Event listings and guides: feed an events calendar, a city guide, or a newsletter with up-to-date Moroccan events.
  • 🗂️ Database building: build your own archive of events, venues, and ticket prices in Morocco.
  • 🤖 AI and automation: feed clean, structured data into spreadsheets, dashboards, or AI workflows.

How to scrape Ticket.ma step by step

  1. Paste one or more Ticket.ma URLs into Start URLs, or type keywords into Search queries.
  2. Set Maximum number of results to how many events you want per URL or per query.
  3. Optionally set City and Include past events for your search queries.
  4. Click Start and wait for the run to finish.
  5. Download your data in JSON, CSV, Excel, or HTML from the Output tab.

Input

  • Start URLs: Ticket.ma URLs to scrape. Supported pages: the home page, category pages (for example https://www.ticket.ma/ticket/concerts), search pages (https://www.ticket.ma/events/search?q=...), and single event pages. Home and category pages return upcoming events first, then recent past events, just like the website.
  • Search queries: keywords to search on Ticket.ma, one per line. Like the site search, a keyword matches the event title, address, or category. Each query is scraped separately.
  • Maximum number of results: how many events to collect for each start URL or search query. Set 0 for no limit.
  • City: only return events in this city, for example Casablanca or Marrakech. Accents are ignored, so Fes also finds Fès. Applies to search queries only.
  • Include past events: also search recent past events. Applies to search queries only.

You can use start URLs, search queries, or both in the same run.

Input Examples

Scrape the latest events from the Ticket.ma home page:

{
"startUrls": [{ "url": "https://www.ticket.ma/" }],
"maxResults": 5
}

Scrape all concerts:

{
"startUrls": [{ "url": "https://www.ticket.ma/ticket/concerts" }],
"maxResults": 5
}

Search by keywords in one city:

{
"searchQueries": ["concert", "stand up"],
"city": "Casablanca",
"includePastEvents": false,
"maxResults": 5
}

Output

Each event is saved as one item in the dataset. Here is an example of a single item:

{
"url": "https://www.ticket.ma/ticket/les-theatrales/3595/adn-casablanca-septembre-2026",
"id": 3595,
"title": "ADN",
"subtitle": "La 15e édition des Théâtrales de Top Event Production présente:",
"category": "Les Théâtrales",
"categoryUrl": "https://www.ticket.ma/ticket/les-theatrales",
"startDate": "2026-11-19T20:30:00Z",
"endDate": "2026-11-19T20:30:00Z",
"salesStartDate": "2025-04-09T00:00:00+01:00",
"doorsOpen": "20:00",
"venue": "Studio des arts vivants",
"address": "Route d'Azemmour",
"city": "Casablanca",
"country": "Maroc",
"latitude": 33.574214,
"longitude": -7.683506,
"price": 200,
"currency": "MAD",
"tickets": [
{
"id": 9353,
"name": "VIP",
"price": 600,
"currency": "MAD",
"availableQuantity": 82,
"isSoldOut": false,
"hasSeatMap": true
},
{
"id": 9357,
"name": "CAT 4",
"price": 200,
"currency": "MAD",
"availableQuantity": 0,
"isSoldOut": true,
"hasSeatMap": true
}
],
"description": "Auteur : Caroline Ami\n\nMise en scène : Sébastien Azzopardi\n\nAvec : Benoît Facerias, Anne Plantey, Alexandre Guilbaud, Éric Pucheu, Judith d’Aleazzo\n\nDurée : 1h30 ...",
"image": "https://ticket-assets.s3.us-east-1.amazonaws.com/categories/1786355945267-2ak040gif92.png",
"thumbnail": "https://ticket-assets.s3.us-east-1.amazonaws.com/categories/1786355945846-odf83vsxhjb.png",
"images": [
"https://ticket-assets.s3.us-east-1.amazonaws.com/categories/1786355945267-2ak040gif92.png",
"https://ticket-assets.s3.us-east-1.amazonaws.com/categories/1786355944626-h57jvvxxze7.png",
"https://ticket-assets.s3.us-east-1.amazonaws.com/categories/1786355945846-odf83vsxhjb.png"
],
"videos": ["https://www.youtube.com/embed/M-Vqf0VY39I"],
"maxTicketsPerOrder": 10,
"hasSeatMap": true,
"installmentsAvailable": false,
"isFeatured": true,
"isSoldOut": false,
"isPostponed": false,
"isCancelled": false,
"isSalesClosed": false,
"isPastEvent": false
}

You can download the dataset in JSON, CSV, Excel, XML, or HTML, or access it through the Apify API.

Notes

  • Only Ticket.ma home, category, search, and event pages are supported. Other URLs (FAQ, cart, account pages) are skipped with a warning.
  • Ticket.ma keeps a short archive of recent past events (about 100). Older events are no longer listed on the site and cannot be scraped from a category page.
  • price is the "from" price shown on the site. The full price list is in tickets, and availableQuantity is the number of tickets left in each category.
  • Past events usually have no ticket categories any more, so tickets is an empty list for them.
  • Dates are converted from Moroccan local time to the standard ISO 8601 format with the time zone offset.
  • Text such as titles, categories, and descriptions stays in the language used on Ticket.ma (mostly French, sometimes Arabic or English).
  • City names are returned as the organizer wrote them, so the same city can appear with small spelling differences (for example Fès and Fes).
  • Works on Cloudflare-protected pages, with no proxy needed.

Why use the Ticket.ma Scraper?

  • ✅ No login needed: works with public data only, so there is no account to manage.
  • 🎟️ Every ticket category: get each price level with its remaining quantity, not just the lowest price.
  • 🧹 Clean data: numbers are real numbers, dates use one standard format, and text is free of HTML.
  • ⚡ Fast and light: a full run of the Ticket.ma catalog finishes in seconds.
  • 💸 Pay for what you need: set a result limit per URL or query and keep every run small and cheap.
  • 🔄 Ready for automation: schedule runs, export to Google Sheets, or connect to Make, Zapier, and n8n.

FAQ

How many results can I scrape?

You can set any number in Maximum number of results, or 0 for no limit. The actor stops when it reaches your limit or when there are no more events for that page or query. Ticket.ma usually lists a few dozen upcoming events at a time.

Do I need a Ticket.ma account?

No. The actor only collects publicly available data. You do not need to log in or provide any account details.

Can I scrape data on a schedule?

Yes. Use Apify Schedules to run the actor every hour, day, or week, and get fresh events and ticket availability automatically.

Why are some fields empty?

Some events simply do not show every piece of information, such as a subtitle, a video, or map coordinates. When a field is not available on the website, it is returned as null or an empty list.

Can I request a new feature or filter?

Yes. Right now the actor supports start URLs, search queries, a city filter, and past events. If you need other filters or inputs, such as a date range or a price range, get in touch and they can be added.

Can I get a custom or private version?

Yes. The actor can be customized for your workflow, delivered as a private version, or a new scraper can be built for a different website. Use the contact details below.

Need to scrape other event ticketing platforms?


Need help or want a custom solution?

Image Credit

Image credit: Ticket.ma