# NYC Permitted Events Scraper (`talcoe/nyc-parks-events`) Actor

Get official NYC permitted events (parades, street fairs, farmers markets, races, sports) with venue, borough, category and organizer, filtered by borough, type, keyword and dates, priced per result.

- **URL**: https://apify.com/talcoe/nyc-parks-events.md
- **Developed by:** [M Usama](https://apify.com/talcoe) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **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

### What does NYC Permitted Events Scraper do?

It pulls the official list of permitted events in New York City: parades, street fairs, farmers markets, races, youth and adult sports, plaza events and more. Each record has the event title, start and end time, venue, borough, category, the city agency that issued the permit, and any street closure. You filter by borough, event type, keyword and date range, so a run returns only what you need. Pricing is per result.

### Data source

The Actor reads the public NYC Permitted Event Information dataset on NYC Open Data (data.cityofnewyork.us), published by the Office of Citywide Event Coordination and Management. The city refreshes it as permits are approved, and it covers events from roughly the next month.

### Why use it?

- Find street closures and crowds near a venue, store or hotel before they hit your day.
- Build a local events calendar or newsletter from permit data, with no manual copying.
- Spot where parades, markets and races happen to plan staffing, deliveries or ads.
- Replace a stale spreadsheet export with a fresh pull you can schedule.

### How to use it

1. Open the Actor and set the filters.
2. Click Start. Download results as JSON, CSV or Excel, or read them through the API.
3. Add a Schedule and an Integration (Slack, Google Sheets, webhook) to get new records automatically.

### Input

| Field | Description |
|---|---|
| `boroughs` | Manhattan, Brooklyn, Queens, Bronx or Staten Island. Empty means all five. |
| `eventTypes` | Categories such as Parade, Farmers Market, Street Event, Special Event, Sport - Youth. Empty means all. |
| `keyword` | Matches the event name and the location, for example marathon or Central Park. |
| `startDate` | Earliest start date, YYYY-MM-DD. Empty means today. |
| `endDate` | Latest start date, YYYY-MM-DD. Empty means no limit. |
| `maxResults` | Hard stop for the run. You are billed per result, so this caps the cost. |
| `proxyConfiguration` | Apify proxy is recommended for larger runs. |

Example input:

```json
{
    "boroughs": ["Manhattan", "Brooklyn"],
    "eventTypes": ["Parade", "Farmers Market"],
    "startDate": "2026-12-01",
    "endDate": "2026-12-31",
    "maxResults": 100
}
```

### Output

Every record has the same shape:

```json
{
    "id": "884734",
    "eventId": "884734",
    "title": "East Meadow Closure",
    "startDate": "2026-11-21T00:00:00",
    "endDate": "2026-11-21T23:59:00",
    "venue": "Central Park: East Meadow",
    "borough": "Manhattan",
    "city": "New York",
    "state": "NY",
    "category": "Special Event",
    "organizer": "Parks Department",
    "streetClosure": null,
    "communityBoards": ["64"],
    "policePrecincts": ["22"],
    "url": "https://data.cityofnewyork.us/d/tvpp-9vvx?event_id=884734",
    "scrapedAt": "2026-11-21T07:10:51.449Z"
}
```

| Field | Meaning |
|---|---|
| `id` | Stable key, safe for deduplication between runs |
| `title` | Event name as filed on the permit |
| `startDate`, `endDate` | Local New York time, ISO format, no timezone suffix |
| `venue` | Location text from the permit, often a park or street |
| `borough` | One of the five boroughs |
| `category` | Event type, for example Parade or Farmers Market |
| `organizer` | The city agency that handles the permit |
| `streetClosure` | Closure type, or null when none |
| `url` | Link to the source dataset filtered to this event |

### Pricing

Pay per event: a small fee when a run starts, then a fixed price per result returned. You only pay for records that pass your filters. Set `maxResults` to cap any run.

### Limitations

- The data has no ticket price or event description. It lists city permits, so ticketed shows are mostly absent.
- The city publishes about the next month of approved events, so far future dates are sparse.
- Names are as filed, so some read as generic (for example Miscellaneous).
- Each event appears once per run, even if the permit covers several locations.

### FAQ

**Is this legal to use?** The data is public and published by the City of New York for reuse.

**Can I get only free events?** The source has no price field, so there is no free filter.

**How fresh is it?** Each run reads the live dataset, so you get what the city has published at that moment.

**What if the city site is slow?** The Actor retries on temporary errors before it gives up.

# Actor input Schema

## `boroughs` (type: `array`):

Only events in these boroughs. Leave empty for all five.

## `eventTypes` (type: `array`):

Only these categories, for example Parade, Farmers Market, Street Event or Special Event. Leave empty for all.

## `keyword` (type: `string`):

Match against event name and location, for example marathon or Central Park.

## `startDate` (type: `string`):

Date as YYYY-MM-DD. Empty means today.

## `endDate` (type: `string`):

Date as YYYY-MM-DD. Empty means no upper limit.

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

Hard stop for the run. You are billed per result, so this caps the cost.

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

Apify proxy is recommended for larger runs.

## Actor input object example

```json
{
  "boroughs": [
    "Manhattan",
    "Brooklyn"
  ],
  "eventTypes": [
    "Parade",
    "Farmers Market",
    "Street Event",
    "Special Event"
  ],
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "boroughs": [
        "Manhattan",
        "Brooklyn"
    ],
    "eventTypes": [
        "Parade",
        "Farmers Market",
        "Street Event",
        "Special Event"
    ],
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("talcoe/nyc-parks-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 = {
    "boroughs": [
        "Manhattan",
        "Brooklyn",
    ],
    "eventTypes": [
        "Parade",
        "Farmers Market",
        "Street Event",
        "Special Event",
    ],
    "maxResults": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("talcoe/nyc-parks-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 '{
  "boroughs": [
    "Manhattan",
    "Brooklyn"
  ],
  "eventTypes": [
    "Parade",
    "Farmers Market",
    "Street Event",
    "Special Event"
  ],
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call talcoe/nyc-parks-events --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,talcoe/nyc-parks-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/0ZCtVY0vC8lDP5Mep/builds/njCgwBafQQ4SnTsYB/openapi.json
