Menu
Home Track and Port Handling Examples Get port information

Get port information

To get information about a specific port use the following API operation.

This example is based on the port of Felixstowe which ID is 31560. To get the port ID see Get port list.

Request:

GET /port/info/31560

Response:

{
   "country":"United Kingdom",
   "id":31560,
   "locode":"GBFXT",
   "name":"Felixstowe Port",
   "inner":[
      {
         "id":142,
         "name":"Trinity",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.283664561,
                     51.96884706
                  ],
                  [
                     1.32546372,
                     51.95054729
                  ],
                  [
                     1.308640905,
                     51.95038859
                  ],
                  [
                     1.278428889,
                     51.96419343
                  ],
                  [
                     1.283664561,
                     51.96884706
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":143,
         "name":"Berth8&9",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.308984099,
                     51.94991255
                  ],
                  [
                     1.321429548,
                     51.94996545
                  ],
                  [
                     1.32537776,
                     51.94314062
                  ],
                  [
                     1.3154214,
                     51.94181785
                  ],
                  [
                     1.309584784,
                     51.94493959
                  ],
                  [
                     1.308984099,
                     51.94991255
                  ]
               ]
            ],
            "type":"Polygon"
         }
      }
   ],
   "outer":{
      "coordinates":[
         [
            [
               1.27217055,
               51.9653905
            ],
            [
               1.286075122,
               51.97353382
            ],
            [
               1.337573535,
               51.95248507
            ],
            [
               1.321437365,
               51.93735349
            ],
            [
               1.27217055,
               51.9653905
            ]
         ]
      ],
      "type":"Polygon"
   },
   "position":{
      "coordinates":[
         1.302222222222222,
         51.95444444444445
      ],
      "type":"Point"
   },
   "quay":[
      {
         "id":655,
         "line":{
            "coordinates":[
               [
                  1.313234039445705,
                  51.95245094996979
               ],
               [
                  1.3088689358605,
                  51.9543965730933
               ]
            ],
            "type":"LineString"
         },
         "name":"B7",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.309294482209735,
                     51.95476105520473
                  ],
                  [
                     1.313659508571667,
                     51.95281533597088
                  ],
                  [
                     1.31280848237333,
                     51.95208648130021
                  ],
                  [
                     1.30844349024619,
                     51.95403216934214
                  ],
                  [
                     1.309294482209735,
                     51.95476105520473
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":656,
         "line":{
            "coordinates":[
               [
                  1.3088689358605,
                  51.9543965730933
               ],
               [
                  1.3045038322753,
                  51.9563421962167
               ]
            ],
            "type":"LineString"
         },
         "name":"B6",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.30492941008299,
                     51.95670667363236
                  ],
                  [
                     1.309294436062849,
                     51.95476095388053
                  ],
                  [
                     1.308443348982016,
                     51.95403211053651
                  ],
                  [
                     1.304078356438315,
                     51.95597779896122
                  ],
                  [
                     1.30492941008299,
                     51.95670667363236
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":657,
         "line":{
            "coordinates":[
               [
                  1.3045038322753,
                  51.9563421962167
               ],
               [
                  1.30013872869009,
                  51.9582878193402
               ]
            ],
            "type":"LineString"
         },
         "name":"B5",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.300564336488683,
                     51.95865229070787
                  ],
                  [
                     1.304929362778046,
                     51.95670657111451
                  ],
                  [
                     1.304078213845741,
                     51.95597773863892
                  ],
                  [
                     1.299713221788479,
                     51.95792342703683
                  ],
                  [
                     1.300564336488683,
                     51.95865229070787
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":658,
         "line":{
            "coordinates":[
               [
                  1.30013872869009,
                  51.9582878193402
               ],
               [
                  1.29577362510489,
                  51.9602334424636
               ]
            ],
            "type":"LineString"
         },
         "name":"B4",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.296199263640445,
                     51.96059790842186
                  ],
                  [
                     1.300564290246562,
                     51.95865218899085
                  ],
                  [
                     1.299713079974092,
                     51.95792336764386
                  ],
                  [
                     1.295348087880038,
                     51.95986905575229
                  ],
                  [
                     1.296199263640445,
                     51.96059790842186
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":659,
         "line":{
            "coordinates":[
               [
                  1.29577362510489,
                  51.9602334424636
               ],
               [
                  1.29140852151969,
                  51.9621790655871
               ]
            ],
            "type":"LineString"
         },
         "name":"B3",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.2918341910689,
                     51.96254352600575
                  ],
                  [
                     1.296199216966648,
                     51.96059780622341
                  ],
                  [
                     1.295347945865423,
                     51.95986899626512
                  ],
                  [
                     1.290982953681002,
                     51.96181468458977
                  ],
                  [
                     1.2918341910689,
                     51.96254352600575
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":660,
         "line":{
            "coordinates":[
               [
                  1.29140852151969,
                  51.9621790655871
               ],
               [
                  1.28704341793448,
                  51.9641246887105
               ]
            ],
            "type":"LineString"
         },
         "name":"B2",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.287469118211361,
                     51.96448914371049
                  ],
                  [
                     1.291834144440115,
                     51.96254342409828
                  ],
                  [
                     1.290982811989342,
                     51.96181462527127
                  ],
                  [
                     1.286617820223481,
                     51.96376031406697
                  ],
                  [
                     1.287469118211361,
                     51.96448914371049
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":661,
         "line":{
            "coordinates":[
               [
                  1.28704341793448,
                  51.9641246887105
               ],
               [
                  1.282678314349278,
                  51.966070311834
               ]
            ],
            "type":"LineString"
         },
         "name":"B1",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.28310404455966,
                     51.96643476082899
                  ],
                  [
                     1.287469070441765,
                     51.96448904071832
                  ],
                  [
                     1.28661767656897,
                     51.96376025296595
                  ],
                  [
                     1.282252684397454,
                     51.96570594161544
                  ],
                  [
                     1.28310404455966,
                     51.96643476082899
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":662,
         "line":{
            "coordinates":[
               [
                  1.316008638933288,
                  51.94421884535826
               ],
               [
                  1.31421692331137,
                  51.9473997415593
               ]
            ],
            "type":"LineString"
         },
         "name":"B9",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.314903720779623,
                     51.94754747591752
                  ],
                  [
                     1.316695330259181,
                     51.9443665555059
                  ],
                  [
                     1.315321886191366,
                     51.94407111690477
                  ],
                  [
                     1.313530191952807,
                     51.94725201668206
                  ],
                  [
                     1.314903720779623,
                     51.94754747591752
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":663,
         "line":{
            "coordinates":[
               [
                  1.31421692331137,
                  51.9473997415593
               ],
               [
                  1.312425207689461,
                  51.95058063776037
               ]
            ],
            "type":"LineString"
         },
         "name":"B8",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.313112059555061,
                     51.95072836277463
                  ],
                  [
                     1.314903669416041,
                     51.94754744246487
                  ],
                  [
                     1.313530117626775,
                     51.94725202274003
                  ],
                  [
                     1.311738422432008,
                     51.95043292218118
                  ],
                  [
                     1.313112059555061,
                     51.95072836277463
                  ]
               ]
            ],
            "type":"Polygon"
         }
      },
      {
         "id":664,
         "line":{
            "coordinates":[
               [
                  1.289894716446316,
                  51.9558
               ],
               [
                  1.28525985926879,
                  51.9558
               ]
            ],
            "type":"LineString"
         },
         "name":"DEFAULT",
         "polygon":{
            "coordinates":[
               [
                  [
                     1.285259859128717,
                     51.95624941677547
                  ],
                  [
                     1.289894762787739,
                     51.95624932606081
                  ],
                  [
                     1.289894670263134,
                     51.95535058328044
                  ],
                  [
                     1.28525985966705,
                     51.95535067365192
                  ],
                  [
                     1.285259859128717,
                     51.95624941677547
                  ]
               ]
            ],
            "type":"Polygon"
         }
      }
   ]
}

For basic description see Port Information.

Updated on 14 November, 2018