← Estland

Tallinn fordon i realtid

GET /tallinn/transport/vehicles

GPS-positioner i realtid för alla kollektivtrafikfordon i Tallinn – bussar, spårvagnar, trådbussar och tåg. Returnerar fordonstyp, linjenummer, koordinater, riktning, fordons-ID och närmaste hållplats. Data från transport.tallinn.ee. Filtrera efter typ: bus, tram, trolleybus.

Se det visualiserat

Parametrar

typ valfri

Filter by vehicle type: bus, tram, trolleybus, train

Exempelförfrågningar

Grundläggande användning
curl https://nordapi.ee/api/v1/tallinn/transport/vehicles

Livesvar

{
  "data": {
    "count": 24,
    "vehicles": [
      {
        "at_stop": true,
        "direction": 320,
        "latitude": 59.46272,
        "line": "2",
        "longitude": 24.66543,
        "nearest_stop": "Kopli",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "99"
      },
      {
        "at_stop": true,
        "direction": 312,
        "latitude": 59.4628,
        "line": "1",
        "longitude": 24.66594,
        "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.41086,
        "line": "35",
        "longitude": 24.65884,
        "nearest_stop": "Pelguranna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2070"
      },
      {
        "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": 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.40851,
        "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.65695,
        "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.43161,
        "line": "66",
        "longitude": 24.8417,
        "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.432,
        "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.43223,
        "line": "54",
        "longitude": 24.8409,
        "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
}