# City Scout 🔭 - Multi-Platform Event Finder (`10emmmm/universal-event-intelligence-ts`) Actor

Your personal event radar for tech meetups, parties, and workshops. Scrapes Luma, Posh, and Eventbrite simultaneously and returns AI-ready, normalized data.

- **URL**: https://apify.com/10emmmm/universal-event-intelligence-ts.md
- **Developed by:** [AJ4N3NZ0](https://apify.com/10emmmm) (community)
- **Categories:** Lead generation, Travel
- **Features:** Limited permissions
- **Stats:** 11 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.00005 / actor start

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

## City Scout 🔭 - Universal Event Intelligence

> Your personal event radar for tech meetups, parties, and workshops

**Stop tab-hopping.** Get events from Luma, Posh, and Eventbrite in one query—clean, fast, and AI-ready.

***

### ✨ What You Get

This Actor aggregates events from three popular platforms and returns **standardized, structured data** perfect for:

- 🤖 **AI training datasets**
- 📊 **Market research & analytics**
- 📱 **Building event discovery apps**
- 🔍 **Personalized event recommendations**

#### Platforms Scraped

- **Luma** (`lu.ma`) - Tech community events
- **Posh** (`posh.vip`) - Parties, mixers, social events
- **Eventbrite** (`eventbrite.com`) - General event marketplace

***

### 🚀 How It Works

1. **Enter your search terms** (e.g., "Tech Networking", "Startup Pitch")
2. **Specify a location** (e.g., "San Francisco", "New York")
3. **Set max results** (1-100 per platform)
4. **Get clean JSON** with normalized event data

#### ⚡ Concurrent Scraping

All three platforms are scraped **simultaneously** using `Promise.all`, so you get results 3x faster.

***

### 📥 Input

```json
{
  "queries": ["Tech Networking", "AI Meetup"],
  "location": "San Francisco",
  "maxResults": 20
}
```

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `queries` | `string[]` | Keywords to search (e.g., "Rust Meetup") | **Required** |
| `location` | `string` | City or region to search | **Required** |
| `maxResults` | `number` | Max events per platform (1-100) | `20` |

***

### 📤 Output

Each event includes:

```json
{
  "id": "abc123",
  "title": "AI & Machine Learning Mixer",
  "startIso": "2026-01-15T19:00:00Z",
  "endIso": "2026-01-15T22:00:00Z",
  "locationName": "The Battery SF",
  "address": "717 Battery St, San Francisco, CA 94111",
  "url": "https://lu.ma/ai-ml-mixer",
  "platform": "luma",
  "imageUrl": "https://cdn.lu.ma/event-image.jpg"
}
```

#### Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | `string` | Unique event identifier |
| `title` | `string` | Event name |
| `startIso` | `string` | Start time (ISO 8601) |
| `endIso` | `string?` | End time (ISO 8601, if available) |
| `locationName` | `string` | Venue or location name |
| `address` | `string?` | Full address (if available) |
| `url` | `string` | Event page URL |
| `platform` | `string` | Source platform (`luma`, `posh`, `eventbrite`) |
| `imageUrl` | `string?` | Event image/flyer URL |

***

### 💡 Use Cases

#### For Developers

- Build a personalized event discovery app
- Create automated event newsletters
- Train LLMs on event data

#### For Marketers

- Competitive analysis of events in your city
- Track industry event trends
- Find sponsorship opportunities

#### For Community Builders

- Discover where your audience hangs out
- Find partner events to cross-promote
- Monitor local event landscape

***

### 🔧 Development

Built with:

- **Apify SDK** - Actor framework
- **Crawlee** - Web scraping library
- **got-scraping** - HTTP client with stealth
- **TypeScript** - Type-safe development

#### Local Testing

```bash
npm install
npm run start:dev
```

***

### 📊 Performance

- **Speed:** ~10-15 seconds for 60 events (20 per platform)
- **Accuracy:** Direct API access (no brittle HTML parsing)
- **Cost:** ~$0.02 per run (Apify Free tier)

***

### 🎯 Why This Actor?

| Feature | City Scout | Manual Search |
|---------|------------|---------------|
| **Platforms** | 3 at once | 1 at a time |
| **Speed** | 15 seconds | 15 minutes |
| **Format** | Structured JSON | Copy-paste chaos |
| **AI-Ready** | ✅ Yes | ❌ No |

***

### 📝 Notes

- **No authentication required** - Public data only
- **Rate limits respected** - Polite scraping
- **Fresh data** - Real-time event listings

***

### 🆘 Troubleshooting

**No results found?**

- Try broader search terms
- Check that the location is recognized (use city names)
- Some platforms may have limited events in certain areas

**Events missing fields?**

- Not all events have complete data (e.g., no end time)
- Platform differences: Luma has richer address data than Posh

***

### 📬 Feedback

Found a bug or have a feature request? Open an issue!

***

# Actor input Schema

## `queries` (type: `array`):

List of keywords to search for events (e.g., 'Tech Mixer', 'Rust Meetup').

## `location` (type: `string`):

City or region to search (e.g., 'San Francisco, CA').

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

Maximum number of events to return per platform.

## Actor input object example

```json
{
  "queries": [
    "Tech Networking",
    "Startup Pitch"
  ],
  "location": "San Francisco",
  "maxResults": 20
}
```

# 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 = {
    "queries": [
        "Tech Networking",
        "Startup Pitch"
    ],
    "location": "San Francisco"
};

// Run the Actor and wait for it to finish
const run = await client.actor("10emmmm/universal-event-intelligence-ts").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 = {
    "queries": [
        "Tech Networking",
        "Startup Pitch",
    ],
    "location": "San Francisco",
}

# Run the Actor and wait for it to finish
run = client.actor("10emmmm/universal-event-intelligence-ts").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 '{
  "queries": [
    "Tech Networking",
    "Startup Pitch"
  ],
  "location": "San Francisco"
}' |
apify call 10emmmm/universal-event-intelligence-ts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,10emmmm/universal-event-intelligence-ts"
        }
    }
}
```

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/Kf39bhdCdaUpbwH5J/builds/WxrEN4tlvMWyMjyic/openapi.json
