Skip to main content
All providers

NYC Open Data

Public recordsUS

data.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 credit

Returns aggregated rows computed server-side by a SoQL $select with a $group clause, for example a count per complaint type.

datasetselectgrouporderlimit
GET /v1/data/nycopendata/columns1 credit

Returns just the column definitions for a dataset: display name, API field name, data type and per-column description.

dataset
GET /v1/data/nycopendata/dataset-metadata1 credit

Returns 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.

dataset
GET /v1/data/nycopendata/datasets1 credit

Returns 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.

q?limit?offset?only?categories?tags?search_context?order?
GET /v1/data/nycopendata/query1 credit

Returns dataset rows matching a SoQL $where expression, in a chosen sort order.

datasetwhereorderlimit
GET /v1/data/nycopendata/rows1 credit

Returns raw rows from a dataset in stable :id order, as an array of JSON objects keyed by the dataset's field names.

datasetlimitoffset
GET /v1/data/nycopendata/search-rows1 credit

Returns rows from one dataset whose text columns match a free-text query, using Socrata's $q full-text index.

datasetqlimit

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.html

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: NYC Open Data

Cache: up to 3600s