MRT Jakarta is an API that displayed data as schedules, estimates and details of MRT Jakarta stations. This data is taken from the results of the jakartamrt website scrap which is then cached.
- All MRT Jakarta data stations
- Data schedules from one MRT Jakarta stations
- Estimated time and price between 2 MRT Jakarta stations
https://mrt-jakarta-api-production.up.railway.app/v1
Q | A |
---|---|
Response Format | JSON |
Requires Authentication? | No |
Rate limited? | Yes |
Get all data of MRT Jakarta stations
URL | https://mrt-jakarta-api-production.up.railway.app/v1/stations |
---|---|
Method | GET |
{
"status": "success",
"code": 200,
"data": [
{
"nid": "20",
"title": "Stasiun Lebak Bulus Grab",
"catatan": null,
"isbig": 1,
"path": "https://jakartamrt.co.id/id/stasiun/stasiun-lebak-bulus-grab",
"peta_lokalitas": "https://jakartamrt.co.id/sites/default/files/2020-09/5%20-%201%20-%20UI%20Kiosk%20-%20Fasilitas%2C%20Lokalitas%2C%20dan%20Ritel%20dalam%20Stasiun_PETA%20LOKALITAS_LBB_020920_Seha.png",
"banner": "https://jakartamrt.co.id/sites/default/files/2021-11/WEBBANNER_Lebak%20Bulus.jpg",
"urutan": 1
}
],
"message": "Success getting data"
}
Get one station data based on the given station id parameter
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38 |
---|---|
Method | GET |
Parameter 1 | 38 |
{
"status": "success",
"code": 200,
"data": {
"nid": "38",
"title": "Stasiun Dukuh Atas BNI",
"isbig": 1,
"path": "https://jakartamrt.co.id/id/stasiun/stasiun-dukuh-atas-bni",
"urutan": 12,
"banner": "https://jakartamrt.co.id/sites/default/files/2021-11/WEBBANNER_Dukuh%20Atas%20BNI.jpg",
"catatan": null,
"peta_lokalitas": "https://jakartamrt.co.id/sites/default/files/2020-09/5%20-%2012%20-%20UI%20Kiosk%20-%20Fasilitas%2C%20Lokalitas%2C%20dan%20Ritel%20dalam%20Stasiun_Peta%20Lokalitas_DKA%20020920%20Novita_-02.png"
},
"message": "Success getting data"
}
Get a schedule from one station based on the given station id parameter
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/schedules |
---|---|
Method | GET |
Parameter 1 | 38 |
{
"status": "success",
"code": 200,
"data": [
{
"location": "hi",
"times": {
"weekdays": ["05:00", "05:12", "05:24"],
"weekends": ["06:13", "06:26", "06:41"]
}
},
{
"location": "lb",
"times": {
"weekdays": ["05:09", "05:24", "05:36"],
"weekends": ["06:09", "06:24", "06:39"]
}
}
],
"message": "Success getting data"
}
Get the current schedule from one station based on the given station id parameter
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/schedules/now |
---|---|
Method | GET |
Parameter 1 | 38 |
Parameter 2 | now |
{
"status": "success",
"code": 200,
"data": [
{
"location": "hi",
"isWeekend": true,
"timeMills": {
"now": "1672467180000",
"next": ["1672467960000", "1672468860000", "1672469760000"]
}
},
{
"location": "lb",
"isWeekend": true,
"timeMills": {
"now": "1672466940000",
"next": ["1672467840000", "1672468740000", "1672469580000"]
}
}
],
"message": "Success getting data"
}
Get schedule by millisecond from one station based on the given station id parameter
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/schedules/1672461394371 |
---|---|
Method | GET |
Parameter 1 | 38 |
Parameter 2 | 1672461394371 |
{
"status": "success",
"code": 200,
"data": [
{
"location": "hi",
"isWeekend": true,
"timeMills": {
"now": "1672467180000",
"next": ["1672467960000", "1672468860000", "1672469760000"]
}
},
{
"location": "lb",
"isWeekend": true,
"timeMills": {
"now": "1672466940000",
"next": ["1672467840000", "1672468740000", "1672469580000"]
}
}
],
"message": "Success getting data"
}
Get price and time estimates from 2 stations based on the given station id parameters
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/estimates/30 |
---|---|
Method | GET |
Parameter 1 | 38 |
Parameter 2 | 30 |
{
"status": "success",
"code": 200,
"data": {
"stasiun_nid": "30",
"tarif": "9000",
"waktu": "18"
},
"message": "Success getting data"
}
Get data retail station based on the given station id parameters
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/estimates/30 |
---|---|
Method | GET |
Parameter 1 | 38 |
{
"status": "success",
"code": 200,
"data": [
{
"nid": "552",
"title": "ATM BCA",
"jenis_retail": "ATM",
"cover": "https://jakartamrt.co.id/sites/default/files/2021-07/50995829682_be4331f57f_b.jpg",
"path": "/id/retail/atm-bca"
},
{
"nid": "91",
"title": "ATM CIMB Niaga",
"jenis_retail": "ATM",
"cover": "https://jakartamrt.co.id/sites/default/files/2022-11/52514723220_6042a17ba0_k.jpg",
"path": "/id/retail/atm-cimb-niaga"
},
{
"nid": "776",
"title": "ATM Mandiri",
"jenis_retail": "ATM",
"cover": "https://jakartamrt.co.id/sites/default/files/2022-11/52514508709_a070a55156_k.jpg",
"path": "/id/retail/atm-mandiri"
}
],
"message": "Success getting data"
}
Get data facilities station based on the given station id parameters
URL | https://mrt-jakarta-api-production.up.railway.app/v1/station/38/facilities |
---|---|
Method | GET |
Parameter 1 | 38 |
{
"status": "success",
"code": 200,
"data": [
{
"nid": "319",
"title": "Hotel All Seasons",
"jenis_fasilitas": "Penginapan",
"cover": "https://jakartamrt.co.id/sites/default/files/2020-11/50600142741_d5255b5441_b.jpg",
"path": "/id/fasilitas/hotel-all-seasons"
},
{
"nid": "325",
"title": "Metro Coffee",
"jenis_fasilitas": "Restoran",
"cover": "https://jakartamrt.co.id/sites/default/files/2020-11/50600260042_d5b436bbb2_b.jpg",
"path": "/id/fasilitas/metro-coffee"
}
],
"message": "Success getting data"
}
- Make demo app, web and mobile (android, ios)
- My friends
- jakartamrt.co.id for providing the data