{"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},"version":"1.0","contract_hash":"cbb056a8fd24a38cff9e762e478cd8dcd4ffdefa00aea1933127e5eff6ba62f0","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.396Z","activated_at":"2026-12-06T04:45:48.396Z","active":true,"contract_hash":"cbb056a8fd24a38cff9e762e478cd8dcd4ffdefa00aea1933127e5eff6ba62f0","fields_count":7}]}