NYC Open Data
Public recordsUSdata.cityofnewyork.us
New York City's open data: property, permits, 311, transport, health and everything else the city publishes.
Capabilities (7)
GET /v1/data/nycopendata/aggregate1 creditReturns aggregated rows computed server-side by a SoQL $select with a $group clause, for example a count per complaint type.
GET /v1/data/nycopendata/columns1 creditReturns just the column definitions for a dataset: display name, API field name, data type and per-column description.
GET /v1/data/nycopendata/dataset-metadata1 creditReturns one dataset's full Socrata view record: name, description, owning agency, category, tags, licence, update frequency, row count, creation and last-update timestamps and its column definitions.
GET /v1/data/nycopendata/datasets1 creditReturns catalog entries for NYC Open Data assets matching a query, each with its 4x4 id, name, description, owning agency, category, tags, column names and update timestamps.
GET /v1/data/nycopendata/query1 creditReturns dataset rows matching a SoQL $where expression, in a chosen sort order.
GET /v1/data/nycopendata/rows1 creditReturns raw rows from a dataset in stable :id order, as an array of JSON objects keyed by the dataset's field names.
GET /v1/data/nycopendata/search-rows1 creditReturns rows from one dataset whose text columns match a free-text query, using Socrata's $q full-text index.
Licence
NYC Open Data terms of use: the data is public and may be used for any purpose, including commercial.
https://www.nyc.gov/html/data/terms.htmlAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: NYC Open Data
Cache: up to 3600s
