City, New York Open Data
NYC's open datasets over the Socrata API
New York City's open-data portal is a Socrata instance where every dataset has a keyless JSON endpoint. The sample pulls two rows from the 311 service-request dataset; SoQL query parameters let you filter and page.
GET https://data.cityofnewyork.us/resource/erm2-nwe9.json?$limit=2
[
{
"unique_key": "69592261",
"created_date": "2026-07-04T01:51:23.000",
"agency": "NYPD",
"agency_name": "New York City Police Department",
"complaint_type": "Noise - Residential",
"descriptor": "Loud Music/Party",
"status": "In Progress"
}
]curl "https://data.cityofnewyork.us/resource/erm2-nwe9.json?$limit=2"const res = await fetch("https://data.cityofnewyork.us/resource/erm2-nwe9.json?$limit=2");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://data.cityofnewyork.us/resource/erm2-nwe9.json?$limit=2")
print(res.json())/resource/erm2-nwe9.json?$limit=2PROBEDNYC's open datasets over the Socrata API
/resourceResource — documented GET route.
/resource/1Resource details by ID (example: 1).
/resource?limit=10Resource — documented GET route.
/resource/search?q=testSearch by query parameters.
/resource/erm2-nwe9.json?limit=5Erm2 Nwe9 Json — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
City, New York Open Data: common questions
Is City, New York Open Data free to use?
Yes — City, New York Open Data is a free government API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does City, New York Open Data need an API key?
No — City, New York Open Data needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call City, New York Open Data from the browser?
Yes — City, New York Open Data returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is City, New York Open Data up right now?
As of our last scheduled check, City, New York Open Data is new. We re-probe it every sweep — the status badge and uptime chart above always show the latest.