Indonesian Train Schedule - Jadwal Kereta

フリー
開発者 jadwalkeretaapi
更新日 1年前
旅行
7.1/10
人気度
22718ms
レイテンシ
100%
正常稼働率

「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.

全文を表示する
GETGet schedule
GETGet schedule

Get Schedule

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
regstasiunNUMBER
REQUIREDAfter register you can add up to 5 origin-destination, this example I Use Surabaya to Madiun
tanggalNUMBER
REQUIREDYou can input Equal or Greater than Now date with format 'YYYYMMDD'
apikeyNUMBER
REQUIREDAfter register you can get an API Key. But for the test, you can try 101487229685974604868
パラメータ(Option)
dewasaNUMBER
OPTIONALDefault is 1 and max is 4
infantSTRING
OPTIONALDefault is 0 and max is 4
コードスニペット
SDKをインストール
{"tanggal":"Senin, 06 November 2017","asal":"SDA#SIDOARJO","tujuan":"MN#MADIUN","dewasa":"1","anak-anak":"0","jadwal":[{"Kereta" : "RANGGAJATI (101)","Kelas" : "Eksekutif","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 275.000 (Subclass A)","Status" : "Tiket ada"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Eksekutif","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 260.000 (Subclass H)","Status" : "Habis"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Eksekutif","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 245.000 (Subclass I)","Status" : "Habis"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Eksekutif","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 235.000 (Subclass J)","Status" : "Habis"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Bisnis","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 205.000 (Subclass B)","Status" : "Tiket ada"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Bisnis","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 190.000 (Subclass K)","Status" : "Habis"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Bisnis","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 175.000 (Subclass N)","Status" : "Habis"},{"Kereta" : "RANGGAJATI (101)","Kelas" : "Bisnis","Berangkat" : "08:22 06 Nov 2017","Datang" : "11:53 06 Nov 2017","Durasi" : "3j 31m","Harga" : "Rp 165.000 (Subclass O)","Status" : "Habis"},{"Kereta" : "LOGAWA (187)","Kelas" : "Ekonomi","Berangkat" : "09:50 06 Nov 2017","Datang" : "13:49 06 Nov 2017","Durasi" : "3j 59m","Harga" : "Rp 74.000 (Subclass C)","Status" : "Habis"},{"Kereta" : "SRI TANJUNG (193)","Kelas" : "Ekonomi","Berangkat" : "12:34 06 Nov 2017","Datang" : "16:22 06 Nov 2017","Durasi" : "3j 48m","Harga" : "Rp 94.000 (Subclass C)","Status" : "Tiket ada"},{"Kereta" : "BIMA (43)","Kelas" : "Eksekutif","Berangkat" : "16:00 06 Nov 2017","Datang" : "19:30 06 Nov 2017","Durasi" : "3j 30m","Harga" : "Rp 340.000 (Subclass A)","Status" : "Tiket ada"},{"Kereta" : "BIMA (43)","Kelas" : "Eksekutif","Berangkat" : "16:00 06 Nov 2017","Datang" : "19:30 06 Nov 2017","Durasi" : "3j 30m","Harga" : "Rp 320.000 (Subclass H)","Status" : "Tiket ada"},{"Kereta" : "BIMA (43)","Kelas" : "Eksekutif","Berangkat" : "16:00 06 Nov 2017","Datang" : "19:30 06 Nov 2017","Durasi" : "3j 30m","Harga" : "Rp 295.000 (Subclass I)","Status" : "Tiket ada"},{"Kereta" : "BIMA (43)","Kelas" : "Eksekutif","Berangkat" : "16:00 06 Nov 2017","Datang" : "19:30 06 Nov 2017","Durasi" : "3j 30m","Harga" : "Rp 280.000 (Subclass J)","Status" : "Tiket ada"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Eksekutif","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 280.000 (Subclass A)","Status" : "Tiket ada"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Eksekutif","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 260.000 (Subclass H)","Status" : "Habis"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Eksekutif","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 240.000 (Subclass I)","Status" : "Habis"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Eksekutif","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 220.000 (Subclass J)","Status" : "Habis"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Bisnis","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 205.000 (Subclass B)","Status" : "Tiket ada"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Bisnis","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 190.000 (Subclass K)","Status" : "Habis"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Bisnis","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 175.000 (Subclass N)","Status" : "Habis"},{"Kereta" : "MUTIARA SELATAN (111)","Kelas" : "Bisnis","Berangkat" : "18:03 06 Nov 2017","Datang" : "21:40 06 Nov 2017","Durasi" : "3j 37m","Harga" : "Rp 165.000 (Subclass O)","Status" : "Habis"}]}

SDKをインストール((Node.js)Unirest)

OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証