{"api":{"id":"api_371de021d6f98526c26446fe","slug":"septa-next-to-arrive","name":"SEPTA Next Trains API","description":"The next SEPTA Regional Rail trains between two stations: train number, line, departure and arrival times in 24-hour format, delay in minutes as a number, and whether the trip is direct.","kind":"ready_made","visibility":"public","domain":"www3.septa.org","source_url":"https://www3.septa.org/api/NextToArrive/index.php","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T04:45:48.396Z","updated_at":"2026-12-06T04:45:48.396Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"train_number","type":"string","description":"SEPTA train number.","required":true,"coverage":1,"example":"5369"},{"name":"line","type":"string","description":"Regional Rail line, such as Airport.","required":false,"coverage":1,"example":"Media/Wawa"},{"name":"departure_time","type":"string","description":"Departure from the first station, 24-hour HH:MM.","required":false,"coverage":1,"example":"23:43"},{"name":"arrival_time","type":"string","description":"Arrival at the second station, 24-hour HH:MM.","required":false,"coverage":1,"example":"23:48"},{"name":"delay_minutes","type":"integer","description":"Minutes late; 0 when on time.","required":false,"coverage":1,"example":0},{"name":"delay","type":"string","description":"SEPTA's delay text, such as On time or 1 min.","required":false,"coverage":1,"example":"On time"},{"name":"direct","type":"boolean","description":"True when the trip needs no transfer.","required":false,"coverage":1,"example":true}],"inputs":[{"name":"from_station","type":"string","description":"Departure station name as SEPTA writes it.","example":"Suburban Station","required":true},{"name":"to_station","type":"string","description":"Arrival station name as SEPTA writes it.","example":"30th Street Station","required":true},{"name":"count","type":"integer","description":"Trains to return, 1 to 20.","default":5,"example":5}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"arrival_time":{"description":"Arrival at the second station, 24-hour HH:MM.","type":"string"},"delay":{"description":"SEPTA's delay text, such as On time or 1 min.","type":"string"},"delay_minutes":{"description":"Minutes late; 0 when on time.","type":"integer"},"departure_time":{"description":"Departure from the first station, 24-hour HH:MM.","type":"string"},"direct":{"description":"True when the trip needs no transfer.","type":"boolean"},"line":{"description":"Regional Rail line, such as Airport.","type":"string"},"train_number":{"description":"SEPTA train number.","type":"string"}},"required":["train_number"],"title":"SEPTA Next Trains API","type":"object"},"samples":[{"train_number":"5369","line":"Media/Wawa","departure_time":"23:43","arrival_time":"23:48","delay_minutes":0,"delay":"On time","direct":true},{"train_number":"6479","line":"Airport","departure_time":"23:55","arrival_time":"00:00","delay_minutes":0,"delay":"On time","direct":true},{"train_number":"6343","line":"Media/Wawa","departure_time":"00:20","arrival_time":"00:24","delay_minutes":19,"delay":"19 mins","direct":true}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"arrival_time":1,"delay":1,"delay_minutes":1,"departure_time":1,"direct":1,"line":1,"train_number":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_371de021d6f98526c26446fe/run","openapi":"https://pullrow.dev/v1/apis/api_371de021d6f98526c26446fe/openapi.json","contract":"https://pullrow.dev/v1/apis/api_371de021d6f98526c26446fe/contract.json","page":"https://pullrow.dev/catalog/septa-next-to-arrive"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Live data for Regional Rail only, between two named stations; it shows the next trains at the time of the request, not a timetable for another day.","At most 20 trains per request; names must match SEPTA station names such as Suburban Station.","Times are SEPTA's local Philadelphia times as HH:MM; a train after midnight still shows the clock time only, with no date.","Unknown stations return no trains. Data is SEPTA's public API and no SEPTA endorsement is implied."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"train_number","label":"SEPTA train number","description":"","group":"Basics","shown":true,"written":false},{"name":"line","label":"Line","description":"Regional Rail line, such as Airport.","group":"Basics","shown":true,"written":false},{"name":"departure_time","label":"Departure time","description":"Departure from the first station, 24-hour HH:MM.","group":"Dates","shown":true,"written":false},{"name":"arrival_time","label":"Arrival time","description":"Arrival at the second station, 24-hour HH:MM.","group":"Dates","shown":true,"written":false},{"name":"delay_minutes","label":"Delay (minutes)","description":"Minutes late; 0 when on time.","group":"Basics","shown":true,"written":false},{"name":"delay","label":"Delay","description":"SEPTA's delay text, such as On time or 1 min.","group":"Basics","shown":true,"written":false},{"name":"direct","label":"Direct","description":"Yes when the trip needs no transfer.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"from_station","label":"From station","help":"Departure station name as SEPTA writes it.","example":"Suburban Station","written":false},{"name":"to_station","label":"To station","help":"Arrival station name as SEPTA writes it.","example":"30th Street Station","written":false},{"name":"count","label":"Count","help":"Trains to return, 1 to 20.","example":"5","written":false}]}},"incidents":[]}