Discover/Nycgovparks API
live

Nycgovparks APInycgovparks.org

Access NYC Parks events, park details, amenities, and youth programs via 6 endpoints. Filter by borough, category, or park ID from nycgovparks.org.

Endpoint health
verified 1d ago
get_parks_list
get_park_details
get_all_events
get_kids_family_events
get_programs_for_kids
6/6 passing latest checkself-healing
Endpoints
6
Updated
26d ago

What is the Nycgovparks API?

The NYC Parks API provides 6 endpoints covering upcoming events, park details, and recreational programs from the New York City Department of Parks & Recreation. Use get_all_events to retrieve paginated event listings with title, borough, location, and description fields, or drill into a specific event with get_event_detail to get full descriptions, categories, and admission info. Park lookups and borough-filtered park lists are also available.

Try it
Page number for pagination.
api.parse.bot/scraper/7824c9e5-dfae-47db-bad1-81503bbaf631/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7824c9e5-dfae-47db-bad1-81503bbaf631/get_all_events?page=1' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace nycgovparks-org-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: NYC Parks SDK — discover events, parks, and youth programs."""
from parse_apis.nyc_parks_api import NYCParks, Borough, EventCategory, NotFoundError

client = NYCParks()

# List upcoming events across all boroughs, capped at 5 items.
for event in client.eventsummaries.list(limit=5):
    print(event.title, event.date_label, event.borough)

# Filter events by category using the EventCategory enum.
kids_event = client.eventsummaries.by_category(category=EventCategory.KIDS, limit=1).first()
if kids_event:
    # Drill into full event detail via the summary's navigation op.
    detail = kids_event.details()
    print(detail.title, detail.categories, detail.location_name)

# List parks in Manhattan using the Borough enum.
for park in client.parks.list(borough_code=Borough.MANHATTAN, limit=3):
    print(park.name, park.id)

# Fetch a specific park by ID and inspect amenities.
try:
    central = client.parks.get(park_id="M010")
    print(central.name, central.amenities[:5])
except NotFoundError as exc:
    print(f"Park not found: {exc}")

# Browse youth programs.
for program in client.programs.list(limit=5):
    print(program.name, program.url)

print("exercised: eventsummaries.list / eventsummaries.by_category / details / parks.list / parks.get / programs.list")
All endpoints · 6 totalmissing one? ·

Retrieve all upcoming NYC Parks events. Returns paginated results with 50 events per page. Paginates by page number; results include title, date, location, borough, and description snippet for each event.

Input
ParamTypeDescription
pageintegerPage number for pagination.
Response
{
  "type": "object",
  "fields": {
    "page": "integer indicating current page number",
    "events": "array of event objects with title, url, date_label, location_text, borough, description_snippet, and optionally park_name and admission"
  },
  "sample": {
    "data": {
      "page": 1,
      "events": [
        {
          "url": "https://www.nycgovparks.org/events/2026/06/11/summer-sports-experience-basketball1",
          "title": "Summer Sports Experience: Basketball",
          "borough": "Staten Island",
          "date_label": "Jun 11",
          "location_text": "atArts and Crafts Room(in Greenbelt Recreation Center),Staten Island",
          "description_snippet": "The Summer Sports Experience program engages children in active outdoor play."
        }
      ]
    },
    "status": "success"
  }
}

About the Nycgovparks API

Events

get_all_events returns paginated arrays of 50 events per page. Each event object includes title, url, date_label, location_text, borough, and description_snippet, with optional park_name and admission fields where present. get_kids_family_events accepts a category slug — confirmed values are kids, family, fitness, and free — and returns the same event shape plus a category echo field. Pass a full or relative URL to get_event_detail to retrieve the complete event record: park_name, categories array, full description, and location_name.

Parks

get_parks_list returns park name, url, and id for every NYC park, optionally filtered by borough_code (M, B, Q, X, or R for Staten Island). Park IDs follow a letter-plus-number convention (e.g. X034, M010) or named slugs like central-park. Pass any valid ID to get_park_details to get the park's official name, description, amenities array, and canonical url.

Programs

get_programs_for_kids returns an array of program objects — each with a name and url — covering offerings like camps, afterschool activities, fitness classes, and other recreational programming run by NYC Parks. No filter parameters are accepted; the endpoint returns the full current program listing.

Reliability & maintenanceVerified

The Nycgovparks API is a managed, monitored endpoint for nycgovparks.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when nycgovparks.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official nycgovparks.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a weekend event finder that filters NYC Parks events by borough and category slug
  • Display park amenities on a neighborhood guide using get_park_details with a known park ID
  • Aggregate all free or family-friendly events using the 'free' and 'family' category slugs in get_kids_family_events
  • Populate a directory of NYC youth programs using the name and url fields from get_programs_for_kids
  • List all parks in a specific borough by passing a borough_code to get_parks_list
  • Show full event details including categories and admission info on an event calendar app using get_event_detail
  • Cross-reference park IDs from get_parks_list with amenity data from get_park_details to map accessible or featured parks
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does NYC Parks have an official developer API?+
NYC Parks publishes some open datasets through the NYC Open Data platform at opendata.cityofnewyork.us, but there is no official developer API for the events, park detail pages, and program listings covered by these endpoints.
What does get_event_detail return beyond what the event list endpoints provide?+
The list endpoints return a description_snippet and basic location fields. get_event_detail returns the full description text, a categories array listing all event category names, and a structured location_name field. You need to supply the event's URL, which is included in every list response.
What category slugs work with get_kids_family_events, and are there more?+
The confirmed slugs are 'kids', 'family', 'fitness', and 'free'. Other category slugs visible on the NYC Parks site are not currently validated by this endpoint. You can fork the API on Parse and revise it to add support for additional category slugs.
Does the API expose permit data, facility hours, or historical event archives?+
Not currently. The API covers upcoming events, current park details and amenities, and active program listings. Permit records, facility operating hours, and past events are not included in any endpoint. You can fork the API on Parse and revise it to add endpoints targeting those pages.
How does pagination work for event endpoints?+
Both get_all_events and get_kids_family_events return 50 events per page. Pass an integer to the page parameter to advance through results. The response includes a page field echoing the current page number; there is no total_pages or total_count field in the response.
Page content last updated . Spec covers 6 endpoints from nycgovparks.org.
Related APIs in Government PublicSee all →
allevents.in API
Search and discover events from AllEvents.in by name, date, or category, then view detailed information like descriptions, timings, and venue details. Filter through available event categories to find exactly what you're looking for.
axs.com API
Search for events, performers, and venues across AXS.com to find tickets, pricing, and availability information in your area or by category. Browse featured events, explore venues by city, and access detailed event information all in one place.
feverup.com API
Discover and search live events, exhibitions, and experiences happening in cities worldwide, filtering by categories to find concerts, shows, expos, and more that match your interests. Get detailed information about any event including schedules, descriptions, and venue details to plan your next outing.
eventbrite.com API
Search Eventbrite for events by keyword, location, or category. Retrieve full event details, ticket pricing and availability, organizer profiles, and batch event data.
rausgegangen.de API
Discover events happening in German cities by searching for concerts, festivals, and shows—filtering by location, date, or category to find exactly what you're looking for. Get detailed information about venues, artists, and ticket lotteries all in one place.
themeparks.com API
Plan your theme park visits with real-time wait times, operating schedules, attraction details, show information, and dining options across parks worldwide. Search for specific parks, explore attractions and restaurants, view park maps, and check schedules by month to optimize your experience.
seatgeek.com API
Search for events and performers, view ticket listings with pricing data, and explore venue information across multiple event categories. Get real-time insights into event details, ticket price trends, and what's currently trending to help you find and compare tickets.
queue-times.com API
Monitor real-time wait times, crowd levels, and historical data across 130+ theme parks worldwide to plan your visits and avoid peak hours. Get daily statistics and predictions to make informed decisions about when and where to experience attractions with minimal wait times.