# Humanitix Events Scraper (`bovi/humanitix-scraper`) Actor

Collects public Humanitix event listings with titles, dates, locations, images, and event-page offer details when published.

- **URL**: https://apify.com/bovi/humanitix-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 humanitix events scrapers

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

## Humanitix Events Scraper

This actor collects public event records from Humanitix catalog pages and public event pages. For catalog pages it reads the request context in the page's Next.js data and posts it to Humanitix's public `/api/carousels` endpoint, which the site's own JavaScript uses for event cards. If that request is unavailable, it falls back to Schema.org JSON-LD embedded in the HTML.

### Input

- `startUrls` (required, prefilled): one or more public Humanitix catalog or event URLs. The default is a working Dallas catalog page. Replace it with a public location or category page to collect another catalog.
- `maxResults` (integer, default 50): the maximum number of unique event records to write.
- `proxyConfiguration` (optional): Apify proxy settings. The actor uses the scaffold's residential proxy default unless the input explicitly disables it.

The actor accepts HTTPS URLs on `humanitix.com` and its subdomains. It skips duplicate event URLs and stops after 40 supplied catalog pages. A Free-plan run stops fetching at the configured preview page limit.

### Output

Each dataset row has the event `title` and canonical `url`. Catalog API data adds `startDate`, `endDate`, venue and address, image, price range, buyer-fee flag, organiser name, and available organiser or event attributes. An event page can also supply a description, attendance or status values, and offer prices with currency. Missing values are omitted; the actor does not guess prices, organisers, or dates.

Example from a public Humanitix event page:

```json
{
  "title": "BearDance - TBRU 31",
  "url": "https://events.humanitix.com/beardance-tbru-31",
  "startDate": "2027-03-27T01:00:00Z",
  "endDate": "2027-03-27T07:00:00Z",
  "locationName": "Station 4",
  "locationAddress": "3911 Cedar Springs Rd, Dallas, TX 75219, USA",
  "locationCode": "US",
  "image": "https://images.humanitix.com/i/5cb271a8-7435-4887-8a5f-dfaf9041ed99.png@seo-800.jpg",
  "priceMin": 40,
  "priceMax": 75,
  "plusBuyerFee": true,
  "seller": "BearDance, Inc",
  "sellerFollowers": 303,
  "timezone": "America/Chicago",
  "isRecurring": false,
  "suspendSales": false
}
```

### Price per result

The actor adds no separate per-result fee. Apify bills each dataset item according to the account's platform rates; compute and storage may also be billed. The actor stops when the platform signals that the run's charge limit was reached.

### Free-plan preview

On a Free Apify plan, the actor stops fetching when it reaches the free preview page limit. It reports the preview in the run's `OUTPUT` record and status message. It never inserts placeholder rows.

# Actor input Schema

## `startUrls` (type: `array`):

Public Humanitix listing pages or event pages to collect.

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

Maximum number of unique event records to collect.

## `proxyConfiguration` (type: `object`):

Proxy settings. A residential proxy is used by default for reliable access.

## Actor input object example

```json
{
  "startUrls": [
    "https://humanitix.com/us/events/us--tx--dallas"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected records.

# 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 = {
    "startUrls": [
        "https://humanitix.com/us/events/us--tx--dallas"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/humanitix-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 = {
    "startUrls": ["https://humanitix.com/us/events/us--tx--dallas"],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/humanitix-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 '{
  "startUrls": [
    "https://humanitix.com/us/events/us--tx--dallas"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/humanitix-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/humanitix-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/zSFgh4uGvmVvcuNIL/builds/RdbXMXrvFbIDOWaGl/openapi.json
