← 爱沙尼亚

塔林实时车辆

GET /tallinn/transport/vehicles

塔林所有公共交通车辆的实时 GPS 位置——公共汽车、有轨电车、无轨电车和火车。返回车辆类型、线路号、坐标、方向、车辆 ID 和最近站点。数据来自 transport.tallinn.ee。可按类型筛选:公共汽车、有轨电车、无轨电车。

查看可视化效果

参数

类型 可选

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

请求示例

基本用法
curl https://nordapi.ee/api/v1/tallinn/transport/vehicles

实时响应

{
  "data": {
    "count": 89,
    "vehicles": [
      {
        "at_stop": true,
        "direction": 17,
        "latitude": 59.46283,
        "line": "T1",
        "longitude": 24.66473,
        "nearest_stop": "Kopli",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "98"
      },
      {
        "at_stop": true,
        "direction": 320,
        "latitude": 59.46268,
        "line": "T1",
        "longitude": 24.66556,
        "nearest_stop": "Kopli",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "109"
      },
      {
        "at_stop": true,
        "direction": 319,
        "latitude": 59.4629,
        "line": "T6",
        "longitude": 24.6655,
        "nearest_stop": "Kopli",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "110"
      },
      {
        "at_stop": true,
        "direction": 170,
        "latitude": 59.41914,
        "line": "T4",
        "longitude": 24.74357,
        "nearest_stop": "Pärnu mnt depoo",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "512"
      },
      {
        "at_stop": true,
        "direction": 152,
        "latitude": 59.41903,
        "line": "T2",
        "longitude": 24.74392,
        "nearest_stop": "Pärnu mnt depoo",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "515"
      },
      {
        "at_stop": false,
        "direction": 172,
        "latitude": 59.41914,
        "line": "T4",
        "longitude": 24.7435,
        "nearest_stop": "Pärnu mnt depoo",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "522"
      },
      {
        "at_stop": false,
        "direction": 155,
        "latitude": 59.41907,
        "line": "T4",
        "longitude": 24.74413,
        "nearest_stop": "Pärnu mnt depoo",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "524"
      },
      {
        "at_stop": false,
        "direction": 114,
        "latitude": 59.41908,
        "line": "T2",
        "longitude": 24.74428,
        "nearest_stop": "Pärnu mnt depoo",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "535"
      },
      {
        "at_stop": false,
        "direction": 293,
        "latitude": 59.46301,
        "line": "T2",
        "longitude": 24.66469,
        "nearest_stop": "Kopli",
        "type": "trolleybus",
        "type_code": "3",
        "vehicle_id": "541"
      },
      {
        "at_stop": true,
        "direction": 132,
        "latitude": 59.4102,
        "line": "42",
        "longitude": 24.65817,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1009"
      },
      {
        "at_stop": true,
        "direction": 254,
        "latitude": 59.41093,
        "line": "40",
        "longitude": 24.65882,
        "nearest_stop": "Pelguranna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1012"
      },
      {
        "at_stop": true,
        "direction": 139,
        "latitude": 59.4114,
        "line": "1",
        "longitude": 24.66246,
        "nearest_stop": "Vana-Pääsküla",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1014"
      },
      {
        "at_stop": true,
        "direction": 257,
        "latitude": 59.40971,
        "line": "42",
        "longitude": 24.65751,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1016"
      },
      {
        "at_stop": true,
        "direction": 209,
        "latitude": 59.40956,
        "line": "1",
        "longitude": 24.65724,
        "nearest_stop": "Vana-Pääsküla",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1019"
      },
      {
        "at_stop": true,
        "direction": 203,
        "latitude": 59.40845,
        "line": "8",
        "longitude": 24.6605,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1142"
      },
      {
        "at_stop": true,
        "direction": 353,
        "latitude": 59.36111,
        "line": "96",
        "longitude": 24.63005,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "1204"
      },
      {
        "at_stop": true,
        "direction": 240,
        "latitude": 59.42931,
        "line": "91",
        "longitude": 24.73354,
        "nearest_stop": "Mustamäe",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "1225"
      },
      {
        "at_stop": true,
        "direction": 333,
        "latitude": 59.43406,
        "line": "93",
        "longitude": 24.73363,
        "nearest_stop": "Pelguranna",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "1232"
      },
      {
        "at_stop": true,
        "direction": 42,
        "latitude": 59.44162,
        "line": "93",
        "longitude": 24.74162,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "1233"
      },
      {
        "at_stop": true,
        "direction": 53,
        "latitude": 59.44166,
        "line": "96",
        "longitude": 24.7416,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "1235"
      },
      {
        "at_stop": true,
        "direction": 169,
        "latitude": 59.40863,
        "line": "18",
        "longitude": 24.66086,
        "nearest_stop": "Viru keskus",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1243"
      },
      {
        "at_stop": true,
        "direction": 197,
        "latitude": 59.40941,
        "line": "36",
        "longitude": 24.65766,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1265"
      },
      {
        "at_stop": true,
        "direction": 33,
        "latitude": 59.41011,
        "line": "67",
        "longitude": 24.65804,
        "nearest_stop": "Sütiste",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1304"
      },
      {
        "at_stop": true,
        "direction": 231,
        "latitude": 59.40973,
        "line": "40",
        "longitude": 24.65756,
        "nearest_stop": "Pelguranna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1315"
      },
      {
        "at_stop": true,
        "direction": 341,
        "latitude": 59.41189,
        "line": "8",
        "longitude": 24.65992,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1350"
      },
      {
        "at_stop": true,
        "direction": 358,
        "latitude": 59.41194,
        "line": "36",
        "longitude": 24.65998,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1352"
      },
      {
        "at_stop": false,
        "direction": 216,
        "latitude": 59.40916,
        "line": "12",
        "longitude": 24.6594,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1367"
      },
      {
        "at_stop": true,
        "direction": 144,
        "latitude": 59.40977,
        "line": "67",
        "longitude": 24.65896,
        "nearest_stop": "Sütiste",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1438"
      },
      {
        "at_stop": true,
        "direction": 275,
        "latitude": 59.40991,
        "line": "67",
        "longitude": 24.65789,
        "nearest_stop": "Sütiste",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1553"
      },
      {
        "at_stop": true,
        "direction": 203,
        "latitude": 59.40961,
        "line": "24A",
        "longitude": 24.658,
        "nearest_stop": "Kadaka",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1560"
      },
      {
        "at_stop": true,
        "direction": 289,
        "latitude": 59.41008,
        "line": "24",
        "longitude": 24.65774,
        "nearest_stop": "Kadaka",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1561"
      },
      {
        "at_stop": true,
        "direction": 129,
        "latitude": 59.40835,
        "line": "41",
        "longitude": 24.66085,
        "nearest_stop": "Balti jaam",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1568"
      },
      {
        "at_stop": true,
        "direction": 281,
        "latitude": 59.41005,
        "line": "24",
        "longitude": 24.65798,
        "nearest_stop": "Kadaka",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1569"
      },
      {
        "at_stop": true,
        "direction": 301,
        "latitude": 59.41136,
        "line": "8",
        "longitude": 24.65974,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1759"
      },
      {
        "at_stop": true,
        "direction": 231,
        "latitude": 59.43251,
        "line": "34",
        "longitude": 24.84119,
        "nearest_stop": "Viru keskus",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1957"
      },
      {
        "at_stop": true,
        "direction": 162,
        "latitude": 59.43213,
        "line": "34",
        "longitude": 24.84238,
        "nearest_stop": "Viru keskus",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1960"
      },
      {
        "at_stop": true,
        "direction": 18,
        "latitude": 59.4323,
        "line": "91",
        "longitude": 24.73953,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "2065"
      },
      {
        "at_stop": false,
        "direction": 25,
        "latitude": 59.40924,
        "line": "33",
        "longitude": 24.65965,
        "nearest_stop": "Männiku",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2082"
      },
      {
        "at_stop": false,
        "direction": 68,
        "latitude": 59.40938,
        "line": "5",
        "longitude": 24.6598,
        "nearest_stop": "Männiku",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2130"
      },
      {
        "at_stop": true,
        "direction": 333,
        "latitude": 59.43387,
        "line": "92",
        "longitude": 24.7338,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "2132"
      },
      {
        "at_stop": true,
        "direction": 67,
        "latitude": 59.41129,
        "line": "27",
        "longitude": 24.66099,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2194"
      },
      {
        "at_stop": true,
        "direction": 268,
        "latitude": 59.41127,
        "line": "26",
        "longitude": 24.66106,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2198"
      },
      {
        "at_stop": true,
        "direction": 169,
        "latitude": 59.41125,
        "line": "61",
        "longitude": 24.66109,
        "nearest_stop": "Kotermaa",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2199"
      },
      {
        "at_stop": true,
        "direction": 191,
        "latitude": 59.40876,
        "line": "1",
        "longitude": 24.65908,
        "nearest_stop": "Hobujaama",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2390"
      },
      {
        "at_stop": true,
        "direction": 302,
        "latitude": 59.41183,
        "line": "10",
        "longitude": 24.65967,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2413"
      },
      {
        "at_stop": true,
        "direction": 334,
        "latitude": 59.41186,
        "line": "16",
        "longitude": 24.65984,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2418"
      },
      {
        "at_stop": true,
        "direction": 304,
        "latitude": 59.42929,
        "line": "92",
        "longitude": 24.72885,
        "nearest_stop": "Väike-Õismäe",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "2497"
      },
      {
        "at_stop": true,
        "direction": 153,
        "latitude": 59.40933,
        "line": "35",
        "longitude": 24.65958,
        "nearest_stop": "Pelguranna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2519"
      },
      {
        "at_stop": true,
        "direction": 205,
        "latitude": 59.40983,
        "line": "1",
        "longitude": 24.65672,
        "nearest_stop": "Hobujaama",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2580"
      },
      {
        "at_stop": true,
        "direction": 202,
        "latitude": 59.41,
        "line": "2",
        "longitude": 24.65838,
        "nearest_stop": "Mõigu",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2635"
      },
      {
        "at_stop": true,
        "direction": 239,
        "latitude": 59.46186,
        "line": "95",
        "longitude": 24.82288,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "2662"
      },
      {
        "at_stop": true,
        "direction": 181,
        "latitude": 59.42377,
        "line": "96",
        "longitude": 24.74249,
        "nearest_stop": "Vana-Pääsküla",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "2671"
      },
      {
        "at_stop": true,
        "direction": 329,
        "latitude": 59.4099,
        "line": "42",
        "longitude": 24.65693,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2716"
      },
      {
        "at_stop": true,
        "direction": 301,
        "latitude": 59.4112,
        "line": "5",
        "longitude": 24.66128,
        "nearest_stop": "Männiku",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2722"
      },
      {
        "at_stop": true,
        "direction": 295,
        "latitude": 59.41115,
        "line": "3",
        "longitude": 24.66136,
        "nearest_stop": "Pelguranna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2724"
      },
      {
        "at_stop": true,
        "direction": 144,
        "latitude": 59.41112,
        "line": "20",
        "longitude": 24.66197,
        "nearest_stop": "Teelise",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2726"
      },
      {
        "at_stop": true,
        "direction": 196,
        "latitude": 59.40932,
        "line": "33",
        "longitude": 24.65801,
        "nearest_stop": "Männiku",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2897"
      },
      {
        "at_stop": true,
        "direction": 127,
        "latitude": 59.40967,
        "line": "34",
        "longitude": 24.65979,
        "nearest_stop": "Viru keskus",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2915"
      },
      {
        "at_stop": true,
        "direction": 158,
        "latitude": 59.43155,
        "line": "42",
        "longitude": 24.84056,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3024"
      },
      {
        "at_stop": true,
        "direction": 185,
        "latitude": 59.43144,
        "line": "31A",
        "longitude": 24.84118,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3031"
      },
      {
        "at_stop": true,
        "direction": 1,
        "latitude": 59.43712,
        "line": "95",
        "longitude": 24.76463,
        "nearest_stop": "Viimsi keskus",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "3032"
      },
      {
        "at_stop": true,
        "direction": 157,
        "latitude": 59.43148,
        "line": "13",
        "longitude": 24.84122,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3060"
      },
      {
        "at_stop": true,
        "direction": 234,
        "latitude": 59.43248,
        "line": "94",
        "longitude": 24.78607,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "3106"
      },
      {
        "at_stop": true,
        "direction": 57,
        "latitude": 59.44179,
        "line": "95",
        "longitude": 24.74264,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "3135"
      },
      {
        "at_stop": true,
        "direction": 194,
        "latitude": 59.43215,
        "line": "63",
        "longitude": 24.84058,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3220"
      },
      {
        "at_stop": true,
        "direction": 175,
        "latitude": 59.43209,
        "line": "66",
        "longitude": 24.84056,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3229"
      },
      {
        "at_stop": true,
        "direction": 97,
        "latitude": 59.43265,
        "line": "66",
        "longitude": 24.84301,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3261"
      },
      {
        "at_stop": true,
        "direction": 55,
        "latitude": 59.44168,
        "line": "94",
        "longitude": 24.74244,
        "nearest_stop": "Balti jaam",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "3314"
      },
      {
        "at_stop": true,
        "direction": 257,
        "latitude": 59.43237,
        "line": "67",
        "longitude": 24.84126,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3361"
      },
      {
        "at_stop": true,
        "direction": 279,
        "latitude": 59.43252,
        "line": "2",
        "longitude": 24.84087,
        "nearest_stop": "Mõigu",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3374"
      },
      {
        "at_stop": true,
        "direction": 149,
        "latitude": 59.40856,
        "line": "19",
        "longitude": 24.66115,
        "nearest_stop": "Laagri alevik",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3381"
      },
      {
        "at_stop": true,
        "direction": 129,
        "latitude": 59.40855,
        "line": "19",
        "longitude": 24.66116,
        "nearest_stop": "Reisisadama D-terminal",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3389"
      },
      {
        "at_stop": true,
        "direction": 66,
        "latitude": 59.40863,
        "line": "36",
        "longitude": 24.66119,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3393"
      },
      {
        "at_stop": true,
        "direction": 162,
        "latitude": 59.43179,
        "line": "3",
        "longitude": 24.84266,
        "nearest_stop": "Vana-Lõuna",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3434"
      },
      {
        "at_stop": true,
        "direction": 117,
        "latitude": 59.43214,
        "line": "35",
        "longitude": 24.84002,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3444"
      },
      {
        "at_stop": true,
        "direction": 338,
        "latitude": 59.43229,
        "line": "12",
        "longitude": 24.83978,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3468"
      },
      {
        "at_stop": true,
        "direction": 70,
        "latitude": 59.43293,
        "line": "60",
        "longitude": 24.84359,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3544"
      },
      {
        "at_stop": true,
        "direction": 270,
        "latitude": 59.43252,
        "line": "13",
        "longitude": 24.84038,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3565"
      },
      {
        "at_stop": true,
        "direction": 209,
        "latitude": 59.43216,
        "line": "50",
        "longitude": 24.84236,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3572"
      },
      {
        "at_stop": true,
        "direction": 56,
        "latitude": 59.43298,
        "line": "40",
        "longitude": 24.84355,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3579"
      },
      {
        "at_stop": true,
        "direction": 103,
        "latitude": 59.43431,
        "line": "94",
        "longitude": 24.76808,
        "nearest_stop": "Priisle",
        "type": "unknown",
        "type_code": "7",
        "vehicle_id": "3619"
      },
      {
        "at_stop": true,
        "direction": 154,
        "latitude": 59.43153,
        "line": "42",
        "longitude": 24.84217,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3627"
      },
      {
        "at_stop": true,
        "direction": 166,
        "latitude": 59.43167,
        "line": "40",
        "longitude": 24.84188,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3644"
      },
      {
        "at_stop": true,
        "direction": 155,
        "latitude": 59.43171,
        "line": "40",
        "longitude": 24.84188,
        "nearest_stop": "Priisle",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3762"
      },
      {
        "at_stop": true,
        "direction": 262,
        "latitude": 59.43275,
        "line": "67",
        "longitude": 24.84246,
        "nearest_stop": "Seli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "3920"
      },
      {
        "at_stop": false,
        "direction": 302,
        "latitude": 59.41137,
        "line": "84",
        "longitude": 24.66105,
        "nearest_stop": "Keskuse",
        "type": "tram",
        "type_code": "1",
        "vehicle_id": "6360"
      },
      {
        "at_stop": false,
        "direction": 15,
        "latitude": 59.41051,
        "line": "72",
        "longitude": 24.65848,
        "nearest_stop": "Mustamäe",
        "type": "tram",
        "type_code": "1",
        "vehicle_id": "6461"
      },
      {
        "at_stop": false,
        "direction": 210,
        "latitude": 59.41052,
        "line": "83",
        "longitude": 24.65852,
        "nearest_stop": "Mustamäe",
        "type": "tram",
        "type_code": "1",
        "vehicle_id": "6462"
      },
      {
        "at_stop": false,
        "direction": 321,
        "latitude": 59.41042,
        "line": "83",
        "longitude": 24.65835,
        "nearest_stop": "Mustamäe",
        "type": "tram",
        "type_code": "1",
        "vehicle_id": "6464"
      }
    ]
  },
  "success": true
}