New York City Open Data

API

Free open data API for New York City government datasets

Visit Website

Overview

The New York City Open Data API (powered by Socrata SODA) provides RESTful access to over 2,000 civic datasets spanning transportation, public safety, health, education, and more. It supports JSON, CSV, XML, and GeoJSON formats. Users can filter, sort, and paginate results via query parameters. Use cases include building commute apps with MTA data, analyzing crime trends with NYPD reports, creating public health dashboards, or integrating NYC-specific data into civic tech solutions. Bulk downloads are available for large datasets, while real-time queries suit targeted data retrieval.

Example Integration (JavaScript)

script.js JS

fetch('https://opendata.cityofnewyork.us/')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful (SODA compliant)
  • Multiple data formats (JSON, CSV, XML, GeoJSON)
  • No auth required for public datasets
  • Filterable & paginated queries
  • Bulk data access

Frequently Asked Questions

? Is New York City Open Data free to use?

Yes, all datasets are available for free under open licenses like CC0 (public domain) or CC BY, allowing unrestricted use and redistribution.

? Does it require an API Key?

Most public datasets do not need an API key. However, high-volume access or restricted datasets may require authentication via an API key obtained from the portal.

? What is the response format?

Responses support multiple formats including JSON, CSV, XML, and GeoJSON (for spatial datasets). You can specify the format via query parameters in your request.

Top Alternatives

Chicago Open Data Portal API Search Google
Los Angeles Open Data API Search Google

People Also Ask about New York City Open Data

New York City Open Data vs Chicago Open Data Portal APINew York City Open Data vs Los Angeles Open Data API New York City Open Data 2025 review

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Free open access
  • Extensive civic dataset coverage
  • Regularly updated data
  • Supports spatial data (GeoJSON)

Cons

  • Requires learning SODA query syntax for advanced use
  • Some datasets have delayed updates
  • No official SLA for uptime
  • Large datasets may have slow response times

More Government Tools