API Reference
All endpoints return JSON with Cache-Control headers. CORS is enabled for all origins. Base URL: https://nyctripdata.com
GET
/api/v1/statsOverall platform statistics (dataset count, total records, latest month)
GET
/api/v1/datasetsList all available datasets with metadata
GET
/api/v1/taxi/zonesTaxi zone-level monthly statistics
Query Parameters
type | Taxi type: yellow, green, fhvhv |
month | Year-month filter: YYYY-MM |
GET
/api/v1/taxi/hourlyHourly taxi demand patterns
Query Parameters
type | Taxi type |
month | Year-month |
GET
/api/v1/taxi/boroughTaxi trips aggregated by borough
Query Parameters
type | Taxi type |
month | Year-month |
GET
/api/v1/subway/stationsSubway station monthly ridership
Query Parameters
month | Year-month |
GET
/api/v1/subway/hourlyHourly subway ridership patterns
Query Parameters
month | Year-month |
dayType | weekday or weekend |
GET
/api/v1/citibike/stationsCiti Bike station monthly activity
Query Parameters
month | Year-month |
GET
/api/v1/citibike/hourlyHourly Citi Bike usage patterns
Query Parameters
month | Year-month |
memberType | member or casual |
GET
/api/v1/air/monthlyMonthly airport operations
Query Parameters
airport | Airport code: JFK, LGA, EWR |
month | Year-month |
GET
/api/v1/weather/dailyDaily weather observations
Query Parameters
station | Weather station ID |
from | Start date: YYYY-MM-DD |
to | End date: YYYY-MM-DD |
GET
/api/v1/weather/monthlyMonthly weather summaries
Query Parameters
station | Weather station ID |
month | Year-month |
GET
/api/v1/geo/zonesTaxi zone boundaries (GeoJSON)
GET
/api/v1/geo/subway-stationsSubway station locations (GeoJSON)
GET
/api/v1/geo/citibike-stationsCiti Bike station locations (GeoJSON)
GET
/api/v1/download/:filenameDownload raw parquet file from R2
Query Parameters
filename | Parquet filename (URL param) |