After Dark.nyc

Home › Methodology

Methodology and sources

Everything on this site is computed from public data each night, or written by us from official sources linked on the page. Here is what each number means, where it comes from, under what terms, and how we checked it.

Sources and licences

DataPublisherTermsLast fetched
Current Liquor Authority Active Licenses (9s3h-dpkz)NYS Liquor Authority, data.ny.govOpen NY Terms of Use: free use including private-sector projects; no attribution or share-alike requirement2026-11-01
311 Service Requests (erm2-nwe9), “Noise – Commercial / Loud Music/Party”, last 12 monthsNYC 311, NYC Open DataNYC Open Data Law, Administrative Code §23-502(d): available “without any registration requirement, license requirement or restrictions on their use”2026-11-01
2020 Neighborhood Tabulation Areas (9nt8-h7nd)NYC Department of City Planning2026-11-01
NYC Permitted Event Information (tvpp-9vvx), next 3 weeksNYC Office of Citywide Event Coordination and Management2026-11-01
Subway, LIRR, Metro-North and bus GTFS schedulesMTAMTA data-feed terms: redistributed from our own server; we use part of the data, unmodified. Not endorsed by MTA; MTA does not warrant the data accurate, complete or timely.2026-11-01
PhotographsWikimedia Commons contributorsCC BY, CC BY-SA, CC0 or public domain, credited where shownpinned by file

As the NYC Open Data Law asks, the version of each city dataset is the one published on the date in the last column, and our modifications are described below: we filter, count and aggregate records; we never edit them. Facts on the events, safety and night-views pages come from the official pages linked beside them, checked on 2026-10-29.

Licensed night spots

From the State Liquor Authority’s list of active licences we keep on-premises licences only, and group them by the SLA’s class: bars, lounges & taverns are the SLA’s “Food & Beverage Business” liquor class (0370; a random sample of names in this class is almost all bars and lounges), cafés & eateries are its beer- and wine-only versions, restaurants are restaurant licences of any strength, cabarets are class 0417. “Night spots” = bars + restaurants + cabarets. Groceries, liquor stores, wholesalers and makers are left out, and so are “additional bar” licences, which are a second bar inside a venue already counted.

Each licence is placed by its published coordinates in a 2020 Neighborhood Tabulation Area (the city planning department’s neighborhood units). 12,288 of 12,472 on-premises licences had usable coordinates. Density is per km² of the area’s land and water as drawn by City Planning. A licence says a business may serve alcohol; it does not say it is open, or open late.

Loud-music complaints

311 requests of type “Noise – Commercial” with descriptor “Loud Music/Party”, the category residents use for bars, clubs and other businesses, over the last 12 months, placed by their coordinates. Heatmaps count them by the evening they belong to: a 2 a.m. Sunday complaint is part of Saturday night. Complaints measure friction between nightlife and neighbors, not crowd size.

Subway after midnight

From the MTA’s subway GTFS (“20261028-fall-2026-pick-with-long-term-supplements”) we take every scheduled departure from 8 p.m. to 6 a.m. for four kinds of night (Monday–Thursday, Friday, Saturday, Sunday), joining the evening’s timetable with the next morning’s. A line “runs overnight” if it has departures between 1 and 5 a.m. on weeknights. The typical wait is the median gap between departures, 1–5 a.m., at the station where that line runs most often overnight; the station lookup shows every departure at your station. 496 stations, 27 services. The base schedule doesn’t include planned work; we tried to compute this week’s planned overnight changes from MTA’s supplemented feed and dropped it because the two feeds were on different timetable picks and the comparison produced false “no service” results.

Last trains

From the LIRR and Metro-North GTFS, for each of the next 14 nights: every train leaving Penn Station, Grand Central Madison or Atlantic Terminal (LIRR) or Grand Central or Harlem–125 St (Metro-North) between 9 p.m. and 4 a.m. (later departures are the first morning trains), and the stations it reaches. For the LIRR we also join trains that terminate at Jamaica to trains leaving Jamaica at least 3 minutes later, because many late-night journeys change there. The last train to a station is the latest departure from each terminal that reaches it.

Sun, moon and Manhattanhenge

Sun times use NOAA’s solar position equations for City Hall (40.7128° N, 74.0060° W) with standard refraction; golden hour starts at +6° solar altitude, blue hour runs from −4° to −6°, astronomical dusk is −18°. Moon phases use the main terms of Meeus’s lunar theory. Manhattanhenge is the evening on which the sun’s azimuth equals the grid bearing of 299° at the moment its disc meets a horizon at 0° geometric altitude (the New Jersey skyline at the end of the street, about 0.6° above the sea horizon).

Validation

Sunset and civil dusk vs the US Naval Observatory

DateUSNO sunsetOursΔ minUSNO civil duskOursΔ min
2026-03-0717:5417:540.118:2118:210.5
2026-03-0818:5518:550.219:2319:22-0.5
2026-03-2019:0819:080.219:3619:35-0.5
2026-06-2120:3120:30-0.221:0421:040.2
2026-10-3117:5317:530.418:2218:21-0.2
2026-11-0116:5216:520.217:2117:20-0.4
2026-12-0716:2816:280.416:5916:590.1
2026-12-2116:3216:31-0.217:0317:02-0.2
2026-01-0516:4316:430.017:1417:13-0.3
2026-08-1519:5419:53-0.220:2320:230.2

USNO rounds to the minute; ours are shown truncated. Includes both 2026 daylight-saving switch days, the solstices and the earliest-sunset week. Checked 2026-11-01. Largest difference: 0.4 min.

Moon phases vs USNO

All 50 new, first-quarter, full and last-quarter moons of 2026: median difference 15 minutes, largest 50 minutes. We show phases to the minute but treat them as good to the hour.

Manhattanhenge vs AMNH

EventAMNHOursDays off
2026 half sun (May)May 28, 8:14May 28, 8:130
2026 full sun (May)May 29, 8:13May 29, 8:120
2026 full sun (Jul)Jul 11, 8:20Jul 13, 8:202
2026 half sun (Jul)Jul 12, 8:21Jul 14, 8:212
2025 half sun (May)May 28, 8:13May 28, 8:130
2025 full sun (May)May 29, 8:12May 29, 8:120
2025 full sun (Jul)Jul 11, 8:20Jul 12, 8:201
2025 half sun (Jul)Jul 12, 8:22Jul 14, 8:212

The May dates match exactly; July comes out up to two days late, which is why the forecast is labelled a window and AMNH’s own times take precedence when published.

Subway: our overnight flag vs MTA’s route descriptions

The GTFS feed carries MTA’s own text description of each route (“at all times”, “daily from about 6 AM to 11 PM”…). Our computed overnight flag agrees with it for 24 of 24 routes with a clear description. 90% of route-directions show a median overnight gap of 18–21 minutes: overnight, most of the system runs on a 20-minute rhythm.

Licence locations

40 located licences (0.33%) fall in a different borough from the county on the licence. In the samples we checked, the licence’s ZIP code agreed with the location, not the county, so we keep the location.

What we don’t do

We don’t review, rate or list individual bars and clubs; the only business-level fact we use is that a licence exists. We don’t invent opening hours, events or dates: when an organiser hasn’t published one, we say so. Photos are chosen by hand from Wikimedia Commons and credited on the page.