City, New York Open Data

API

Free open data API for New York City government datasets

Visit Website

Overview

The NYC Open Data API (powered by Socrata) provides RESTful access to thousands of official city datasets, including 311 service requests, MTA transit stats, public health records, and geospatial data. Responses support JSON, CSV, XML, and GeoJSON formats. Endpoints allow advanced queries (filtering, sorting, pagination) via parameters like $select, $where, and $limit. Use cases include building civic apps for transit tracking, neighborhood health analysis, 311 complaint monitoring, or urban planning research for developers, researchers, and civic tech projects.

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 API
  • Multiple formats (JSON/CSV/XML/GeoJSON)
  • Anonymous access allowed
  • Advanced query support

Frequently Asked Questions

? Is City, New York Open Data API free to use?

Yes, the API is completely free for public use. Optional app tokens are available for higher rate limits.

? Does it require an API Key?

Basic access does not need an API key, but an app token is recommended to avoid rate limits and ensure reliable access.

? What is the response format?

Most datasets support JSON, CSV, XML, and GeoJSON (for geospatial datasets).

Top Alternatives

Chicago Open Data API Search Google
Los Angeles Open Data API Search Google
Data.gov API Compare

People Also Ask about City, New York Open Data

City, New York Open Data vs Chicago Open Data APICity, New York Open Data vs Los Angeles Open Data APICity, New York Open Data vs Data.gov API City, New York Open Data 2025 review

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Vast collection of datasets
  • Free public access
  • Well-documented
  • Supports geospatial data

Cons

  • Rate limits for anonymous users
  • Some datasets have delayed updates
  • Steep learning curve for advanced queries
  • No official SLA

More Government Tools