# Extract Eventbrite online events (`scrapingxpert/extract-eventbrite-online-events`) Actor

Eventbrite is a popular platform for creating and browsing events, but it doesn't have an API for directly extracting online events. Fortunately, Apify script finds the latest online occasions without coding. The extracted data can be downloaded in different formats or used for custom workflows.

- **URL**: https://apify.com/scrapingxpert/extract-eventbrite-online-events.md
- **Developed by:** [scrapingxpert](https://apify.com/scrapingxpert) (community)
- **Categories:** Social media, Lead generation, Other
- **Stats:** 259 total users, 6 monthly users, 100.0% runs succeeded, 18 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Getting started with Extract Eventbrite online events

### About Extract Eventbrite online events scraper

Eventbrite did not provide an API specifically designed for extracting online events. Extracting event data from Eventbrite usually required some coding knowledge and API integration.

Fortunately, there is a tool called Apify that offers a solution for extracting the latest online events from Eventbrite without the need for coding. Apify is a web scraping and automation platform that simplifies the process of extracting data from websites.

With the help of an Apify script, users can retrieve event information from Eventbrite, including online events. The script is designed to navigate through Eventbrite's website, locate the relevant event data, and extract it for further use. This eliminates the need for users to manually browse through Eventbrite or write custom code to fetch the data.

The extracted event data can be downloaded in various formats, such as CSV (Comma-Separated Values), JSON (JavaScript Object Notation), or Excel. These formats enable easy analysis and manipulation of the event information. Additionally, the extracted data can be used for custom workflows, which allows users to integrate the information into their own systems or processes.

Apify provides a user-friendly interface that allows users to configure and run the script without requiring extensive programming skills. By automating the data extraction process, Apify simplifies the task of finding and gathering the latest online events from Eventbrite, making it more accessible to a wider range of users.

### Output

```python
 {
    "image": {
      "edge_color_set": true,
      "edge_color": "#1a1144",
      "url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F471511149%2F213290840281%2F1%2Foriginal.20230317-140944?w=512&auto=format%2Ccompress&q=75&sharp=10&rect=0%2C33%2C3840%2C1920&s=1873a177ec2398c6354bdd89cd3cbc8a",
      "original": {
        "url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F471511149%2F213290840281%2F1%2Foriginal.20230317-140944?auto=format%2Ccompress&q=75&sharp=10&s=643c2ee1ddb5ed71518da3c86a7c7ff7",
        "width": 3840,
        "height": 2160
      },
      "crop_mask": {
        "width": 3840,
        "height": 1920,
        "top_left": {
          "y": 33,
          "x": 0
        }
      },
      "aspect_ratio": 2,
      "id": "471511149"
    },
    "timezone": "Europe/Oslo",
    "id": "592534525717",
    "tickets_url": "https://www.eventbrite.com/checkout-external?eid=592534525717",
    "tickets_by": "Eventbrite",
    "primary_organizer_id": "31517636829",
    "dedup": {
      "count": 1,
      "hash": "f9750978ecf283f585e6f24a523def1e"
    },
    "num_children": 1,
    "debug_info": {},
    "parent_url": null,
    "hide_end_date": false,
    "start_date": "2023-06-02",
    "end_time": "10:00",
    "_type": "destination_event",
    "end_date": "2023-06-02",
    "tags": [
      {
        "prefix": "EventbriteSubCategory",
        "tag": "EventbriteSubCategory/5004",
        "display_name": "Dance"
      },
      {
        "prefix": "EventbriteCategory",
        "tag": "EventbriteCategory/105",
        "display_name": "Performing & Visual Arts",
        "localized": {
          "display_name": "Performing & Visual Arts"
        }
      },
      {
        "prefix": "EventbriteFormat",
        "tag": "EventbriteFormat/6",
        "display_name": "Concert or Performance"
      }
    ],
    "eventbrite_event_id": "592534525717",
    "start_time": "07:00",
    "primary_venue": {
      "_type": "destination_venue",
      "name": "Jakob Kirke",
      "venue_profile_id": null,
      "address": {
        "city": "Sentrum",
        "country": "NO",
        "region": "Oslo",
        "longitude": "10.7544969",
        "localized_address_display": "Hausmanns gate 14, 0184 Sentrum",
        "postal_code": "0184",
        "address_1": "Hausmanns gate 14",
        "address_2": "",
        "latitude": "59.9181494",
        "localized_multi_line_address_display": [
          "Hausmanns gate 14",
          "0184 Sentrum"
        ],
        "localized_area_display": "Sentrum"
      },
      "venue_profile_url": "",
      "id": "144679209"
    },
    "full_description": null,
    "image_id": "471511149",
    "is_protected_event": false,
    "is_cancelled": null,
    "primary_venue_id": "144679209",
    "checkout_flow": "widget",
    "series_id": null,
    "name": "Morning Beat // Purrpurrpurple",
    "language": "en-us",
    "url": "https://www.eventbrite.co.uk/e/morning-beat-purrpurrpurple-tickets-592534525717",
    "hide_start_date": false,
    "summary": "Join us on Friday, 02 June 2023, from 07:00-10:00, on our next adventure!",
    "is_online_event": false,
    "eid": "592534525717",
    "published": "2023-03-23T09:23:55Z"
  }

```

## ✨ Maximize Efficiency: Extract Eventbrite online events scraper with Apify API ✨

The Apify API empowers you with programmatic access to the comprehensive Apify platform. With RESTful HTTP endpoints at your disposal, you can effortlessly manage, schedule, and execute Apify actors. Additionally, the API facilitates seamless access to datasets, performance monitoring, result retrieval, version creation, updates, and much more.

Leverage the apify-client NPM package to tap into the API using Node.js, or employ the apify-client PyPI package for Python integration.

For comprehensive information, explore the Apify API reference [documentation](https://docs.apify.com/api/v2), or simply click on the API tab to explore insightful code examples.

***

### 💬 Feedback 💬

If you have any technical feedback or encountered a bug while using the Extract Eventbrite online events Scraper, please create an issue on the actor's dedicated ["Issues"](https://console.apify.com/actors/PmxIAXfwo0gUUNdG4/issues) tab in the Apify Console. We value your input and appreciate your help in improving our services.

***

### 💼 Hire me for your projects 💼

Looking for a freelancer to assist with web scraping, automation, or data extraction? Feel free to [hire me on Upwork](https://www.upwork.com/freelancers/~01483c7790a543c9bd) for your next project.

***

##### This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Eventbrite or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### 📩 Contact me 📩

##### Contact me through Apify or email me at \[oabakar@proton.me].

# Actor input Schema

## `start_urls` (type: `array`):

URLs to start with

## `max_depth` (type: `integer`):

Depth to which to scrape to

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.eventbrite.com/d/finland--turku/all-events/?page=1"
    }
  ],
  "max_depth": 1
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "start_urls": [
        {
            "url": "https://www.eventbrite.com/d/finland--turku/all-events/?page=1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingxpert/extract-eventbrite-online-events").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "start_urls": [{ "url": "https://www.eventbrite.com/d/finland--turku/all-events/?page=1" }] }

# Run the Actor and wait for it to finish
run = client.actor("scrapingxpert/extract-eventbrite-online-events").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "start_urls": [
    {
      "url": "https://www.eventbrite.com/d/finland--turku/all-events/?page=1"
    }
  ]
}' |
apify call scrapingxpert/extract-eventbrite-online-events --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingxpert/extract-eventbrite-online-events"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PmxIAXfwo0gUUNdG4/builds/N08e6AEzC9maUg6RB/openapi.json
