Документация по API Indonesian Train Schedule - Jadwal Kereta
This API is free to use as we host it in free appharbor. You can add up to your 5 favorite origin-destination.
We get the data from tiket.kereta-api.co.id. So as long as we do not violate their rules, you can still have the data.