# AllEvents.in Event Scraper (`fervent_bus/allevents-scraper`) Actor

Scrape events from AllEvents.in - titles, dates, locations, prices, categories. Fast and reliable event data extraction.

- **URL**: https://apify.com/fervent\_bus/allevents-scraper.md
- **Developed by:** [Archit Khurana](https://apify.com/fervent_bus) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

## AllEvents.in Event Scraper

Extract event data from AllEvents.in - concerts, festivals, sports, theater, and more. Fast, reliable, and easy to use.

### Features

✅ **Comprehensive Event Data** - Extract titles, dates, locations, prices, categories, images, and organizer details\
✅ **Smart Filtering** - Search by city and category\
✅ **Flexible Limits** - Control how many events to scrape\
✅ **Proxy Support** - Built-in Apify proxy integration\
✅ **AI-Ready Output** - Clean, structured JSON perfect for analysis

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `city` | String | Yes | City name (e.g., "washington", "new-york") |
| `category` | String | No | Event category (leave empty for all) |
| `maxResults` | Integer | No | Maximum events to scrape (default: 50) |
| `useProxy` | Boolean | No | Enable Apify proxy (default: false) |

### Output Fields

Each event contains:

- **title** - Event name
- **url** - Event page URL
- **date** - Event date
- **time** - Start time
- **location** - Venue/address
- **category** - Event type (music, sports, arts, etc.)
- **price** - Ticket price or "Free"
- **description** - Event details
- **image** - Poster image URL
- **organizer** - Organizer name
- **phone** - Contact phone
- **email** - Contact email

### Example Usage

#### Basic Run

```json
{
  "city": "washington",
  "maxResults": 20
}
```

#### Filter by Category

```json
{
  "city": "new-york",
  "category": "music",
  "maxResults": 50,
  "useProxy": true
}
```

### Sample Output

```json
{
  "title": "Summer Music Festival 2026",
  "url": "https://allevents.in/washington/summer-music-festival",
  "date": "2026-07-15",
  "time": "18:00",
  "location": "Central Park, New York",
  "category": "Music",
  "price": "$45",
  "description": "Join us for an amazing outdoor concert...",
  "image": "https://cdn.allevents.in/events/poster.jpg",
  "organizer": "NYC Events Inc",
  "phone": "+1-555-0123",
  "email": "info@nycevents.com"
}
```

### Use Cases

🎭 **Event Aggregation** - Build event listing websites\
📊 **Market Research** - Analyze event trends and pricing\
🤖 **AI Applications** - Train recommendation systems\
📱 **Mobile Apps** - Power event discovery apps\
🎫 **Ticket Platforms** - Source event inventory

### Pricing

💰 **Per-result**: $0.005 per event\
💰 **Per-run**: $0.05 per run

### Compatible with AI Agents

✅ Works seamlessly with **Claude**, **ChatGPT**, and other AI agents via [Apify MCP](https://apify.com/mcp)

### Support

Need help? Contact the developer or check the [Apify documentation](https://docs.apify.com).

***

**Built with ❤️ using Playwright and Apify SDK**

# Actor input Schema

## `city` (type: `string`):

City to scrape events from (e.g., 'washington', 'philadelphia', 'baltimore')

## `category` (type: `string`):

Filter by category/search term (e.g., 'music', 'art', 'festival'). Leave empty for all events.

## `maxResults` (type: `integer`):

Maximum number of events to scrape

## `useProxy` (type: `boolean`):

Enable Apify residential proxies

## Actor input object example

```json
{
  "city": "washington",
  "maxResults": 50,
  "useProxy": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fervent_bus/allevents-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("fervent_bus/allevents-scraper").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 '{}' |
apify call fervent_bus/allevents-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fervent_bus/allevents-scraper"
        }
    }
}
```

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/5TO3HV1H11o80XPht/builds/0M2dSzqZmlOCqgzhC/openapi.json
