Spire Maritime Routing API

Details of the Spire Maritime Routing API

The Spire Maritime Routing API

The Spire Routing API is used in the background to generate predicted routes and ETA at destination ports for vessels, the data being primarily provided through the Spire Vessels API.

It may however by special arrangement be made available to clients who need a port to port or point to port routing solution that is not just driven by specific vessels latest positions.

API Endpoint : 

https://api.sense.spire.com/routing

Sample call requesting port to port route

https://api.sense.spire.com/routing?vessel_type=CONTAINER_PANAMAX&port_start_unlocode=FRMRS&port_end_unlocode=CNSHG&suez=1&panama=1

 

Additional Compulsory Parameters 2021-07-08 

Please note that as of 2021-07-08 It is compulsory to specify either MMSI or vessel_type filters when calling the routing API. This is to ensure that an accurate route is provided for vessels. Previously the shortest route was being returned if these were not specified and the shortest routes are often inappropriate for many commercial vessels.

 

Sample Results

{
"status": "ok",
"duration": 2092350,
"distance": 8880,
"seca": 0,
"eta": "2021-08-01T19:50:10",
"route": "LINESTRING(5.358727 43.311219,5.357479 43.309507,5.353213 43.306325,5.351711 43.306321,5.347766 43.307554,5.341822 43.308887,5.338405 43.308599,5.337290 43.308785,5.329781 43.309865,5.334666 43.289589,5.336371 43.286966,5.336403 43.286803,5.336539 43.285697,5.336339 43.280487,5.335182 43.274859,5.334209 43.269850,5.334088 43.269236,5.332008 43.252112,5.327854 43.250346,5.326894 43.249890,5.325178 43.248496,5.321690 43.245321,5.327896 43.235769,5.328638 43.234743,5.331550 43.229812,5.331764 43.217906,5.331178 43.216104,5.330775 43.213480,5.326637 43.212295,5.289334 43.137318,5.290427 43.129372,5.290661 43.126518,5.282341 43.071075,5.279123 43.050626,5.250287 43.020663,5.387165 42.967646,5.458032 42.921659,5.525269 42.852875,5.623903 42.823021,5.744546 42.767664,5.817799 42.733694,5.912126 42.711568,5.997245 42.665551,6.067130 42.630721,6.222148 42.568436,6.415877 42.462616,6.619912 42.347849,6.749658 42.319018,6.938892 42.193457,7.153131 42.057645,7.371782 41.936357,7.503655 41.902466,7.632919 41.851956,7.771749 41.799994,7.913172 41.756243,8.076823 41.653914,8.172511 41.627166,8.320933 41.555120,8.389169 41.513290,8.461072 41.482970,8.533936 41.456167,8.585753 41.413957,8.643502 41.379696,8.747589 41.354844,8.793807 41.320300,8.843941 41.291023,8.899625 41.263291,8.897973 41.271086,8.941245 41.284815,8.954255 41.288914,8.963915 41.285992,8.974277 41.283474,8.976110 41.283079,8.986379 41.280990,9.002044 41.285401,9.085192 41.308795,9.104071 41.313474,9.114627 41.316770,9.122820 41.316740,9.124917 41.316662,9.131193 41.314777,9.155172 41.308001,9.170070 41.308382,9.172150 41.308499,9.186905 41.309229,9.188807 41.309325,9.197379 41.308238,9.199615 41.308755,9.207829 41.322777,9.211023 41.328686,9.211810 41.329962,9.215492 41.335251,9.228031 41.347302,9.229114 41.348009,9.232508 41.347255,9.243851 41.346190,9.247327 41.345956,9.247345 41.345952,9.249465 41.346181,9.250125 41.346392,9.251141 41.347239,9.251465 41.347392,9.251979 41.347438,9.252355 41.347515,9.252923 41.346762,9.252995 41.346673,9.253414 41.346562,9.253553 41.346565,9.254182 41.346548,9.254403 41.346626,9.254795 41.346385,9.254921 41.346225,9.255483 41.345856,9.255489 41.345863,9.255749 41.346300,9.256261 41.346509,9.256265 41.346512,9.256156 41.346898,9.256024 41.347234,9.255831 41.347305,9.255778 41.347743,9.256046 41.347807,9.256646 41.348222,9.256581 41.348601,9.256551 41.348656,9.257169 41.349402,9.257396 41.350377,9.259843 41.351900,9.261594 41.351612,9.261602 41.351610,9.261651 41.351580,9.263219 41.351284,9.264361 41.351101,9.265225 41.350903,9.268972 41.349807,9.278112 41.347112,9.279531 41.346322,9.291602 41.342302,9.291814 41.341975,9.305385 41.366918,9.305993 41.368064,9.306172 41.368282,9.306299 41.368509,9.306392 41.368692,9.306610 41.368774,9.306748 41.368901,9.306572 41.369232,9.306327 41.369580,9.306639 41.369956,9.307553 41.371160,9.309116 41.372052,9.386899 41.415208,9.397507 41.409475,9.426077 41.408709,9.433902 41.408637,9.446047 41.409793,9.551004 41.418167,9.560463 41.421283,9.590615 41.407362,9.644977 41.382902,9.700029 41.353827,9.817819 41.323093,9.876991 41.295196,9.944570 41.257958,10.024413 41.211736,10.159956 41.117055,10.251984 41.072980,10.353194 41.007128,10.498755 40.970951,10.641228 40.933070,10.777146 40.880731,10.912549 40.818010,11.046770 40.761115,11.177272 40.714632,11.318947 40.670879,11.485078 40.621517,11.600024 40.516363,11.826362 40.417976,11.950081 40.357250,12.049615 40.255062,12.254319 40.164939,12.370217 40.104803,12.588289 39.971195,12.716520 39.892874,12.855024 39.828118,13.071109 39.740171,13.290150 39.644460,13.488139 39.557070,13.580551 39.493112,13.681000 39.435290,13.767582 39.383582,13.948185 39.305541,14.169948 39.205090,14.287399 39.148334,14.439496 39.046158,14.637004 38.984086,14.805647 38.892526,14.954249 38.830660,15.024236 38.805963,15.038349 38.797040,15.092097 38.762911,15.097502 38.759429,15.099856 38.758046,15.147379 38.728698,15.154738 38.723525,15.172302 38.711754,15.194013 38.693129,15.232853 38.657785,15.257208 38.636302,15.299496 38.604512,15.288007 38.577359,15.382972 38.567730,15.503350 38.510302,15.565729 38.477005,15.683252 38.474818,15.680896 38.442001,15.684621 38.433580,15.706769 38.387118,15.693090 38.316496,15.692986 38.315859,15.690987 38.304495,15.688222 38.295306,15.678489 38.272985,15.666702 38.258080,15.665131 38.255549,15.657828 38.250473,15.647966 38.249451,15.642982 38.246775,15.627501 38.248504,15.619702 38.240338,15.616379 38.237672,15.612569 38.234946,15.605762 38.230269,15.605606 38.230190,15.599001 38.213326,15.599001 38.213323,15.599252 38.212636,15.603496 38.203360,15.604002 38.186234,15.602032 38.170787,15.601701 38.164759,15.600650 38.160351,15.598078 38.151703,15.596745 38.141005,15.592049 38.136740,15.579421 38.118840,15.577635 38.114811,15.573578 38.100746,15.572663 38.098291,15.567491 38.077772,15.567106 38.071955,15.567237 38.067933,15.565143 38.047489,15.561886 38.041241,15.554335 38.021740,15.549279 38.009881,15.541230 37.975974,15.535763 37.957835,15.533495 37.929542,15.528450 37.891999,15.528690 37.883457,15.526491 37.832572,15.526382 37.831600,15.526593 37.826747,15.496027 37.811530,15.544334 37.760853,15.624398 37.734554,15.690797 37.724279,15.819337 37.706723,15.955287 37.691040,16.091488 37.634845,16.285994 37.588146,16.504250 37.538948,16.724124 37.445575,16.861723 37.417461,17.015052 37.389495,17.283743 37.306679,17.580812 37.241954,17.813878 37.148561,18.040173 37.073925,18.264555 37.006195,18.459576 36.915415,18.657651 36.821983,18.763533 36.755110,18.927088 36.695226,19.059849 36.683637,19.256655 36.604747,19.454976 36.532220,19.659085 36.459342,19.843126 36.349172,20.044307 36.263629,20.173892 36.212949,20.278259 36.169477,20.513589 36.122307,20.760418 36.061670,20.952819 35.991089,21.038981 35.941089,21.123357 35.867916,21.356588 35.794101,21.533207 35.683661,21.737959 35.595504,21.949077 35.496432,22.077847 35.431309,22.312043 35.306544,22.517514 35.199097,22.726154 35.109465,22.914408 35.020500,23.107861 34.916766,23.303873 34.807038,23.530419 34.750593,23.639933 34.699254,23.747774 34.662265,23.848912 34.639031,23.988959 34.565377,24.099610 34.536396,24.188497 34.494673,24.378168 34.462187,24.490119 34.401798,24.602191 34.336634,24.715998 34.265351,24.927549 34.218407,25.028324 34.181383,25.145171 34.133000,25.282213 34.083548,25.529146 34.022072,25.776354 33.987237,25.892781 33.910841,26.145000 33.874683,26.411175 33.830195,26.530315 33.756550,26.775610 33.709650,27.027443 33.672889,27.251118 33.595500,27.408308 33.545801,27.646491 33.434325,27.826248 33.349498,28.050616 33.289789,28.180355 33.229824,28.416868 33.145482,28.548548 33.084166,28.654024 33.022219,28.761625 32.959179,28.890240 32.887548,29.046982 32.868687,29.235719 32.787828,29.456778 32.747863,29.650766 32.698472,29.854197 32.617544,29.987257 32.565792,30.087697 32.517961,30.257445 32.402853,30.383379 32.369715,30.502551 32.348962,30.661378 32.252942,30.759360 32.209658,30.878100 32.163487,30.969151 32.117235,31.117318 32.030788,31.241183 32.005009,31.407038 31.912634,31.545093 31.835503,31.642159 31.802592,31.770140 31.753093,31.827627 31.741024,31.878656 31.713069,31.931058 31.702088,31.975210 31.688645,32.015815 31.668837,32.052975 31.644964,32.092546 31.622230,32.134790 31.597439,32.173560 31.566284,32.263631 31.529115,32.336356 31.461779,32.386349 31.438630,32.411430 31.408031,32.334253 31.285086,32.322300 31.268700,32.309975 31.254414,32.306363 31.247190,32.305080 31.234255,32.304371 31.225913,32.305001 31.193885,32.308778 31.104173,32.308464 31.093392,32.311847 30.989672,32.312949 30.973540,32.313657 30.941117,32.318300 30.810720,32.320032 30.802410,32.341150 30.727011,32.344421 30.706637,32.342042 30.691765,32.325981 30.622315,32.320939 30.611235,32.307376 30.585656,32.305148 30.579496,32.304148 30.570788,32.304862 30.561222,32.306068 30.554842,32.312135 30.545205,32.335335 30.517247,32.338309 30.511893,32.348660 30.460021,32.352586 30.444792,32.358059 30.437535,32.363175 30.412550,32.368171 30.392325,32.382448 30.363177,32.398510 30.340572,32.416950 30.315587,32.437771 30.285844,32.462160 30.271567,32.502462 30.264280,32.524175 30.253573,32.540236 30.241081,32.551836 30.226804,32.563139 30.210148,32.568195 30.193194,32.569385 30.173563,32.571488 30.068290,32.572242 30.059395,32.573580 30.049768,32.577744 30.028829,32.580243 30.013719,32.586786 29.980288,32.586429 29.968271,32.584050 29.956731,32.577387 29.945191,32.572628 29.939361,32.561170 29.930133,32.554070 29.930758,32.545881 29.928239,32.542555 29.923551,32.543701 29.921121,32.553684 29.901774,32.554360 29.900390,32.557069 29.886306,32.554177 29.872887,32.561555 29.854769,32.563135 29.851510,32.550915 29.817719,32.547151 29.794900,32.546999 29.763447,32.546486 29.739267,32.548133 29.716064,32.546464 29.698274,32.544369 29.690229,32.541307 29.685831,32.541186 29.685663,32.540220 29.683743,32.536766 29.676752,32.527756 29.652468,32.525406 29.638980,32.525808 29.632567,32.524461 29.621972,32.547863 29.574586,32.551113 29.567808,32.555263 29.559380,32.562391 29.548691,32.596034 29.510484,32.600458 29.506847,32.606138 29.495502,32.607157 29.493793,32.614543 29.482481,32.618049 29.472115,32.618440 29.471260,32.634851 29.432311,32.649103 29.404802,32.651973 29.400143,32.663568 29.385896,32.690783 29.354430,32.690961 29.354243,32.707968 29.339277,32.708078 29.338702,32.716751 29.311509,32.716941 29.310890,32.719627 29.304682,32.720033 29.303960,32.724511 29.292830,32.729858 29.276812,32.733880 29.266185,32.745472 29.236986,32.745688 29.236633,32.758595 29.220158,32.761481 29.215588,32.765821 29.203368,32.771609 29.185237,32.774197 29.175042,32.805133 29.119440,32.813156 29.106467,32.822318 29.089451,32.841930 29.041601,32.842775 29.037761,32.848624 29.013126,32.862841 28.995484,32.871830 28.988515,32.900651 28.968952,32.944671 28.927312,32.972370 28.889959,32.973576 28.884741,32.983868 28.845972,32.985863 28.839700,32.986204 28.838413,33.006556 28.779540,33.014854 28.752065,33.015058 28.751563,33.017650 28.744417,33.022680 28.732480,33.022498 28.724990,33.023520 28.705093,33.023760 28.702093,33.043896 28.656809,33.056739 28.632125,33.062997 28.622746,33.069637 28.607296,33.101139 28.557039,33.109304 28.547354,33.126888 28.518304,33.127914 28.516221,33.133354 28.505813,33.134893 28.502367,33.150472 28.476350,33.157861 28.468217,33.168276 28.461064,33.181652 28.451328,33.185930 28.446323,33.210691 28.418237,33.214391 28.412756,33.238010 28.379655,33.241219 28.374098,33.259282 28.357921,33.262334 28.353248,33.275587 28.334575,33.284112 28.321695,33.286182 28.319491,33.287018 28.318540,33.288315 28.316710,33.301908 28.301041,33.305222 28.297499,33.329191 28.275587,33.329268 28.275502,33.331838 28.273233,33.349956 28.255488,33.385851 28.231108,33.396376 28.221935,33.403062 28.217877,33.419918 28.202928,33.452605 28.179375,33.454149 28.178158,33.458742 28.176500,33.491634 28.149009,33.499315 28.138516,33.511098 28.124791,33.520108 28.113611,33.520714 28.112897,33.533849 28.100693,33.560265 28.080069,33.565186 28.075265,33.573402 28.064350,33.589379 28.045246,33.594511 28.036792,33.595818 28.033640,33.610557 28.011757,33.632282 27.984695,33.637657 27.977585,33.657951 27.959223,33.670437 27.938433,33.674895 27.931483,33.683776 27.922144,33.709455 27.911733,33.714685 27.910421,33.740112 27.897785,33.741595 27.896986,33.780445 27.872471,33.788927 27.865832,33.813781 27.836183,33.835806 27.808827,33.853207 27.803752,33.853632 27.803630,33.911241 27.764182,33.929003 27.742574,33.940025 27.726316,33.956988 27.695922,33.961862 27.689187,33.962629 27.688687,33.977288 27.683780,33.978995 27.683259,33.998629 27.675773,34.054572 27.646585,34.062010 27.643105,34.115348 27.629200,34.151985 27.592436,34.192056 27.558715,34.257255 27.499397,34.275087 27.445718,34.353840 27.358937,34.432960 27.225552,34.553950 27.076515,34.621009 26.911939,34.695516 26.837387,34.770079 26.758768,34.849462 26.678655,34.930691 26.594404,35.011899 26.501697,35.098971 26.387971,35.182758 26.181432,35.261127 26.087359,35.396106 25.932341,35.446674 25.816747,35.495845 25.629925,35.542518 25.534414,35.586241 25.437305,35.634741 25.338739,35.677770 25.239580,35.718648 25.159602,35.815859 25.016742,35.937852 24.857557,36.060422 24.697478,36.105666 24.598372,36.153910 24.488404,36.298473 24.345168,36.416959 24.199097,36.563418 24.030931,36.701719 23.864765,36.756343 23.775770,36.844011 23.599553,36.878418 23.468669,36.976089 23.303750,37.032363 23.215027,37.092291 23.125223,37.191230 22.951281,37.259728 22.757377,37.342012 22.668718,37.471820 22.466132,37.599163 22.304431,37.670386 22.122297,37.788479 21.977703,37.905635 21.821001,37.996799 21.650504,38.103330 21.478908,38.197262 21.302773,38.344990 21.137712,38.396410 21.052824,38.481187 20.902577,38.553008 20.682092,38.627274 20.470120,38.672898 20.332766,38.778511 20.142037,38.878754 19.972434,38.948562 19.869410,39.008694 19.771778,39.068873 19.670439,39.142467 19.575962,39.268527 19.384949,39.336355 19.187220,39.417520 19.103720,39.496547 18.919395,39.574489 18.759093,39.604904 18.670011,39.637698 18.563508,39.690803 18.470331,39.743906 18.381872,39.779305 18.287257,39.823726 18.196712,39.875179 18.118097,39.993976 17.947610,40.068988 17.840396,40.124129 17.745399,40.174092 17.635598,40.231106 17.517318,40.307326 17.403410,40.407352 17.221914,40.455875 17.115683,40.509964 17.022133,40.568051 16.927831,40.630418 16.832747,40.695226 16.737772,40.761028 16.647743,40.842570 16.492874,40.879446 16.385710,40.931277 16.276319,40.997777 16.181504,41.062769 16.097531,41.134351 16.014122,41.219997 15.932242,41.311043 15.830139,41.429469 15.624270,41.509855 15.431836,41.585535 15.255417,41.665773 15.181316,41.718907 15.006421,41.780191 14.908497,41.920773 14.769517,41.967738 14.686350,42.023941 14.607461,42.085841 14.529953,42.150667 14.452212,42.215445 14.373560,42.279539 14.295919,42.346915 14.160942,42.378748 14.071164,42.428838 13.933661,42.476159 13.827593,42.548499 13.740862,42.569439 13.693273,42.611317 13.632359,42.676038 13.569541,42.744567 13.518145,42.820727 13.456560,42.867385 13.394679,42.934214 13.350091,42.995486 13.266143,43.037704 13.190754,43.062682 13.152822,43.085123 13.113527,43.108065 13.075064,43.174197 13.021366,43.211276 12.947345,43.233665 12.882591,43.246157 12.812991,43.256865 12.736254,43.281849 12.666654,43.321110 12.614901,43.390710 12.575640,43.499570 12.539948,43.547754 12.509610,43.622301 12.479173,43.709670 12.449153,43.830526 12.417292,43.942899 12.390829,44.013132 12.370013,44.080533 12.382910,44.135541 12.395627,44.249611 12.388207,44.322867 12.391696,44.392210 12.399082,44.524780 12.362203,44.688508 12.330067,44.791076 12.333172,44.883256 12.332753,44.971953 12.336728,45.055227 12.351038,45.206434 12.324250,45.379206 12.333531,45.551051 12.331966,45.743392 12.285035,45.929795 12.302052,46.106310 12.295611,46.303016 12.318942,46.513040 12.323056,46.638848 12.332945,46.753088 12.338562,46.932935 12.285434,47.161044 12.279525,47.430318 12.254125,47.573947 12.218445,47.763699 12.214438,47.870873 12.184356,47.999410 12.204482,48.115645 12.216918,48.232976 12.230464,48.352727 12.238494,48.477762 12.237055,48.603503 12.239218,48.728251 12.239671,48.863549 12.231812,49.062904 12.184551,49.234923 12.161703,49.438871 12.187778,49.643825 12.212531,49.776387 12.235164,49.974842 12.211914,50.141765 12.232762,50.244910 12.215866,50.341105 12.199616,50.422280 12.176699,50.547730 12.177104,50.602618 12.190065,50.711320 12.191808,50.772022 12.182001,50.871071 12.148722,50.939958 12.135905,51.013309 12.123930,51.086696 12.097328,51.179560 12.082035,51.261545 12.076774,51.329211 12.051297,51.457162 12.034291,51.538023 12.032586,51.625354 12.011429,51.713977 11.974869,51.817016 11.945333,51.975265 11.953049,52.046456 11.929392,52.121915 11.911104,52.234485 11.892280,52.338441 11.899385,52.432659 11.874864,52.542904 11.879798,52.623747 11.884685,52.796360 11.859289,52.945581 11.841915,53.080106 11.816380,53.207359 11.824755,53.272427 11.815692,53.342459 11.823004,53.480541 11.789553,53.635843 11.754302,53.725494 11.735811,53.838498 11.716246,53.947846 11.679112,54.149861 11.658604,54.342324 11.605117,54.524288 11.563511,54.706796 11.505802,54.901031 11.427516,55.009293 11.439929,55.117557 11.444674,55.228973 11.404045,55.338376 11.366069,55.446896 11.332042,55.551151 11.297394,55.651237 11.257371,55.740271 11.223903,55.931835 11.195292,56.173049 11.182150,56.304419 11.160955,56.430476 11.116897,56.640407 11.058152,56.739239 11.049354,56.851049 11.038127,56.961014 11.026296,57.052321 11.011527,57.230462 10.991567,57.419189 10.981274,57.564247 10.989743,57.718771 10.946123,57.879741 10.899648,57.966743 10.884694,58.068430 10.864313,58.256113 10.851954,58.451685 10.803076,58.630207 10.799574,58.830781 10.818753,58.934385 10.777367,59.038119 10.753756,59.161214 10.727798,59.315747 10.734693,59.536169 10.707283,59.733933 10.657899,59.856855 10.640364,59.949917 10.627649,60.148998 10.601174,60.304973 10.600427,60.429791 10.571742,60.542867 10.561617,60.660216 10.553322,60.780040 10.538224,60.967952 10.528946,61.094145 10.525389,61.215385 10.469131,61.333407 10.428330,61.461313 10.394521,61.663341 10.394741,61.785427 10.347457,61.908038 10.349255,62.114733 10.313794,62.316164 10.245168,62.481049 10.176059,62.568604 10.148598,62.670693 10.113487,62.773575 10.075596,62.871813 10.038179,63.061109 10.022871,63.194572 9.977532,63.392219 9.985123,63.500522 9.958678,63.651836 9.961856,63.886487 9.917010,64.007672 9.882808,64.117941 9.851358,64.226272 9.820359,64.335641 9.788450,64.449641 9.763384,64.564960 9.730842,64.684020 9.692472,64.822250 9.672935,65.056712 9.615711,65.184203 9.622499,65.304281 9.608110,65.416661 9.584264,65.513034 9.566201,65.683658 9.575057,65.777606 9.545891,65.877352 9.517461,65.988069 9.501776,66.106987 9.504781,66.347020 9.443351,66.477622 9.414022,66.588944 9.384891,66.682203 9.363719,66.848135 9.300918,67.038054 9.230191,67.235526 9.141479,67.408316 9.099838,67.598225 9.087139,67.715455 9.066886,67.809091 9.046793,67.988310 8.996580,68.179328 8.969517,68.278655 8.919746,68.462918 8.902143,68.663116 8.877380,68.771497 8.828743,68.890177 8.790206,69.097875 8.755657,69.306922 8.687873,69.536744 8.625267,69.669130 8.602025,69.836507 8.525970,70.031481 8.499228,70.229618 8.474344,70.345691 8.411332,70.546136 8.345584,70.645010 8.325617,70.762100 8.297013,70.885583 8.263022,71.007002 8.237947,71.102309 8.225256,71.264968 8.198939,71.455821 8.170355,71.647154 8.127874,71.835864 8.088411,72.040398 8.079581,72.140001 8.025190,72.237478 7.977953,72.426280 7.960056,72.542237 7.919255,72.621166 7.885342,72.778139 7.834061,72.884834 7.825056,73.022102 7.776658,73.117033 7.771027,73.227725 7.731569,73.331884 7.705561,73.438328 7.686177,73.551081 7.670131,73.673578 7.657537,73.895482 7.551581,74.021032 7.500334,74.126966 7.460401,74.242395 7.432528,74.443022 7.375510,74.558513 7.366619,74.666668 7.324491,74.766952 7.282123,74.871902 7.250544,74.980479 7.220285,75.086834 7.184653,75.189901 7.140524,75.277710 7.101502,75.455954 7.037154,75.572034 7.010426,75.681397 6.993410,75.789955 6.966059,75.965492 6.953773,76.164270 6.881907,76.293549 6.856455,76.411021 6.833456,76.526483 6.804242,76.632413 6.763958,76.791912 6.735324,76.868834 6.702215,76.960436 6.660330,77.148512 6.659010,77.326904 6.573486,77.500487 6.523803,77.596764 6.499785,77.713415 6.484624,77.831663 6.475445,77.952341 6.472431,78.132660 6.400951,78.234042 6.378069,78.371270 6.345726,78.587829 6.310641,78.801074 6.273793,78.991421 6.204743,79.155875 6.124337,79.260825 6.102957,79.384491 6.075467,79.607345 6.031437,79.764373 5.962542,79.877649 5.930050,79.926949 5.911577,79.990712 5.890225,80.041441 5.857873,80.135260 5.824976,80.243917 5.804468,80.294735 5.772413,80.348669 5.754392,80.440032 5.742511,80.491138 5.738084,80.540940 5.743192,80.634082 5.717302,80.767158 5.691152,80.917173 5.695598,81.080434 5.721307,81.236123 5.742515,81.330594 5.746227,81.487088 5.766868,81.584182 5.780443,81.773412 5.749924,81.897375 5.738418,82.054611 5.770523,82.146135 5.787243,82.362248 5.826452,82.480257 5.848889,82.681711 5.862666,82.884566 5.865019,83.117486 5.891079,83.246244 5.920030,83.349914 5.948141,83.445549 5.987204,83.633161 5.999854,83.747784 6.028802,83.885244 6.006745,83.998956 5.986541,84.098416 5.979466,84.195055 5.978269,84.301341 5.969413,84.415953 5.955666,84.531270 5.956623,84.653305 5.981591,84.800549 6.009903,85.039686 6.017426,85.216390 6.006565,85.309057 6.005665,85.402130 6.004665,85.573944 5.984498,85.672803 6.017777,85.762244 6.040452,85.844761 6.051283,85.927781 6.051928,86.001759 6.051143,86.148932 6.070064,86.326467 6.091878,86.503362 6.110772,86.657775 6.119317,86.747360 6.125913,86.876601 6.146254,87.093260 6.183307,87.253641 6.219656,87.336046 6.234196,87.518373 6.195900,87.646900 6.185846,87.756201 6.177862,87.865510 6.180912,87.977996 6.184394,88.091444 6.183505,88.200401 6.172273,88.302274 6.163814,88.405573 6.166246,88.517350 6.168145,88.639598 6.175350,88.766705 6.178569,88.892415 6.167742,89.026980 6.153203,89.142281 6.189324,89.238472 6.211207,89.407319 6.183189,89.595326 6.172736,89.773549 6.178064,89.872599 6.185043,89.987112 6.191400,90.092725 6.190113,90.256099 6.171791,90.359294 6.149446,90.463241 6.143595,90.566365 6.149729,90.668841 6.161035,90.770597 6.174441,90.859279 6.182419,91.022977 6.213063,91.120181 6.209555,91.218636 6.225509,91.322247 6.244264,91.430646 6.264838,91.549147 6.287367,91.749792 6.315037,91.936884 6.323486,92.118495 6.333235,92.304339 6.332650,92.468128 6.321850,92.558256 6.322406,92.669354 6.323832,92.832162 6.358111,92.929972 6.351011,93.056673 6.348565,93.185433 6.346136,93.283524 6.337766,93.438460 6.306506,93.598414 6.329145,93.696344 6.324662,93.848504 6.285713,93.946299 6.298439,94.139882 6.222947,94.363240 6.193622,94.498906 6.169473,94.626352 6.135393,94.745332 6.145973,94.841824 6.130679,94.921226 6.105109,95.102972 6.067820,95.103145 6.067841,95.109458 6.067226,95.113298 6.066881,95.118192 6.066669,95.118415 6.066542,95.123163 6.064061,95.125272 6.063890,95.138040 6.062928,95.262612 6.045501,95.281267 6.056886,95.317289 6.092705,95.363812 6.079962,95.410625 6.063995,95.458712 6.045324,95.511063 6.020236,95.568358 6.009748,95.677952 6.013183,95.766223 5.992605,95.916823 5.950879,96.031841 5.916037,96.155850 5.904233,96.264008 5.874623,96.370252 5.828858,96.589158 5.810948,96.804045 5.721264,96.940401 5.687347,97.045822 5.650986,97.138327 5.608412,97.219857 5.560038,97.292099 5.501708,97.366987 5.469030,97.470921 5.452559,97.526416 5.440352,97.629982 5.390736,97.673699 5.354716,97.708512 5.316518,97.795091 5.255042,97.851643 5.223236,97.897627 5.181616,97.996875 5.135430,98.058999 5.102509,98.171729 5.030132,98.259226 4.933874,98.373056 4.850405,98.449189 4.815498,98.515500 4.769903,98.647517 4.718860,98.811233 4.594933,98.977664 4.489185,99.115345 4.362988,99.254726 4.212273,99.356672 4.167022,99.470082 4.023629,99.565153 3.976002,99.657180 3.912130,99.799216 3.799019,99.946994 3.662675,100.027273 3.571473,100.194469 3.472942,100.268884 3.411692,100.389509 3.299862,100.472015 3.230473,100.545163 3.185315,100.692738 3.117166,100.769195 3.031284,100.814142 2.944381,100.916467 2.821823,101.006638 2.739996,101.050653 2.693905,101.105784 2.649408,101.136621 2.596407,101.187156 2.505490,101.228620 2.419406,101.261390 2.393305,101.305073 2.321924,101.343215 2.280614,101.373923 2.235366,101.379117 2.202008,101.372471 2.166941,101.369585 2.103012,101.363875 2.033532,101.359116 1.991653,101.356260 1.962148,101.359116 1.928836,101.366730 1.903137,101.378151 1.880294,101.381959 1.856500,101.381007 1.836512,101.369585 1.813670,101.364351 1.800345,101.362923 1.786068,101.367206 1.769412,101.372917 1.757514,101.384338 1.742762,101.400994 1.727057,101.422409 1.711829,101.446204 1.704214,101.471426 1.699455,101.492366 1.694221,101.521871 1.682323,101.552328 1.673281,101.583737 1.670902,101.608483 1.672330,101.632754 1.676137,101.665114 1.689462,101.694144 1.702787,101.728884 1.713256,101.855278 1.741983,101.867498 1.747288,101.919540 1.763436,101.948298 1.804797,101.954400 1.817035,102.039051 1.829307,102.099016 1.814677,102.159959 1.813225,102.257528 1.780173,102.313211 1.754972,102.360126 1.729445,102.455599 1.710398,102.551856 1.665143,102.604298 1.638399,102.648279 1.607026,102.695506 1.568695,102.771956 1.504565,102.834133 1.478672,102.906648 1.441545,103.001925 1.371331,103.043730 1.324780,103.105901 1.297401,103.153276 1.278444,103.188144 1.291339,103.207314 1.294833,103.214869 1.297761,103.272545 1.316080,103.298410 1.300926,103.329236 1.284116,103.399410 1.242427,103.410209 1.236111,103.432362 1.231096,103.440278 1.223831,103.448885 1.216606,103.458637 1.206159,103.472052 1.194440,103.479977 1.188142,103.504918 1.167383,103.513080 1.160904,103.518352 1.156241,103.530146 1.127116,103.532249 1.122425,103.602098 1.167686,103.605919 1.169776,103.607883 1.170665,103.621976 1.177292,103.654688 1.182867,103.655567 1.183083,103.670692 1.186332,103.675381 1.185186,103.681586 1.179147,103.710292 1.195046,103.717231 1.194757,103.725790 1.199605,103.726425 1.199455,103.729741 1.196921,103.745088 1.194004,103.745900 1.196682,103.746270 1.209420,103.748305 1.210406,103.751316 1.215692,103.754625 1.219767,103.758720 1.222446,103.765512 1.218942,103.766776 1.217302,103.767517 1.217149,103.767682 1.217105,103.769368 1.216589,103.772477 1.217617,103.775315 1.217946,103.776772 1.217493,103.780053 1.217581,103.780377 1.217834,103.798703 1.234267,103.800589 1.232660,103.802350 1.231239,103.803637 1.230285,103.806770 1.231712,103.812673 1.234209,103.815437 1.235387,103.822034 1.234645,103.823793 1.234309,103.828454 1.232749,103.829076 1.232319,103.829778 1.231840,103.837243 1.237339,103.840751 1.235737,103.841289 1.234909,103.842432 1.235057,103.842932 1.235141,103.843253 1.235148,103.845656 1.235075,103.847938 1.234866,103.850059 1.235732,103.852722 1.237958,103.855942 1.243043,103.856159 1.243510,103.865239 1.247976,103.873978 1.247274,103.896817 1.244881,103.898288 1.244296,103.900983 1.243514,103.904975 1.242510,103.913180 1.239539,103.928301 1.233831,103.929072 1.233800,103.938911 1.231868,103.939388 1.231728,103.939799 1.231609,103.943331 1.230131,103.946907 1.231972,103.963480 1.242287,103.971790 1.245697,103.977644 1.246754,103.983366 1.248171,103.996584 1.249905,104.000815 1.250503,104.017095 1.250947,104.037902 1.252560,104.040333 1.254074,104.041548 1.254562,104.081502 1.271081,104.106062 1.270386,104.110201 1.270860,104.124889 1.266657,104.136655 1.263680,104.161088 1.257844,104.162915 1.257698,104.171959 1.255579,104.198331 1.242586,104.220893 1.234263,104.251040 1.255850,104.264032 1.262591,104.273048 1.266747,104.286437 1.270566,104.298196 1.271445,104.331581 1.279328,104.338786 1.303045,104.346657 1.324629,104.364496 1.372491,104.368242 1.383325,104.390278 1.423996,104.419536 1.455099,104.475067 1.508648,104.491572 1.520291,104.505411 1.581584,104.594907 1.683659,104.653581 1.824649,104.715240 1.901055,104.776137 1.989357,104.841287 2.080617,104.914167 2.180620,105.018374 2.365153,105.057925 2.520080,105.102754 2.587027,105.129979 2.693794,105.155657 2.741671,105.185764 2.775785,105.217150 2.856376,105.239188 2.898186,105.297929 2.957151,105.328413 3.006719,105.368397 3.060955,105.385697 3.122191,105.414940 3.179642,105.432666 3.237070,105.476115 3.350423,105.558174 3.481879,105.679161 3.655394,105.801154 3.824083,105.863538 3.945994,105.987146 4.141731,106.089280 4.309713,106.202824 4.477175,106.236124 4.601942,106.290702 4.720250,106.352710 4.824696,106.412610 4.919329,106.472168 5.007170,106.533603 5.089565,106.595947 5.168798,106.641366 5.258049,106.770426 5.391598,106.904567 5.522951,106.934534 5.629803,107.075151 5.782110,107.143847 5.884224,107.189273 5.985177,107.328598 6.114370,107.434685 6.239230,107.482604 6.315109,107.537169 6.408732,107.589519 6.494637,107.626457 6.577687,107.654967 6.666651,107.686594 6.759735,107.784498 6.922409,107.816748 7.045146,107.926447 7.177442,108.020365 7.337861,108.117961 7.509186,108.188735 7.648015,108.281402 7.855268,108.352024 8.043316,108.383564 8.157074,108.459157 8.319034,108.524661 8.416496,108.593764 8.526075,108.678868 8.658147,108.786377 8.891289,108.859311 8.988138,108.931335 9.102736,109.023721 9.296768,109.071007 9.420272,109.220749 9.578550,109.339285 9.743377,109.453552 9.926570,109.561448 10.123145,109.695702 10.314388,109.798718 10.469126,109.846551 10.571590,109.938234 10.667407,110.008664 10.751481,110.064198 10.819784,110.192670 10.932706,110.328300 11.063917,110.405864 11.158938,110.458743 11.306185,110.605796 11.492480,110.690006 11.597397,110.739426 11.702146,110.866025 11.833829,110.993545 11.986249,111.105931 12.155344,111.226406 12.327524,111.346154 12.487309,111.468246 12.638037,111.587181 12.778112,111.678660 12.931255,111.768095 13.090276,111.891069 13.210732,111.951766 13.306159,112.028324 13.387318,112.140213 13.538782,112.191104 13.648616,112.239407 13.764663,112.280911 13.884047,112.432358 14.043890,112.575466 14.214907,112.734903 14.366499,112.875913 14.526258,112.942826 14.701135,113.043649 14.843452,113.088178 14.913699,113.140395 15.001920,113.198195 15.094617,113.252690 15.187075,113.292064 15.266737,113.376825 15.393408,113.446309 15.473067,113.478412 15.584642,113.601999 15.763855,113.741030 15.910338,113.859628 16.081384,113.916373 16.196370,114.029102 16.328857,114.147774 16.486853,114.302603 16.652248,114.441972 16.802298,114.475439 16.909524,114.514156 16.999466,114.618915 17.134154,114.689078 17.204770,114.752342 17.275247,114.855928 17.427596,114.970750 17.595535,115.085025 17.754120,115.177162 17.932393,115.264967 18.014488,115.355626 18.107332,115.506731 18.293603,115.595967 18.400924,115.686755 18.578967,115.774675 18.662317,115.868554 18.751101,115.953371 18.947227,116.058911 19.147303,116.146926 19.223209,116.234958 19.406053,116.304808 19.524720,116.364311 19.628698,116.407198 19.728463,116.443624 19.824496,116.491292 19.925035,116.534868 20.032124,116.651151 20.182635,116.704799 20.286279,116.829623 20.441366,116.961275 20.597797,117.028824 20.796912,117.100553 20.868806,117.200514 21.037472,117.314240 21.229334,117.432140 21.347439,117.474582 21.478500,117.573228 21.667682,117.619899 21.790057,117.774278 21.959834,117.848514 22.083956,117.908892 22.187961,117.966810 22.283760,118.026375 22.376804,118.083021 22.474057,118.125337 22.594765,118.217095 22.705129,118.310554 22.802187,118.400726 22.897903,118.471948 22.993641,118.524889 23.073356,118.653768 23.209643,118.696414 23.317294,118.746749 23.414410,118.794280 23.486221,118.857729 23.613180,118.941993 23.764435,119.064682 23.875126,119.196150 24.000566,119.237693 24.086693,119.301359 24.158658,119.396930 24.316491,119.501780 24.485128,119.582718 24.662645,119.666841 24.791148,119.761745 24.875720,119.825206 24.987608,119.870190 25.065882,119.983280 25.155451,120.050829 25.271838,120.113104 25.363778,120.174489 25.463195,120.230291 25.522699,120.294391 25.659471,120.346016 25.728898,120.384987 25.807694,120.475973 25.946492,120.542310 26.016557,120.595147 26.088648,120.631658 26.168455,120.680891 26.232154,120.743804 26.324297,120.782093 26.383739,120.820091 26.459047,120.917653 26.629735,121.038508 26.821297,121.110302 26.979734,121.168182 27.036035,121.238861 27.150383,121.323447 27.243864,121.377985 27.344796,121.421366 27.409089,121.488202 27.470660,121.556771 27.527887,121.612867 27.673176,121.657965 27.748222,121.775471 27.888657,121.844027 27.981294,121.944149 28.086722,122.008880 28.217149,122.053985 28.296993,122.104568 28.362451,122.180095 28.500688,122.270692 28.571479,122.365556 28.652187,122.462213 28.734673,122.501022 28.948492,122.495216 29.073761,122.494882 29.237571,122.503954 29.329469,122.543482 29.453269,122.536723 29.510914,122.521668 29.569854,122.535334 29.673530,122.533680 29.734528,122.532058 29.745666,122.550543 29.839860,122.556215 29.872858,122.568607 29.935833,122.579008 29.984579,122.579967 29.989302,122.597769 30.016021,122.608654 30.023538,122.588195 30.064151,122.590433 30.071308,122.609149 30.154475,122.609913 30.160984,122.609055 30.166081,122.606367 30.186086,122.604341 30.197437,122.607583 30.211834,122.608287 30.213939,122.609193 30.216949,122.611947 30.280378,122.611595 30.293415,122.613857 30.311359,122.620083 30.343478,122.602611 30.340856,122.534324 30.404202,122.532725 30.405592,122.515925 30.421567,122.512699 30.422783,122.508950 30.423719,122.505388 30.425092,122.504838 30.425258,122.501364 30.425325,122.499403 30.425268,122.497569 30.425414,122.497516 30.425444,122.492739 30.431453,122.488655 30.438662,122.485537 30.442461,122.482956 30.462285,122.482853 30.472513,122.483097 30.498647,122.482666 30.516043,122.490829 30.533316,122.486785 30.535097,122.468772 30.619937,122.467428 30.623123,122.467005 30.627523,122.463499 30.635853,122.463504 30.649539,122.458165 30.653009,122.456198 30.653922,122.456035 30.665049,122.455858 30.666040,122.454714 30.670221,122.453768 30.673769,122.451345 30.676644,122.438268 30.681205,122.436973 30.682316,122.431486 30.681054,122.429119 30.681418,122.427062 30.683176,122.425838 30.683513,122.424221 30.683740,122.424058 30.685779,122.422780 30.686378,122.422572 30.686794,122.422065 30.689668,122.421596 30.689997,122.419901 30.689684,122.419361 30.689615,122.418541 30.689382,122.417861 30.689222,122.413570 30.693177,122.395726 30.709341,122.395739 30.709355,122.399332 30.714368,122.401334 30.718151,122.397537 30.724262,122.394274 30.729596,122.377953 30.742479,122.371974 30.747336,122.371051 30.747557,122.378942 30.757256,122.379359 30.758835,122.380636 30.762095,122.383083 30.766402,122.383009 30.766620,122.382495 30.768017,122.382483 30.768440,122.382576 30.773792,122.382573 30.774417,122.382254 30.775769,122.311521 30.941785,122.251953 31.042984,122.198428 31.080763,122.200177 31.101697,122.140025 31.153356,122.084906 31.208710,122.064066 31.234945,122.058560 31.238140,122.042817 31.249416,122.040041 31.249966,122.017248 31.256712,122.007731 31.255010,122.005359 31.255270,121.993855 31.258682,121.987772 31.258482,121.980074 31.260610,121.970300 31.259468,121.951353 31.263520,121.949772 31.263386,121.942349 31.263233,121.933198 31.261233,121.930544 31.262180,121.925570 31.265341,121.915013 31.269358,121.900348 31.269117,121.889872 31.271346,121.889446 31.271353,121.875319 31.276180,121.872170 31.274798,121.852688 31.263855,121.851114 31.264526,121.849064 31.265278,121.839049 31.269291,121.834899 31.271649,121.822982 31.275464,121.822349 31.275658,121.820847 31.276067,121.810439 31.279920,121.808301 31.280404,121.805092 31.280780,121.802483 31.279742,121.801811 31.279534,121.783469 31.273263,121.770950 31.282531,121.770327 31.282821,121.766109 31.285632,121.761984 31.288540,121.748659 31.293798,121.740471 31.304352,121.737047 31.307869,121.736670 31.308207,121.725031 31.317529,121.721730 31.319532,121.721579 31.319608,121.718029 31.326493,121.707911 31.335909,121.706350 31.337690,121.698672 31.341373,121.697665 31.341998,121.695705 31.343166,121.690750 31.346245,121.685675 31.350758,121.666031 31.355540,121.665563 31.356177,121.659870 31.362857,121.655796 31.365855,121.650864 31.369788,121.636119 31.375091,121.627809 31.381420,121.627358 31.381518,121.622473 31.382876,121.617303 31.384970,121.612728 31.386560,121.605919 31.393435,121.605122 31.393463,121.585656 31.370068)"
}

Sample call requesting ship position to port route

https://api.sense.spire.com/routing?port_end_unlocode=NZBLU&latitude=-11.75843&longitude=143.11461&mmsi=538008659&speed=11.1

Sample Results

{
"status": "ok",
"duration": 826060,
"distance": 2539,
"seca": 0,
"eta": "2021-07-18T04:07:54",
"route": "LINESTRING(143.096982 -11.771260,143.161300 -11.766279,143.190110 -11.802163,143.192699 -11.805312,143.192644 -11.805437,143.190030 -11.811236,143.186294 -11.821851,143.191671 -11.839101,143.198263 -11.845789,143.214902 -11.863251,143.253759 -11.902623,143.279459 -11.906273,143.288015 -11.907220,143.312913 -11.909749,143.327467 -11.914895,143.328898 -11.915130,143.370478 -11.920441,143.392178 -11.977504,143.394443 -11.985779,143.420045 -12.024139,143.438095 -12.052317,143.475096 -12.107865,143.479922 -12.115026,143.514164 -12.141666,143.549853 -12.172501,143.578356 -12.210240,143.655248 -12.261104,143.685432 -12.314410,143.716102 -12.374087,143.827291 -12.452937,143.874297 -12.522821,143.925941 -12.612215,144.004865 -12.694459,144.074202 -12.775503,144.131785 -12.855945,144.240640 -13.034846,144.354499 -13.185314,144.418240 -13.253563,144.503362 -13.333891,144.672759 -13.448101,144.742553 -13.548191,144.878759 -13.698073,144.949923 -13.767135,145.060082 -13.882147,145.146616 -14.039589,145.231680 -14.099627,145.325163 -14.238579,145.424546 -14.366623,145.475259 -14.424739,145.552472 -14.486990,145.601754 -14.522464,145.650878 -14.576301,145.720741 -14.665593,145.761169 -14.775140,145.864450 -14.879582,145.979026 -15.003475,146.104079 -15.119822,146.202834 -15.226673,146.289381 -15.348148,146.385437 -15.521939,146.441117 -15.598327,146.516070 -15.678060,146.597237 -15.833329,146.732652 -15.966601,146.776700 -16.067539,146.826547 -16.172888,146.877448 -16.281735,146.928201 -16.392341,146.977885 -16.503569,147.029197 -16.613254,147.089746 -16.715561,147.152766 -16.828913,147.263991 -17.015231,147.327391 -17.114138,147.372084 -17.211051,147.527364 -17.328106,147.663417 -17.482643,147.732267 -17.581897,147.861231 -17.746710,147.944176 -17.819407,148.046939 -17.912974,148.114726 -18.030112,148.220737 -18.155304,148.349894 -18.262690,148.409342 -18.328903,148.476243 -18.410653,148.547052 -18.496306,148.622752 -18.587180,148.693924 -18.690294,148.751013 -18.801826,148.863304 -18.967001,148.949506 -19.058828,149.021616 -19.137876,149.144276 -19.281606,149.256628 -19.443609,149.368774 -19.596084,149.475686 -19.744313,149.521272 -19.803855,149.548575 -19.852927,149.570369 -19.893411,149.593013 -19.924511,149.618405 -19.950171,149.636320 -19.994657,149.646424 -20.011763,149.656333 -20.028253,149.677479 -20.046472,149.686349 -20.058430,149.695693 -20.069428,149.707607 -20.081181,149.721846 -20.094418,149.734649 -20.108516,149.760906 -20.144340,149.805060 -20.200210,149.865315 -20.262570,149.906236 -20.303126,149.979235 -20.413371,150.014794 -20.506891,150.098687 -20.586951,150.154140 -20.675533,150.255369 -20.786910,150.299920 -20.853278,150.357637 -20.939415,150.410781 -21.038606,150.446978 -21.148488,150.593111 -21.307015,150.739000 -21.434015,150.826580 -21.575591,150.896648 -21.646375,150.952664 -21.757967,151.039510 -21.858556,151.100172 -21.950844,151.144968 -22.044226,151.290090 -22.177334,151.436208 -22.362770,151.559270 -22.538550,151.646046 -22.596791,151.819315 -22.706514,151.899662 -22.809560,151.988561 -22.899681,152.063475 -22.973080,152.231277 -23.091574,152.311077 -23.180019,152.401354 -23.258103,152.501151 -23.339397,152.602401 -23.536538,152.720938 -23.718477,152.849857 -23.907788,152.938402 -24.009647,153.015561 -24.095553,153.099549 -24.184120,153.248393 -24.336004,153.334352 -24.462109,153.378738 -24.552676,153.413090 -24.619199,153.453247 -24.692797,153.480418 -24.776401,153.514127 -24.816678,153.547245 -24.860981,153.581384 -24.919039,153.627962 -24.974797,153.650906 -25.033724,153.709263 -25.136688,153.777122 -25.205016,153.846622 -25.362646,153.864539 -25.461528,153.900876 -25.557006,153.948863 -25.657974,153.995998 -25.764732,154.044293 -25.870317,154.091151 -25.975367,154.134086 -26.079744,154.170344 -26.184173,154.201785 -26.290986,154.244097 -26.397498,154.301055 -26.516810,154.393320 -26.723013,154.489485 -26.926600,154.559844 -27.094940,154.590683 -27.183092,154.630452 -27.290364,154.675764 -27.401968,154.721681 -27.513757,154.762344 -27.613162,154.840127 -27.785945,154.889896 -27.884457,154.957821 -28.013177,155.045347 -28.237734,155.150758 -28.437371,155.187245 -28.572687,155.320768 -28.749300,155.416223 -28.922787,155.493730 -29.090666,155.555010 -29.273649,155.592054 -29.410872,155.660238 -29.608003,155.711636 -29.797547,155.760726 -29.980141,155.847434 -30.183132,155.901029 -30.312494,155.937762 -30.425041,155.968690 -30.532597,156.002186 -30.633346,156.034378 -30.714455,156.118562 -30.875015,156.187166 -30.977542,156.224311 -31.065201,156.291579 -31.221837,156.345271 -31.330465,156.467666 -31.534107,156.572324 -31.704300,156.612617 -31.796930,156.664061 -31.906473,156.725164 -32.030454,156.799138 -32.227606,156.862736 -32.446051,156.936642 -32.617780,156.983509 -32.708200,157.051027 -32.832070,157.120535 -33.062222,157.207430 -33.261852,157.330389 -33.460564,157.468115 -33.635909,157.489187 -33.761363,157.566255 -33.845861,157.656778 -33.976330,157.714609 -34.065928,157.870290 -34.246817,158.023016 -34.409771,158.167829 -34.559636,158.250678 -34.740971,158.427462 -34.958982,158.506751 -35.180420,158.633382 -35.391504,158.780807 -35.563616,158.898870 -35.765758,158.973175 -35.894465,159.056952 -36.025747,159.215375 -36.223600,159.378915 -36.387332,159.411618 -36.508437,159.462211 -36.634320,159.530006 -36.754884,159.586090 -36.872397,159.755908 -37.058100,159.893801 -37.226152,159.928638 -37.336873,159.978015 -37.467366,160.074485 -37.677744,160.209107 -37.850945,160.324901 -38.018537,160.395692 -38.203953,160.484039 -38.298042,160.560412 -38.400232,160.613097 -38.510768,160.656902 -38.628605,160.704771 -38.744048,160.878211 -38.879472,160.999135 -39.041932,161.110532 -39.200375,161.211276 -39.364445,161.286657 -39.451878,161.338980 -39.541989,161.389918 -39.642731,161.548946 -39.780915,161.663813 -39.967720,161.749408 -40.076008,161.820935 -40.157311,161.935166 -40.319607,162.014528 -40.498975,162.099061 -40.589879,162.175894 -40.779439,162.244699 -40.923375,162.356045 -41.036329,162.407478 -41.225905,162.554131 -41.373530,162.619249 -41.471105,162.675917 -41.573552,162.744169 -41.698355,162.851950 -41.917435,162.952779 -42.117662,163.131524 -42.271852,163.190652 -42.358435,163.236103 -42.464749,163.279175 -42.563593,163.334205 -42.654297,163.388545 -42.747748,163.552219 -42.889254,163.709120 -43.047835,163.840736 -43.226399,163.944557 -43.294999,164.034556 -43.375575,164.189171 -43.519119,164.303764 -43.679711,164.478526 -43.849111,164.600558 -44.035271,164.709895 -44.201083,164.754597 -44.291863,164.796806 -44.400869,164.855569 -44.506419,164.934950 -44.620543,165.090488 -44.817325,165.240297 -44.999981,165.369658 -45.172050,165.522804 -45.312316,165.659630 -45.475616,165.760512 -45.568513,165.839627 -45.662631,165.914965 -45.741863,165.986148 -45.804192,166.051647 -45.914530,166.148563 -46.008191,166.221251 -46.044491,166.278086 -46.102079,166.306241 -46.133203,166.348760 -46.155891,166.418396 -46.204532,166.442988 -46.242451,166.469459 -46.278354,166.496500 -46.312522,166.528947 -46.348322,166.585285 -46.383650,166.709739 -46.429602,166.710330 -46.426294,166.717034 -46.424619,166.826529 -46.398381,166.852050 -46.392406,166.853862 -46.392509,166.862438 -46.392251,166.893366 -46.392329,166.908595 -46.394169,166.917138 -46.395825,166.938963 -46.399183,166.952516 -46.401255,166.966780 -46.404289,166.986989 -46.406700,167.090305 -46.445513,167.170237 -46.447082,167.265445 -46.463913,167.352813 -46.495857,167.432440 -46.514885,167.494822 -46.523779,167.601531 -46.538219,167.718674 -46.548243,167.743603 -46.551802,167.769210 -46.555646,167.784807 -46.557972,167.807703 -46.562299,167.810511 -46.562882,167.842638 -46.568916,167.857454 -46.571687,167.884660 -46.568805,167.941020 -46.564908,167.943817 -46.564138,167.970958 -46.556275,167.992268 -46.561268,168.005582 -46.563422,168.021639 -46.565901,168.027969 -46.566250,168.054971 -46.567549,168.065921 -46.580352,168.128296 -46.673544,168.135830 -46.679511,168.147596 -46.685567,168.170706 -46.684997,168.220100 -46.693390,168.220716 -46.693525,168.250978 -46.705847,168.268353 -46.713129,168.274357 -46.715552,168.281201 -46.718741,168.303124 -46.728798,168.321103 -46.722574,168.342347 -46.716284,168.355742 -46.679244,168.371261 -46.648432,168.379891 -46.633791,168.382171 -46.631108,168.383653 -46.629240,168.366194 -46.607949,168.358317 -46.602334,168.354436 -46.599469,168.349647 -46.595653,168.346588 -46.594153,168.345868 -46.594019,168.344749 -46.593436,168.343967 -46.592288)"
}

Sample_point_to_Port_NZBLU

API Parameters

Parameter name

Required

Type

Description

port_start_unlocode

Yes (use only:

port_start_unlocode

OR

latitude AND longitude

string

UN/LOCODE as defined by the UNECE (https://www.unece.org/cefact/locode/service/location.html)

longitude

 

float

Longitude of starting point of route IE. vessel's position

latitude

 

float

Latitude of starting point of route IE. vessel's position

port_end_unlocode

Yes

string

UN/LOCODE as defined by the UNECE (https://www.unece.org/cefact/locode/service/location.html)

mmsi

Optional

int

mmsi of vessel, whose type and size is checked and used to predict the route. Note only works for Dry Bulk vessels as of 2020-06.

suez

Optional (Default value = 1)

int

Set to 1 to allow the route to go through the Suez channel.

panama

Optional (Default value = 1)

int

Set to 1 to allow the route to go through the Panama channel.

vessel_type

Yes

string

one value of the following vessel type codes must be specified. This tells the routing API what type and size of vessel to generate the route for. This is required if no MMSI value is passed. 

BULK_CARRIER_HANDYSIZE
BULK_CARRIER_HANDYMAX
BULK_CARRIER_SUPRAMAX
BULK_CARRIER_ULTRAMAX
BULK_CARRIER_PANAMAX
BULK_CARRIER_KAMSARMAX
BULK_CARRIER_POST_PANAMAX
BULK_CARRIER_CAPESIZE
BULK_CARRIER_VLOC
TANKER_CHEMICAL_SMALL
TANKER_CHEMICAL_MEDIUM
TANKER_CHEMICAL_LARGE
CONTAINER_FEEDER
CONTAINER_PANAMAX
CONTAINER_POST_PANAMAX
CONTAINER_NEW_PANAMAX
CONTAINER_ULCV
LNG_CARRIER_SMALL
LNG_CARRIER_MEDMAX
LNG_CARRIER_LOWER_CONVENTIONAL
LNG_CARRIER_UPPER_CONVENTIONAL
LNG_CARRIER_Q-FLEX
LNG_CARRIER_Q-MAX
LPG_CARRIER_COASTER
LPG_CARRIER_HANDY
LPG_CARRIER_LGC
LPG_CARRIER_VLGC
TANKER_CRUDE_HANDYSIZE
TANKER_CRUDE_PANAMAX
TANKER_CRUDE_AFRAMAX
TANKER_CRUDE_SUEZMAX
TANKER_CRUDE_VLCC
TANKER_PRODUCT_HANDYSIZE
TANKER_PRODUCT_MR
TANKER_PRODUCT_LR1
TANKER_PRODUCT_LR2

 

API Response Properties

Property

Type

Description

status

string

result code for API request

duration

int

duration of the trip in seconds

distance

float

The Distance in NM between the specified point or port to the destination port

seca

int

distance in NM of the portion of the route that is spent in SECA zones 

eta

Timestamp (UTC)

Estimated Time of Arrival

route

string

Route/Waypoints as Linestring Geometry in WKT - Well-Known Text

API Response Codes

Code

Error

Description

Reason / Info

440

Unknown (origin | destination) location

Not found in UNECE  UN/LOCODE Code

 

441

No routes to connect the ports

We cannot support this port-to-port route

Not enough data from the original datasets

442

Destination is not cached yet

Destination port has not been cached for the current version yet

Should be available within the same day

443

No routes to connect the starting point

The lat lon pair provided is not supported for this destination

Not enough data from the original datasets

444

There is not a route close to the waypoint, try increasing tolerance (serverside)

There is no waypoint close to this lat lon pair

Tolerance is the measure of how distant a given lat/lon pair can be to any supported route

445

Port not available for dry bulk vessels

 

 

446

Locode {port} not recognized

Wrong LOCODE (Locode not available in global DB)

 

447

Unsupported MMSI {mmsi}

Wrong MMSI (MMSI not available in global DB)