K3 Bus Route Arrival returning empty array

Hi there,

I’ve been using the followng stoppoint to find arrival times for buses near my house:

https://api.tfl.gov.uk/StopPoint/40004405165B/

using:

https://api.tfl.gov.uk/StopPoint/40004405165B/arrivals

but it’s just stopped working fairly recently, now giving an empty array back []

Has there been a change to the API?

Thanks for any info,

Stuart

Hi Stuart,

Your call https://api.tfl.gov.uk/StopPoint/40004405165B/Arrivals seems to be working. Is it possible that you queried the stoppoint arrivals during an infrequent part of the timetable or during a suspension/diversion/curtailment of the bus?

The source data only shows predictions for buses for the upcoming 30 minutes.

Thanks,
James
Technology Service Operations

Hi James,

It looks like you’re right - I did a cursory check and think it could be that the bus route was diverted for a spell.

Thanks for having a look - much appreciated!

Best wishes,
Stuart

1 Like