Port Traffic Monitoring API

API ID 5078

Port Traffic Monitoring API provides real-time vessel data, including route details, location, status and vessel characteristics for monitoring

100% uptime 721 ms avg response

API Documentation

Endpoints

Request

Pass the vessel IMO number and retrieve information about the ship. 

Get data like:

  • IMO number
  • Vessel Name
  • Ship type
  • Flag
  • Gross Tonnage
  • Summer Deadweight (t)
  • Length Overall (m)
  • Beam (m)
  • Year of Built
Endpoint ID: 6460
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6460/get+vessel+information+by+mmsi+code
INPUT PARAMETERS

Get Vessel Information by MMSI Code — Endpoint Features

Object Description
imoCode Required The Vessel's IMO code.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

imoCode
API EXAMPLE RESPONSE
JSON
{"status":404,"success":false,"message":"The IMO Code that you entered does not exist in our database. Please try again.","data":[]}
Get Vessel Information by MMSI Code — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6460/get+vessel+information+by+mmsi+code?imoCode=9702510' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

This endpoint will allow you to retrieve the current route of a desired vessel. 

Get:

  • Departure Port
  • Departure ATD
  • Callsign
  • Flag
  • Length / Beam
  • IMO / MMSI
  • Navigation Status
  • Current Draught
  • Course / Speed
  • Arrival Port
  • Arrival ETA

Also, retrieve the latest ports, and how long they where in that port. 

Endpoint ID: 6461
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6461/get+vessel+path
INPUT PARAMETERS

Get Vessel Path — Endpoint Features

Object Description
imoCode Required The Vessel's IMO code.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

imoCode
API EXAMPLE RESPONSE
JSON
{"status":200,"success":true,"message":"IMO Code 9270622 is valid","data":{"departure_port":"Forcados Oil Field Term., Unknown","departure_atd":"ATD: Oct 31, 15:27 UTC (23 days ago)","callsign":"YJWW8","flag":"Vanuatu","length_beam":"69 \/ 16 m","imo_mmsi":"9270622 \/ 577472000","navigation_status":"Moored","current_draught":"5.5 m","course_speed":"\u00a0","arrival_port":"Onne, Nigeria","arrival_atd":"ATA: Nov 11, 14:42 UTC","latest_port_calls":[{"port_name":"Onne, Nigeria","arrival_utc":"Nov 11, 14:42","departure_utc":"-","time_in_port":"-"},{"port_name":"locked, ","arrival_utc":"2024-10-31T05:09:00.000000Z","departure_utc":"2024-10-31T15:27:00.000000Z","time_in_port":"10 hours, 18 minutes"},{"port_name":"locked, ","arrival_utc":"2024-10-27T12:48:00.000000Z","departure_utc":"2024-10-27T20:01:00.000000Z","time_in_port":"7 hours, 13 minutes"},{"port_name":"locked, ","arrival_utc":"2024-10-17T17:21:00.000000Z","departure_utc":"2024-10-18T05:46:00.000000Z","time_in_port":"12 hours, 25 minutes"},{"port_name":"locked, ","arrival_utc":"2024-10-01T16:48:00.000000Z","departure_utc":"2024-10-02T05:52:00.000000Z","time_in_port":"13 hours, 4 minutes"}]}}
Get Vessel Path — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6461/get+vessel+path?imoCode=9270622' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

This endpoint will deliver all the supported ports on this API with their IDs. 

Later, this IDs could be used to check other endpoints. 

Endpoint ID: 6464
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6464/harbors+directory
INPUT PARAMETERS

Harbors Directory — Endpoint Features

Object Description
page Optional Pagination. Default: 1
per_page Optional Number of results

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

page
per_page
API EXAMPLE RESPONSE
JSON
{"current_page":1,"data":[{"port_id":"2628","name":"AABENRAA","country":"Denmark","type":"Port","size":"Small"},{"port_id":"5307","name":"AAGOTNES","country":"Norway","type":"Port","size":"Small"},{"port_id":"5175","name":"AAHEIM","country":"Norway","type":"Port","size":"Small"},{"port_id":"80","name":"AALBORG","country":"Denmark","type":"Port","size":"XLarge"},{"port_id":"885","name":"AALSMEER","country":"Netherlands","type":"Port","size":"Small"},{"port_id":"990","name":"AALST","country":"Netherlands","type":"Port","size":"XSmall"},{"port_id":"82","name":"AARHUS","country":"Denmark","type":"Port","size":"Large"},{"port_id":"3592","name":"ABADAN","country":"Iran","type":"Port","size":"XLarge"},{"port_id":"4523","name":"ABASHIRI","country":"Japan","type":"Port","size":"Small"},{"port_id":"5327","name":"ABELNES","country":"Norway","type":"Port","size":"XSmall"},{"port_id":"6344","name":"ABERDEEN","country":"USA","type":"Port","size":"Medium"},{"port_id":"83","name":"ABERDEEN","country":"United Kingdom","type":"Port","size":"Medium"},{"port_id":"2454","name":"ABERDEEN ANCH","country":"United Kingdom","type":"Anchorage","size":"Medium"},{"port_id":"1537","name":"ABERDOUR","country":"United Kingdom","type":"Port","size":"XSmall"},{"port_id":"3337","name":"ABIDJAN","country":"Ivory Coast","type":"Port","size":"XLarge"},{"port_id":"5426","name":"ABRA DE ILOG","country":"Philippines","type":"Port","size":"Small"},{"port_id":"5642","name":"ABRUKA","country":"Estonia","type":"Port","size":"XSmall"},{"port_id":"5805","name":"ABSHERON","country":"Azerbaijan","type":"Port","size":"Small"},{"port_id":"3181","name":"ABU CHOSOUN","country":"Egypt","type":"Port","size":"Small"},{"port_id":"84","name":"ABU DHABI","country":"UAE","type":"Port","size":"XLarge"},{"port_id":"5853","name":"ABU FULUS","country":"Iraq","type":"Port","size":"Small"},{"port_id":"3599","name":"ABU MUSA","country":"Iran","type":"Port","size":"Small"},{"port_id":"3173","name":"ABU QIR","country":"Egypt","type":"Port","size":"Large"},{"port_id":"4856","name":"ABURATO","country":"Japan","type":"Port","size":"XSmall"},{"port_id":"4696","name":"ABURATSU","country":"Japan","type":"Port","size":"Medium"},{"port_id":"6089","name":"ACADIAN CONTRACTORS","country":"USA","type":"Port","size":"Small"},{"port_id":"7155","name":"ACAJUTLA","country":"El Salvador","type":"Port","size":"Small"},{"port_id":"6616","name":"ACAPULCO","country":"Mexico","type":"Port","size":"Large"},{"port_id":"3338","name":"ACCRA","country":"Ghana","type":"Port","size":"XSmall"},{"port_id":"6767","name":"ACHAO","country":"Chile","type":"Port","size":"XSmall"},{"port_id":"777","name":"ACHILLI","country":"Greece","type":"Marina","size":"Small"},{"port_id":"516","name":"ACHILLIO","country":"Greece","type":"Marina","size":"XSmall"},{"port_id":"528","name":"ACHLADI","country":"Greece","type":"Port","size":"XSmall"},{"port_id":"1586","name":"ACHNACROISH","country":"United Kingdom","type":"Port","size":"XSmall"},{"port_id":"3159","name":"ACRE","country":"Israel","type":"Port","size":"Small"},{"port_id":"6234","name":"ADAK","country":"USA","type":"Port","size":"Medium"},{"port_id":"3813","name":"ADELAIDE","country":"Australia","type":"Port","size":"XLarge"},{"port_id":"3454","name":"ADEN","country":"Yemen","type":"Port","size":"Large"},{"port_id":"3053","name":"ADLER","country":"Russia","type":"Port","size":"Small"},{"port_id":"5766","name":"ADONY","country":"Hungary","type":"Port","size":"Small"},{"port_id":"1895","name":"ADRA","country":"Spain","type":"Port","size":"Small"},{"port_id":"2738","name":"ADRIA","country":"Italy","type":"Port","size":"Small"},{"port_id":"5","name":"AEGINA","country":"Greece","type":"Port","size":"Small"},{"port_id":"793","name":"AEGINA BOATYARD","country":"Greece","type":"Marina","size":"XSmall"},{"port_id":"636","name":"AEGINA MAR","country":"Greece","type":"Marina","size":"XSmall"},{"port_id":"5653","name":"AEGNA","country":"Estonia","type":"Port","size":"XSmall"},{"port_id":"2612","name":"AEROSKOBING","country":"Denmark","type":"Port","size":"XSmall"},{"port_id":"778","name":"AETOS","country":"Greece","type":"Port","size":"XSmall"},{"port_id":"3578","name":"AFTAB","country":"Iran","type":"Port","size":"XSmall"},{"port_id":"3303","name":"AGADIR","country":"Morocco","type":"Port","size":"Medium"}],"first_page_url":"?page=1","from":1,"last_page":94,"last_page_url":"?page=94","links":[{"url":null,"label":"« Previous","active":false},{"url":"?page=1","label":"1","active":true},{"url":"?page=2","label":"2","active":false},{"url":"?page=3","label":"3","active":false},{"url":"?page=4","label":"4","active":false},{"url":"?page=5","label":"5","active":false},{"url":"?page=6","label":"6","active":false},{"url":"?page=7","label":"7","active":false},{"url":"?page=8","label":"8","active":false},{"url":"?page=9","label":"9","active":false},{"url":"?page=10","label":"10","active":false},{"url":null,"label":"...","active":false},{"url":"?page=93","label":"93","active":false},{"url":"?page=94","label":"94","active":false},{"url":"?page=2","label":"Next »","active":false}],"next_page_url":"?page=2","path":"","per_page":50,"prev_page_url":null,"to":50,"total":4693}
Harbors Directory — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6464/harbors+directory?page=1&per_page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Based on the Port ID you will be able to retrieve the information of the port and also the current weather at the port. 

Endpoint ID: 6465
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6465/get+port+summary
INPUT PARAMETERS

GET Port Summary — Endpoint Features

Object Description
port_id Required The port ID retrieved on the Port Database endpoint.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

port_id
API EXAMPLE RESPONSE
JSON
{"id":12,"port_id":"83","name":"ABERDEEN","country":"United Kingdom","country_code":"GB","type":"Port","size":"Medium","unlocode":"GBABD","latitude":"57.14180\u00b0","longitude":"-2.07639\u00b0","vessel_in_port":49,"arrivals_24_hours":32,"departures_24_hours":26,"expected_arrivals":18,"local_time":"2024-05-23","time_zone":"Europe\/London","temperature_celsius":"11.8\u00b0C","temperature_fahrenheit":"53.24\u00b0F","wind_speed":"10 knots","wind_direction":"12\u00b0 NNE","humidity":"94.2 %","pressure":"1011.5 hPa","could_coverage":"100 %","created_at":"2024-05-23T19:23:49.000000Z","updated_at":"2024-05-23T19:39:43.000000Z"}
GET Port Summary — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6465/get+port+summary?port_id=89' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Based on the Port ID, you'll be able to retrieve all the current vessels that are in the selected port. 

Get their name, MMSI or IMO code and other relevant information. 

Endpoint ID: 6466
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6466/port+vessels
INPUT PARAMETERS

Port Vessels — Endpoint Features

Object Description
port_id Required The port ID retrieved on the Port Database endpoint.
page Optional Pagination. Default: 1

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

port_id
page
API EXAMPLE RESPONSE
JSON
{"success":false,"message":" port_id does not exist on the database"}
Port Vessels — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6466/port+vessels?port_id=89&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Based on the Port ID, you'll be abe to recognize the expected vessels that will arrive to that port. 

Endpoint ID: 6467
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6467/port+arrivals+forecast
INPUT PARAMETERS

Port Arrivals Forecast — Endpoint Features

Object Description
port_id Required The port ID retrieved on the Port Database endpoint.
page Optional Pagination. Default: 1

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

port_id
page
API EXAMPLE RESPONSE
JSON
{"success":true,"status":200,"port":"AMSTERDAM","id":"89","expected_arrivals":"42","page":"1","expected_arrivals_data":[{"name":"MIRAGE","country":"NL","mmsi":"244660742","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 20:06"},{"name":"ROTTERDAM 30","country":"NL","mmsi":"244700148","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 20:29"},{"name":"DUZGIT ENDEAVOUR","country":"TR","mmsi":"271043022","imo":"9581007","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 21:06"},{"name":"RHEIN MELODIE","country":"DE","mmsi":"211718140","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 21:19"},{"name":"OLYMPUS","country":"SE","mmsi":"266469000","imo":"9310355","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 21:27"},{"name":"RHODY","country":"NL","mmsi":"244660475","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 21:48"},{"name":"FRANCINA","country":"NL","mmsi":"244130292","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 21:54"},{"name":"TUO FU 6","country":"HK","mmsi":"477464200","imo":"9640671","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 22:00"},{"name":"SOPHIE ISABELL","country":"BE","mmsi":"205545990","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 22:41"},{"name":"SYNERGY","country":"NL","mmsi":"244700236","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 22:56"},{"name":"HINTE 2","country":"NL","mmsi":"244000128","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 23:03"},{"name":"VIKING EGDIR","country":"CH","mmsi":"269057766","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 23:24"},{"name":"PETER JAEGERS","country":"DE","mmsi":"211536330","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 23:35"},{"name":"VIKING EINAR","country":"CH","mmsi":"269057687","imo":"7002108","Port":"AMSTERDAM","Estimated Arrival":"2024-09-17 23:37"},{"name":"ONUS","country":"NL","mmsi":"244870379","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 00:14"},{"name":"JOLYN","country":"NL","mmsi":"246544000","imo":"9374686","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 00:20"},{"name":"LYNSEY","country":"NL","mmsi":"244046289","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 00:43"},{"name":"SIRIS","country":"DE","mmsi":"218031050","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 00:45"},{"name":"SIRIUS","country":"NL","mmsi":"244030715","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 01:14"},{"name":"GOYA","country":"DE","mmsi":"211556920","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 01:34"},{"name":"TERGOUW","country":"NL","mmsi":"244710010","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 01:46"},{"name":"MALTA","country":"NL","mmsi":"244790186","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 02:08"},{"name":"LEONIE","country":"DE","mmsi":"211703410","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 02:21"},{"name":"TERSCHELLING","country":"NL","mmsi":"246507000","imo":"9313826","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 02:50"},{"name":"POUWEL S","country":"NL","mmsi":"244076547","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 03:11"},{"name":"AMINA","country":"CH","mmsi":"269057002","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 03:42"},{"name":"METRO AEGEAN","country":"LR","mmsi":"636023033","imo":"9973640","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 05:18"},{"name":"SAKURA","country":"KY","mmsi":"319230400","imo":"9933377","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 05:28"},{"name":"ICELANDICA HAV","country":"BS","mmsi":"309175000","imo":"8128884","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 08:54"},{"name":"JULIA","country":"DE","mmsi":"211544420","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 09:03"},{"name":"SEAGAS LOYALTY","country":"MH","mmsi":"538006310","imo":"9710335","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 12:06"},{"name":"GEMINI","country":"NL","mmsi":"244660878","imo":"---","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 12:53"},{"name":"MIRYANA","country":"NL","mmsi":"244110172","imo":"2321599","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 16:58"},{"name":"ARCTICA HAV","country":"BS","mmsi":"311818000","imo":"8403571","Port":"AMSTERDAM","Estimated Arrival":"2024-09-18 18:34"},{"name":"VIKING VENUS","country":"NO","mmsi":"257552000","imo":"9833175","Port":"AMSTERDAM","Estimated Arrival":"2024-09-19 00:00"},{"name":"TEQUILA","country":"MH","mmsi":"538002883","imo":"9345219","Port":"AMSTERDAM","Estimated Arrival":"2024-09-19 01:44"},{"name":"YEOMAN BONTRUP","country":"BS","mmsi":"308918000","imo":"8912297","Port":"AMSTERDAM","Estimated Arrival":"2024-09-19 05:42"},{"name":"HANSA SEALANCER","country":"MH","mmsi":"538090615","imo":"9367695","Port":"AMSTERDAM","Estimated Arrival":"2024-09-19 09:40"},{"name":"AMUR STAR","country":"MT","mmsi":"248043000","imo":"9480368","Port":"AMSTERDAM","Estimated Arrival":"2024-09-19 21:02"},{"name":"ARSLAND","country":"MT","mmsi":"249332000","imo":"9395989","Port":"AMSTERDAM","Estimated Arrival":"2024-09-20 22:05"},{"name":"FURE VANGUARD","country":"SE","mmsi":"265048000","imo":"9963360","Port":"AMSTERDAM","Estimated Arrival":"2024-09-21 01:32"},{"name":"CHIOS STAR","country":"MH","mmsi":"538007843","imo":"9827566","Port":"AMSTERDAM","Estimated Arrival":"2024-09-22 12:35"}]}
Port Arrivals Forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6467/port+arrivals+forecast?port_id=89&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Based on the Port ID, you'll receive the activity on the port. 

 

Receive arrivals and departures that will take place on the port. 

Endpoint ID: 6468
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6468/port+activity
INPUT PARAMETERS

Port Activity — Endpoint Features

Object Description
port_id Required The port ID retrieved on the Port Database endpoint.
page Optional Pagination. Default: 1

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

port_id
page
API EXAMPLE RESPONSE
JSON
{"success":true,"status":200,"port":"AMSTERDAM","id":"89","events":"839","page":"1","event":[{"Event":"Arrival","Time":"2024-09-17 19:50","Port":"AMSTERDAM","name":"KP 2","country":"NL","mmsi":"244615227","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:45","Port":"AMSTERDAM","name":"KOKMEEUW","country":"NL","mmsi":"244110531","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:45","Port":"AMSTERDAM","name":"SVITZER AMSTEL","country":"NL","mmsi":"249005000","imo":"9771133"},{"Event":"Departure","Time":"2024-09-17 19:45","Port":"AMSTERDAM","name":"SVITZER TEMPEST","country":"NL","mmsi":"244013126","imo":"9793076"},{"Event":"Departure","Time":"2024-09-17 19:45","Port":"AMSTERDAM","name":"SRIWANGI III","country":"NL","mmsi":"563223700","imo":"9430739"},{"Event":"Departure","Time":"2024-09-17 19:42","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:41","Port":"AMSTERDAM","name":"SVITZER MUIDEN","country":"NL","mmsi":"246115000","imo":"9292888"},{"Event":"Arrival","Time":"2024-09-17 19:40","Port":"AMSTERDAM","name":"WATERMAN","country":"NL","mmsi":"244710818","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:40","Port":"AMSTERDAM","name":"TALERNA","country":"NL","mmsi":"244710338","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:39","Port":"AMSTERDAM","name":"KP 2","country":"NL","mmsi":"244615227","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:36","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:31","Port":"AMSTERDAM","name":"SPES NOVA","country":"NL","mmsi":"244660039","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:30","Port":"AMSTERDAM","name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:29","Port":"AMSTERDAM","name":"SVITZER MUIDEN","country":"NL","mmsi":"246115000","imo":"9292888"},{"Event":"Departure","Time":"2024-09-17 19:28","Port":"AMSTERDAM","name":"SVITZER AMSTEL","country":"NL","mmsi":"249005000","imo":"9771133"},{"Event":"Departure","Time":"2024-09-17 19:25","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:22","Port":"AMSTERDAM","name":"FADAM 2","country":"NL","mmsi":"244050915","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:20","Port":"AMSTERDAM","name":"MESSINA","country":"NL","mmsi":"244722317","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:18","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:16","Port":"AMSTERDAM","name":"RAMSHOORN","country":"NL","mmsi":"244670069","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:15","Port":"AMSTERDAM","name":"CLAUDIA","country":"NL","mmsi":"244078861","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:12","Port":"AMSTERDAM","name":"VERWACHTING","country":"NL","mmsi":"244710773","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:08","Port":"AMSTERDAM","name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:07","Port":"AMSTERDAM","name":"ASTRO","country":"NL","mmsi":"244034413","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 19:07","Port":"AMSTERDAM","name":"SVITZER TEMPEST","country":"NL","mmsi":"244013126","imo":"9793076"},{"Event":"Arrival","Time":"2024-09-17 19:06","Port":"AMSTERDAM","name":"AVANTI","country":"NL","mmsi":"244700117","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:03","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2024-09-17 19:00","Port":"AMSTERDAM","name":"AMSTEL","country":"NL","mmsi":"244184725","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:58","Port":"AMSTERDAM","name":"PAULINE","country":"NL","mmsi":"244690927","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:57","Port":"AMSTERDAM","name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:57","Port":"AMSTERDAM","name":"BOOT 2","country":"NL","mmsi":"244700432","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:55","Port":"AMSTERDAM","name":"REPOS AILLEURS","country":"NL","mmsi":"244690236","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:55","Port":"AMSTERDAM","name":"MARINIER","country":"NL","mmsi":"244260087","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:54","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:53","Port":"AMSTERDAM","name":"CARPE VESPERUM","country":"NL","mmsi":"253000049","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:53","Port":"AMSTERDAM","name":"MI-MUNDO","country":"NL","mmsi":"244700292","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:51","Port":"AMSTERDAM","name":"VERWACHTING","country":"NL","mmsi":"244710773","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:51","Port":"AMSTERDAM","name":"ANCONA","country":"NL","mmsi":"244730961","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:49","Port":"AMSTERDAM","name":"SVITZER TEMPEST","country":"NL","mmsi":"244013126","imo":"9793076"},{"Event":"Departure","Time":"2024-09-17 18:44","Port":"AMSTERDAM","name":"BERTHOLD K.","country":"NL","mmsi":"246613000","imo":"9374715"},{"Event":"Arrival","Time":"2024-09-17 18:43","Port":"AMSTERDAM","name":"ORIGO","country":"NL","mmsi":"244073540","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:43","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:39","Port":"AMSTERDAM","name":"MARKSTROOM","country":"NL","mmsi":"244020463","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:37","Port":"AMSTERDAM","name":"ESTRELLA","country":"NL","mmsi":"244650971","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:35","Port":"AMSTERDAM","name":"DE GEEST VAN HELENA","country":"NL","mmsi":"244013585","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:35","Port":"AMSTERDAM","name":"ZWAANTJE 6","country":"NL","mmsi":"244670174","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:34","Port":"AMSTERDAM","name":"ANCONA","country":"NL","mmsi":"244730961","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:34","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2024-09-17 18:33","Port":"AMSTERDAM","name":"AVANTI","country":"NL","mmsi":"244700117","imo":"---"},{"Event":"Arrival","Time":"2024-09-17 18:32","Port":"AMSTERDAM","name":"PEGASUS","country":"NL","mmsi":"205346790","imo":"---"}]}
Port Activity — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6468/port+activity?port_id=89&page=1' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Pass the vessel MMSI code and retrieve information about the ship. 

Get data like:

  • Position Received
  • Area
  • Current Port
  • Coordinates
  • Navigational status
  • Last port calls
  • arrival
  • Departure
  • Time in port
Endpoint ID: 6469
GET https://zylalabs.com/api/5078/port+traffic+monitoring+api/6469/ports+latest+by+mmsi
INPUT PARAMETERS

Ports Latest By Mmsi — Endpoint Features

Object Description
mmsiCode Required Indicates an MMSI Code

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

mmsiCode
API EXAMPLE RESPONSE
JSON
{"status":200,"success":true,"message":"MMSI Code 205566190 is valid","data":{"position_received":"5 m ago","vessel_local_time":"-","area":"North Sea","current_port":"KEIZERSVEER","latitude_longitude":"51.71656\u00b0 \/ 4.89734\u00b0","navigational_status":"Moored","speed_course":"","ais_source":"-","last_port_calls":[{"port":"NIEUWEGEIN","arrival":"2024-09-13 15:24","departure":"2024-09-16 09:15","time_in_port":"2 d"},{"port":"AMSTERDAM","arrival":"2024-09-12 16:11","departure":"2024-09-13 12:48","time_in_port":"20 h"},{"port":"HANSWEERT","arrival":"2024-09-12 00:13","departure":"2024-09-12 00:36","time_in_port":"22 m"},{"port":"ANTWERP","arrival":"2024-09-11 20:58","departure":"2024-09-11 22:43","time_in_port":"1 h"},{"port":"ANTWERP","arrival":"2024-09-04 13:10","departure":"2024-09-10 20:09","time_in_port":"6 d"},{"port":"HANSWEERT","arrival":"2024-09-04 11:14","departure":"2024-09-04 11:56","time_in_port":"42 m"},{"port":"MAASVLAKTE - ROTTERDAM","arrival":"2024-09-02 16:11","departure":"2024-09-03 13:53","time_in_port":"21 h"},{"port":"ANTWERP","arrival":"2024-09-01 18:16","departure":"2024-09-01 21:18","time_in_port":"3 h"},{"port":"ANTWERP","arrival":"2024-08-27 17:39","departure":"2024-08-29 13:33","time_in_port":"1 d"},{"port":"2024-09-16 14:39","arrival":"Status Changed","departure":"MooredUnder way using engine","time_in_port":"51.71656 \/ 4.89731 [NL] KEIZERSVEER"}]}}
Ports Latest By Mmsi — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/5078/port+traffic+monitoring+api/6469/ports+latest+by+mmsi?mmsiCode=258785000' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Port Traffic Monitoring API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

About the API: 

This API delivers an advanced vessel tracking and management system for major seaports, providing real-time data on vessel status and movements. It offers in-depth insights into navigational status, current port, arrival and departure ports, and port-specific weather conditions, including temperature, wind speed, and humidity.

By leveraging unique identifiers such as IMO (International Maritime Organization number) and MMSI (Maritime Mobile Service Identity), the API enables precise vessel monitoring, offering a detailed view of recent port calls, dwell times, and scheduled movements. This information is essential for optimizing port operations, streamlining logistics, and ensuring navigational safety.

The API provides real-time position of vessels using AIS data, including latitude, longitude, heading, speed, navigation status, destination and ETA. The information comes from terrestrial or satellite sources to provide global coverage and accuracy in maritime tracking.

Additionally, the API provides details on expected vessel arrivals at specific ports, including estimated arrival times and key vessel attributes such as country of registration and MMSI number. It also offers real-time weather updates for ports, supporting effective operational planning and maritime safety.

Port Traffic Monitoring API FAQs

To use the Port Traffic Monitoring API, send GET requests to endpoints for port activity, vessel details, arrivals, and more. Include necessary parameters for data retrieval.

The API provides extensive ship data, including speed, heading, destination, ETA (estimated time of arrival), and historical route information. This allows for real-time tracking of ship movements and in-depth analysis of past voyages, supporting efficient maritime operations and planning.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.

Each endpoint returns specific vessel and port-related data. For example, the "Get Vessel Information by MMSI Code" endpoint provides details like vessel name, type, and dimensions, while "Get Vessel Path" returns route details, including departure and arrival ports, navigation status, and ETA.

Key fields vary by endpoint. For "Fetch Current Location," important fields include latitude, longitude, speed, and navigational status. In "Port Summary," fields like temperature, wind speed, and vessel counts are crucial for operational insights.

Response data is structured in JSON format, typically containing a "status," "success," "message," and "data" object. The "data" object holds the relevant information, such as vessel details or port conditions, making it easy to parse and utilize.

Parameters vary by endpoint. For "Retrieve Location by MMSI," you need to provide the MMSI code. In "Position by IMO," you must specify the IMO number and the AIS data source (terrestrial or satellite) to customize your request.

The API sources its data from AIS (Automatic Identification System) signals, which can be obtained from terrestrial stations or satellites. This dual-source approach enhances coverage and accuracy in tracking vessel movements globally.

Typical use cases include real-time vessel tracking for logistics optimization, monitoring port activity for operational planning, and analyzing historical vessel routes for safety assessments. This data supports efficient maritime operations and decision-making.

Users can leverage the returned data for various applications, such as integrating vessel tracking into logistics software, analyzing port traffic patterns, or generating reports on vessel performance. Understanding key fields helps in tailoring insights to specific needs.

If the API returns partial or empty results, check the parameters for accuracy. For example, an invalid MMSI or IMO code may yield no data. Implement error handling in your application to manage such scenarios gracefully, providing user feedback as needed.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs