For the past month or so, my two bus stops of interest produced intermittent results for the Arrivals endpoint. As of yesterday, the endpoint has finally degraded. It simply gives empty response []
. If I query a different StopPoint id, everything looks fine.
I appreciate the service has no SLA. What are my options to continue to receive non-empty feeds for my StopPoint ids of interest, please?
A semi-related observation: while Google Maps fell back to timetables (no live arrivals) for my stops of interest, the Bus Times app continue to get the real time data. Would it imply Bus Times is using a cleverer API?
Other stop (Okay):
curl https://api.tfl.gov.uk/StopPoint/490014495X/Arrivals
JSON output
[{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-2025510269","operationType":1,"vehicleId":"YX13BKL","naptanId":"490014495X","stationName":"Westminster Abbey","lineId":"88","lineName":"88","platformName":"X","direction":"outbound","bearing":"188","destinationNaptanId":"","destinationName":"Clapham Common","timestamp":"2021-11-13T15:56:15.893389Z","timeToStation":900,"currentLocation":"","towards":"Vauxhall","expectedArrival":"2021-11-13T16:11:15Z","timeToLive":"2021-11-13T16:11:45Z","modeName":"bus","timing":{"$type":"Tfl.Api.Presentation.Entities.PredictionTiming, Tfl.Api.Presentation.Entities","countdownServerAdjustment":"00:00:14.4940386","source":"2021-11-13T15:19:33.423Z","insert":"2021-11-13T15:56:11.545Z","read":"2021-11-13T15:56:26.015Z","sent":"2021-11-13T15:56:15Z","received":"0001-01-01T00:00:00Z"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-1215679495","operationType":1,"vehicleId":"YX18KXE","naptanId":"490014495X","stationName":"Westminster Abbey","lineId":"88","lineName":"88","platformName":"X","direction":"outbound","bearing":"188","destinationNaptanId":"","destinationName":"Clapham Common","timestamp":"2021-11-13T15:56:15.893389Z","timeToStation":581,"currentLocation":"","towards":"Vauxhall","expectedArrival":"2021-11-13T16:05:56Z","timeToLive":"2021-11-13T16:06:26Z","modeName":"bus","timing":{"$type":"Tfl.Api.Presentation.Entities.PredictionTiming, Tfl.Api.Presentation.Entities","countdownServerAdjustment":"00:00:14.4866847","source":"2021-11-13T15:19:33.423Z","insert":"2021-11-13T15:55:24.372Z","read":"2021-11-13T15:55:38.88Z","sent":"2021-11-13T15:56:15Z","received":"0001-01-01T00:00:00Z"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-385273896","operationType":1,"vehicleId":"YX18KXZ","naptanId":"490014495X","stationName":"Westminster Abbey","lineId":"88","lineName":"88","platformName":"X","direction":"outbound","bearing":"188","destinationNaptanId":"","destinationName":"Clapham Common","timestamp":"2021-11-13T15:56:15.893389Z","timeToStation":1548,"currentLocation":"","towards":"Vauxhall","expectedArrival":"2021-11-13T16:22:03Z","timeToLive":"2021-11-13T16:22:33Z","modeName":"bus","timing":{"$type":"Tfl.Api.Presentation.Entities.PredictionTiming, Tfl.Api.Presentation.Entities","countdownServerAdjustment":"00:00:14.4940386","source":"2021-11-13T15:19:33.423Z","insert":"2021-11-13T15:56:11.545Z","read":"2021-11-13T15:56:26.015Z","sent":"2021-11-13T15:56:15Z","received":"0001-01-01T00:00:00Z"}}]
My stops of interest (Empty):
curl https://api.tfl.gov.uk/StopPoint/490009201E/Arrivals
[]
curl https://api.tfl.gov.uk/StopPoint/490009201W/Arrivals
[]