{"system":"nj-transit","id":"138","name":"SOMERVILLE","url":"https://mochipi.com/agents/nj-transit/stations/somerville","location":{"lat":40.566075,"lon":-74.61397},"routes":[{"id":"16","label":"Raritan Valley Line","name":"Raritan Valley Line","url":"https://mochipi.com/agents/nj-transit/lines/raritan-valley-line"}],"serves":[{"route":"Raritan Valley Line","toward":"NEWARK PENN STATION"},{"route":"Raritan Valley Line","toward":"RARITAN"}],"system_name":"NJ Transit rail and light rail","code":"95138","next_departures":[{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","departs":"2026-09-30T23:01:45-04:00","minutes":1,"trip":"5155"},{"route":"16","route_label":"Raritan Valley Line","destination":"NEWARK PENN STATION","departs":"2026-09-30T23:40:00-04:00","minutes":39,"scheduled":true},{"route":"16","route_label":"Raritan Valley Line","destination":"HIGH BRIDGE","departs":"2026-10-01T00:01:30-04:00","minutes":61,"trip":"5197"},{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","departs":"2026-10-01T01:20:00-04:00","minutes":139,"scheduled":true}],"departure_groups":[{"direction":"Toward HIGH BRIDGE","services":[{"route":"16","route_label":"Raritan Valley Line","destination":"HIGH BRIDGE","scheduled":false,"arrivals":[{"route":"16","route_label":"Raritan Valley Line","destination":"HIGH BRIDGE","departs":"2026-10-01T00:01:30-04:00","minutes":61,"trip":"5197"}]}]},{"direction":"Toward NEWARK PENN STATION","services":[{"route":"16","route_label":"Raritan Valley Line","destination":"NEWARK PENN STATION","scheduled":true,"arrivals":[{"route":"16","route_label":"Raritan Valley Line","destination":"NEWARK PENN STATION","departs":"2026-09-30T23:40:00-04:00","minutes":39,"scheduled":true}]}]},{"direction":"Toward RARITAN","services":[{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","scheduled":false,"arrivals":[{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","departs":"2026-09-30T23:01:45-04:00","minutes":1,"trip":"5155"}]},{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","scheduled":true,"arrivals":[{"route":"16","route_label":"Raritan Valley Line","destination":"RARITAN","departs":"2026-10-01T01:20:00-04:00","minutes":139,"scheduled":true}]}]}],"alerts":[{"url":"https://www.njtransit.com/node/2177056","id":"https://www.njtransit.com/node/2177056","type":"Advisory","active_now":true,"header":"UPDATE: Somerville Station: Westbound Elevator Returned to Service - Effective Immediately","routes":[],"stops":[],"upcoming_periods":[],"updated":"2026-09-30T16:05:59-04:00","matched_by":"the advisory's text names this station"},{"url":"https://www.njtransit.com/node/2167486","id":"https://www.njtransit.com/node/2167486","type":"Advisory","active_now":true,"header":"Raritan Valley Line: Possible Delays due to Track Maintenance – Weekdays from Wednesday, September 23 through Friday, October 9, 2026","routes":[],"stops":[],"upcoming_periods":[],"updated":"2026-09-10T09:24:48-04:00","matched_by":"the advisory's text names a line serving this station"},{"url":"https://www.njtransit.com/node/2030148","id":"https://www.njtransit.com/node/2030148","type":"Advisory","active_now":true,"header":"Somerville Station: Construction Activity Resulting in Changed Traffic Patterns – Effective Immediately","routes":[],"stops":[],"upcoming_periods":[],"updated":"2025-12-30T13:54:43-05:00","matched_by":"the advisory's text names this station"},{"url":"https://www.njtransit.com/node/2167489","id":"https://www.njtransit.com/node/2167489","type":"Advisory","active_now":true,"header":"Raritan Valley Line: Possible Delays due to Track Maintenance – Weekdays from Wednesday, September 23 through Friday, October 2, 2026","routes":[],"stops":[],"upcoming_periods":[],"updated":"2026-09-10T09:27:44-04:00","matched_by":"the advisory's text names a line serving this station"}],"freshness":{"departures":{"as_of":"2026-09-30T23:00:36-04:00","feed_age_seconds":10,"fetched_from_source":"2026-09-30T23:00:45-04:00","source":"live predictions, with the published timetable for Raritan Valley Line"},"alerts":{"as_of":"2026-09-30T22:46:25-04:00","feed_age_seconds":861,"fetched_from_source":"2026-09-30T23:00:45-04:00"}},"feed_errors":[],"nearby":"https://mochipi.com/agents/nearby?lat=40.566075&lon=-74.61397","notes":["Next departures are live predictions for the next 3 hour(s) and change minute to minute; an empty list means none are predicted, not that service has ended.","Trips not yet in the live feed (it lists those running or leaving soon) are the published timetable (\"scheduled\": true).","Alerts shown: in effect now, or starting within 7 days, for this station or its routes as a whole.","NJ Transit rail and light rail times are live from NJ TRANSIT's developer APIs where a train is in their feeds (about half an hour ahead), otherwise the published schedule from NJ TRANSIT's public GTFS, marked scheduled. Advisories are NJ TRANSIT's own, from its public RSS feeds, unmodified. NJ TRANSIT data is provided as-is and is not to be relied on for any commercial purpose. Not affiliated with or endorsed by NJ TRANSIT."]}