GET /tallinn/transport/vehicles
Positions GPS en temps réel de tous les véhicules de transport public de Tallinn — bus, tramways, trolleybus et trains. Renvoie le type de véhicule, le numéro de ligne, les coordonnées, la direction, l'identifiant du véhicule et l'arrêt le plus proche. Données de transport.tallinn.ee. Filtrez par type : bus, tramway, trolleybus.
type
optionnel
Filter by vehicle type: bus, tram, trolleybus, train
| Nom | Requis | Par défaut | Description |
|---|---|---|---|
type |
Non | - | Filter by vehicle type: bus, tram, trolleybus, train |
curl https://nordapi.ee/api/v1/tallinn/transport/vehicles
{
"data": {
"count": 26,
"vehicles": [
{
"at_stop": true,
"direction": 320,
"latitude": 59.46273,
"line": "2",
"longitude": 24.66539,
"nearest_stop": "Kopli",
"type": "trolleybus",
"type_code": "3",
"vehicle_id": "99"
},
{
"at_stop": true,
"direction": 312,
"latitude": 59.46281,
"line": "1",
"longitude": 24.66595,
"nearest_stop": "Kopli",
"type": "trolleybus",
"type_code": "3",
"vehicle_id": "114"
},
{
"at_stop": true,
"direction": 210,
"latitude": 59.41033,
"line": "83",
"longitude": 24.65829,
"nearest_stop": "Mustamäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "1014"
},
{
"at_stop": true,
"direction": 30,
"latitude": 59.41103,
"line": "8",
"longitude": 24.65936,
"nearest_stop": "Väike-Õismäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "1165"
},
{
"at_stop": true,
"direction": 212,
"latitude": 59.41009,
"line": "83",
"longitude": 24.65802,
"nearest_stop": "Mustamäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "1302"
},
{
"at_stop": true,
"direction": 190,
"latitude": 59.41088,
"line": "35",
"longitude": 24.65869,
"nearest_stop": "Pelguranna",
"type": "bus",
"type_code": "2",
"vehicle_id": "2070"
},
{
"at_stop": true,
"direction": 31,
"latitude": 59.41094,
"line": "42",
"longitude": 24.65862,
"nearest_stop": "Väike-Õismäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "2074"
},
{
"at_stop": true,
"direction": 80,
"latitude": 59.41142,
"line": "57",
"longitude": 24.66246,
"nearest_stop": "Kalev",
"type": "bus",
"type_code": "2",
"vehicle_id": "2140"
},
{
"at_stop": true,
"direction": 127,
"latitude": 59.41141,
"line": "20",
"longitude": 24.66242,
"nearest_stop": "Reisisadama D-terminal",
"type": "bus",
"type_code": "2",
"vehicle_id": "2181"
},
{
"at_stop": true,
"direction": 189,
"latitude": 59.41138,
"line": "16",
"longitude": 24.66236,
"nearest_stop": "Tallinn-Väike",
"type": "bus",
"type_code": "2",
"vehicle_id": "2188"
},
{
"at_stop": true,
"direction": 335,
"latitude": 59.41133,
"line": "20",
"longitude": 24.6623,
"nearest_stop": "Reisisadama D-terminal",
"type": "bus",
"type_code": "2",
"vehicle_id": "2194"
},
{
"at_stop": true,
"direction": 301,
"latitude": 59.40996,
"line": "35",
"longitude": 24.65696,
"nearest_stop": "Pelguranna",
"type": "bus",
"type_code": "2",
"vehicle_id": "2483"
},
{
"at_stop": false,
"direction": 122,
"latitude": 59.40905,
"line": "36",
"longitude": 24.65945,
"nearest_stop": "Väike-Õismäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "2595"
},
{
"at_stop": true,
"direction": 121,
"latitude": 59.4085,
"line": "10",
"longitude": 24.66065,
"nearest_stop": "Väike-Õismäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "2731"
},
{
"at_stop": true,
"direction": 270,
"latitude": 59.41006,
"line": "16",
"longitude": 24.65696,
"nearest_stop": "Väike-Õismäe",
"type": "bus",
"type_code": "2",
"vehicle_id": "2732"
},
{
"at_stop": true,
"direction": 162,
"latitude": 59.43225,
"line": "13",
"longitude": 24.84107,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3154"
},
{
"at_stop": true,
"direction": 55,
"latitude": 59.43158,
"line": "66",
"longitude": 24.84172,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3306"
},
{
"at_stop": true,
"direction": 182,
"latitude": 59.43121,
"line": "67",
"longitude": 24.84091,
"nearest_stop": "Seli",
"type": "bus",
"type_code": "2",
"vehicle_id": "3360"
},
{
"at_stop": true,
"direction": 112,
"latitude": 59.43235,
"line": "42",
"longitude": 24.84143,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3361"
},
{
"at_stop": true,
"direction": 113,
"latitude": 59.43219,
"line": "67",
"longitude": 24.84247,
"nearest_stop": "Seli",
"type": "bus",
"type_code": "2",
"vehicle_id": "3541"
},
{
"at_stop": true,
"direction": 124,
"latitude": 59.43198,
"line": "12",
"longitude": 24.84262,
"nearest_stop": "Seli",
"type": "bus",
"type_code": "2",
"vehicle_id": "3549"
},
{
"at_stop": true,
"direction": 82,
"latitude": 59.43275,
"line": "40",
"longitude": 24.84227,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3564"
},
{
"at_stop": true,
"direction": 259,
"latitude": 59.43213,
"line": "49",
"longitude": 24.84254,
"nearest_stop": "Lennujaam",
"type": "bus",
"type_code": "2",
"vehicle_id": "3582"
},
{
"at_stop": true,
"direction": 138,
"latitude": 59.43225,
"line": "54",
"longitude": 24.84096,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3788"
},
{
"at_stop": true,
"direction": 108,
"latitude": 59.43256,
"line": "13",
"longitude": 24.84079,
"nearest_stop": "Priisle",
"type": "bus",
"type_code": "2",
"vehicle_id": "3898"
},
{
"at_stop": false,
"direction": 316,
"latitude": 59.41162,
"line": "84",
"longitude": 24.66129,
"nearest_stop": "Keskuse",
"type": "tram",
"type_code": "1",
"vehicle_id": "6353"
}
]
},
"success": true
}