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

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://beta-securitybyobscurity.apify.com/scrapingxpert/extract-eventbrite-online-events.md
- **Developed by:** [scrapingxpert](https://beta-securitybyobscurity.apify.com/scrapingxpert) (community)
- **Categories:** Social media, Lead generation, Other
- **Stats:** 203 total users, 22 monthly users, 100.0% runs succeeded, 15 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$20.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# 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.

***

### 📩 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapingxpert/extract-eventbrite-online-events",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Extract Eventbrite online events",
        "description": "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.",
        "version": "0.7",
        "x-build-id": "q6dimaz4PUeJlqdqJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapingxpert~extract-eventbrite-online-events/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapingxpert-extract-eventbrite-online-events",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapingxpert~extract-eventbrite-online-events/runs": {
            "post": {
                "operationId": "runs-sync-scrapingxpert-extract-eventbrite-online-events",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapingxpert~extract-eventbrite-online-events/run-sync": {
            "post": {
                "operationId": "run-sync-scrapingxpert-extract-eventbrite-online-events",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "start_urls"
                ],
                "properties": {
                    "start_urls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "URLs to start with",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "max_depth": {
                        "title": "Maximum depth",
                        "type": "integer",
                        "description": "Depth to which to scrape to",
                        "default": 1
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
