ready-to-use endpoints in this product, with JSON responses and consistent error handling.
Transjakarta bus routes with the halte they serve, fares, and departure headways.
Data as of · Source: Official Transjakarta GTFS
Transjakarta bus routes with the halte they serve, fares, and departure headways.
ready-to-use endpoints in this product, with JSON responses and consistent error handling.
Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.
https://use.apiindonesia.id/api/v1/transjakarta/ruteReturns the 240 Transjakarta routes.
This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.
curl "https://use.apiindonesia.id/api/v1/transjakarta/rute?q=blok&per_page=2" \
-H "x-api-key: YOUR_API_KEY"{
"success": true,
"data": [
{ "id": "1", "short_name": "1", "long_name": "Blok M - Kota", "description": "BRT", "route_type": 3, "color": "D62126", "text_color": "FFFFFF", "jumlah_halte": 59 },
{ "id": "1C", "short_name": "1C", "long_name": "Pesanggrahan - Blok M", "description": "Angkutan Umum Integrasi", "route_type": 3, "color": "D65E62", "text_color": "000000", "jumlah_halte": 76 }
],
"meta": {
"total": 23,
"page": 1,
"per_page": 2,
"total_pages": 12,
"attribution": {
"source": "PT Transportasi Jakarta (Transjakarta) GTFS",
"license": "CC BY 4.0",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://gtfs.transjakarta.co.id/files/file_gtfs.zip",
"attribution_page": "https://ppid.transjakarta.co.id/informasi/berkala",
"notice": "Data diubah: dinormalisasi ke format JSON API Indonesia"
}
}
}Just need the file? The same data is also sold as a one-time file, no API key and no per-request credits.
Routes with the halte they serve, nearest-halte search from a coordinate, fares and per-route departure headways, from the official static GTFS by PT Transportasi Jakarta.
Call GET /api/v1/transjakarta/halte/nearby with lat, lng and optional radius and limit.
Yes, because the GTFS is released under CC BY 4.0, as long as attribution is kept. Every response carries meta.attribution you can pass through.