New York City Open Data API

API

Free open data API for New York City government datasets

Visit Website

Overview

This RESTful API provides access to thousands of New York City government datasets across categories like transportation, health, education, public safety, and more. Responses are available in JSON, CSV, GeoJSON (for spatial data), or XML formats. Use cases include building transit-tracking apps, analyzing public health trends, creating neighborhood safety dashboards, integrating city service information into local business tools, or developing civic engagement platforms to inform residents about city initiatives.

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 endpoints
  • Multiple formats (JSON/CSV/GeoJSON)
  • No auth required (most datasets)
  • Extensive category coverage
  • Spatial data support

Frequently Asked Questions

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

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

? Does it require an API Key?

Most datasets do not require an API key. However, some may need registration for bulk access or advanced features.

? What is the response format?

Common formats include JSON, CSV, GeoJSON (for spatial datasets), and XML—depending on the specific dataset.

Top Alternatives

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

People Also Ask about New York City Open Data API

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

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Free access to all datasets
  • Wide range of civic use cases
  • Supports open transparency
  • Regularly updated datasets

Cons

  • Inconsistent documentation across datasets
  • Large dataset sizes may impact query speed
  • No official service level agreement (SLA)
  • Rate limits for high-volume requests

More Government Tools