This API provides an advanced vessel tracking and management system in key seaports, offering detailed information on vessel status and movements. It provides real-time data on vessel position, navigational status, current port, ports of arrival and departure, as well as weather details such as temperature, wind speed and humidity in port areas.
Through unique identifiers such as IMO (International Maritime Organization number) and MMSI (Maritime Mobile Service Identity), the API tracks individual vessels, providing a detailed view of their recent port call history, dwell times in each port, and scheduled movements. This information is essential for efficient port management, logistics planning and 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.
In addition, the API includes data on expected arrivals at specific ports, with estimated arrival times and additional details on the vessels involved, such as their country of registration and MMSI number. It also provides details on current weather conditions at ports, which is vital for operational planning and maritime safety.
Pass the vessel IMO number and retrieve information about the ship.
Get data like:
Get Vessel Data by IMO Code - Endpoint Features
| Object | Description |
|---|---|
imoCode |
[Required] The Vessel's IMO code. |
{"status":200,"success":true,"message":"IMO Code 9270622 is valid","data":{"imo_number":"9270622","vessel_name":"AQUAMAN","ship_type":"Offshore Tug\/Supply Ship","flag":"Vanuatu","gross_tonnage":"2332","summer_deadweight_t":"2162","length_overall_m":"69","beam_m":"16","year_of_built":"2003"}}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11934/get+vessel+data+by+imo+code?imoCode=9270622' --header 'Authorization: Bearer YOUR_API_KEY'
This endpoint will allow you to retrieve the current route of a desired vessel.
Get:
Also, retrieve the latest ports, and how long they where in that port.
Get Current Route by IMO Code - Endpoint Features
| Object | Description |
|---|---|
imoCode |
[Required] The Vessel's IMO code. |
{"status":200,"success":true,"message":"IMO Code 9251183 is valid","data":{"departure_port":"Willemstad, Curacao","departure_atd":"ATD: Oct 4, 15:31 UTC (10 days ago)","callsign":"V7A4876","flag":"Marshall Islands","length_beam":"119 \/ 19 m","imo_mmsi":"9251183 \/ 538009548","navigation_status":"-","current_draught":"4.9 m","course_speed":"\u00a0","arrival_port":"FOR ORDER","arrival_atd":"ETA: Oct 5, 21:00","latest_port_calls":[{"port_name":"Willemstad, Curacao","arrival_utc":"2024-10-03T09:12:00.000000Z","departure_utc":"2024-10-04T15:31:00.000000Z","time_in_port":"1 days, 6 hours, 19 minutes"},{"port_name":"locked, ","arrival_utc":"2024-09-28T11:16:00.000000Z","departure_utc":"2024-10-01T02:13:00.000000Z","time_in_port":"2 days, 14 hours, 57 minutes"},{"port_name":"locked, ","arrival_utc":"2024-09-26T18:39:00.000000Z","departure_utc":"2024-09-27T04:51:00.000000Z","time_in_port":"10 hours, 12 minutes"},{"port_name":"locked, ","arrival_utc":"Sep 9, 14:06","departure_utc":"-","time_in_port":"-"},{"port_name":"locked, ","arrival_utc":"2024-09-08T15:50:00.000000Z","departure_utc":"2024-09-09T13:20:00.000000Z","time_in_port":"21 hours, 30 minutes"}]}}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11940/get+current+route+by+imo+code?imoCode=9251183' --header 'Authorization: Bearer YOUR_API_KEY'
This endpoint will deliver all the supported ports on this API with their IDs.
Later, this IDs could be used to check other endpoints.
Ports Database - Endpoint Features
| Object | Description |
|---|---|
page |
Optional Pagination. Default: 1 |
{"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}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11954/ports+database?page=1' --header 'Authorization: Bearer YOUR_API_KEY'
Based on the Port ID you will be able to retrieve the information of the port and also the current weather at the port.
Port Data - Endpoint Features
| Object | Description |
|---|---|
port_id |
[Required] The port ID retrieved on the Port Database endpoint. |
{"id":4,"port_id":"80","name":"AALBORG","country":"Denmark","country_code":"DK","type":"Port","size":"XLarge","unlocode":"DKAAL","latitude":"57.05990\u00b0","longitude":"9.96008\u00b0","vessel_in_port":70,"arrivals_24_hours":12,"departures_24_hours":11,"expected_arrivals":5,"local_time":"2024-05-23","time_zone":"Europe\/Copenhagen","temperature_celsius":"15.5\u00b0C","temperature_fahrenheit":"59.9\u00b0F","wind_speed":"6 knots","wind_direction":"246\u00b0 WSW","humidity":"95.3 %","pressure":"1014 hPa","could_coverage":"100 %","created_at":"2024-05-23T19:23:36.000000Z","updated_at":"2024-05-23T19:39:25.000000Z"}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11961/port+data?port_id=89' --header 'Authorization: Bearer YOUR_API_KEY'
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.
Vessels in Port - Endpoint Features
| Object | Description |
|---|---|
port_id |
[Required] The port ID retrieved on the Port Database endpoint. |
page |
Optional Pagination. Default: 1 |
{"success":true,"status":200,"port":"AMSTERDAM","id":"89","vessel_in_port":"808","page":"1","vessels":[{"name":"LADY MARIA FISHER","country":"GB","mmsi":"232046269","imo":"9944302","arrived":"2024-12-05 20:32","DWT":"---","GRT":"---","Built":"---","Size":"93 m"},{"name":"ALJA","country":"NL","mmsi":"244710776","imo":null,"arrived":"2024-12-05 20:30","DWT":"---","GRT":"---","Built":"---","Size":"114 m"},{"name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":null,"arrived":"2024-12-05 20:30","DWT":"---","GRT":"---","Built":"---","Size":"19 m"},{"name":"PASSAAT","country":"NL","mmsi":"244670016","imo":null,"arrived":"2024-12-05 20:26","DWT":"---","GRT":"---","Built":"---","Size":"70 m"},{"name":"VERWACHTING","country":"NL","mmsi":"244710773","imo":null,"arrived":"2024-12-05 20:26","DWT":"---","GRT":"---","Built":"---","Size":"55 m"},{"name":"CONDOR","country":"NL","mmsi":"244660117","imo":null,"arrived":"2024-12-05 20:17","DWT":"---","GRT":"---","Built":"---","Size":"84 m"},{"name":"PA3 \/ TRITON","country":"NL","mmsi":"244060760","imo":null,"arrived":"2024-12-05 20:15","DWT":"---","GRT":"---","Built":"---","Size":"20 m"},{"name":"ZUIDERDIEP","country":"NL","mmsi":"244710896","imo":null,"arrived":"2024-12-05 20:12","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"KOKMEEUW","country":"NL","mmsi":"244110531","imo":null,"arrived":"2024-12-05 20:07","DWT":"---","GRT":"---","Built":"---","Size":"20 m"},{"name":"SVITZER TITAN","country":"NL","mmsi":"244050199","imo":"9780055","arrived":"2024-12-05 19:50","DWT":"---","GRT":"---","Built":"---","Size":"24 m"},{"name":"WATERMAN","country":"NL","mmsi":"244710818","imo":null,"arrived":"2024-12-05 19:40","DWT":"---","GRT":"---","Built":"---","Size":"14 m"},{"name":"STAETS 1","country":"NL","mmsi":"244870156","imo":null,"arrived":"2024-12-05 19:30","DWT":"---","GRT":"---","Built":"---","Size":"18 m"},{"name":"SHANNA","country":"DE","mmsi":"211872640","imo":null,"arrived":"2024-12-05 19:30","DWT":"---","GRT":"---","Built":"---","Size":"67 m"},{"name":"DEVIATIE","country":"NL","mmsi":"244416536","imo":null,"arrived":"2024-12-05 19:22","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"ACTIEF","country":"NL","mmsi":"244780453","imo":null,"arrived":"2024-12-05 19:19","DWT":"---","GRT":"---","Built":"---","Size":"25 m"},{"name":"PA4 \/ATHENA","country":"NL","mmsi":"244690186","imo":null,"arrived":"2024-12-05 19:18","DWT":"---","GRT":"---","Built":"---","Size":"20 m"},{"name":"SILENCIO","country":"NL","mmsi":"244660163","imo":null,"arrived":"2024-12-05 19:02","DWT":"---","GRT":"---","Built":"---","Size":"85 m"},{"name":"LYNSEY","country":"NL","mmsi":"244046289","imo":null,"arrived":"2024-12-05 18:48","DWT":"---","GRT":"---","Built":"---","Size":"110 m"},{"name":"SENDO MARE","country":"NL","mmsi":"244181802","imo":null,"arrived":"2024-12-05 18:36","DWT":"---","GRT":"---","Built":"---","Size":"124 m"},{"name":"JULIA","country":"DE","mmsi":"211544420","imo":null,"arrived":"2024-12-05 18:35","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"CRANE BARGE 1","country":"NL","mmsi":"244670111","imo":null,"arrived":"2024-12-05 18:33","DWT":"---","GRT":"---","Built":"---","Size":"40 m"},{"name":"MI-VIDA","country":"NL","mmsi":"244670414","imo":null,"arrived":"2024-12-05 18:32","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"NEDSHIP","country":"NL","mmsi":"244890451","imo":null,"arrived":"2024-12-05 18:28","DWT":"---","GRT":"---","Built":"---","Size":"135 m"},{"name":"EEMS TJONGER","country":"NL","mmsi":"246869000","imo":"9517240","arrived":"2024-12-05 18:17","DWT":"3,741 Tons","GRT":"2,597 Tons","Built":"2012","Size":"89 m"},{"name":"SOPHIE ISABELL","country":"BE","mmsi":"205545990","imo":null,"arrived":"2024-12-05 18:12","DWT":"---","GRT":"---","Built":"---","Size":"135 m"},{"name":"KP18","country":"NL","mmsi":"244750940","imo":null,"arrived":"2024-12-05 18:06","DWT":"---","GRT":"---","Built":"---","Size":"12 m"},{"name":"KP1","country":"NL","mmsi":"244620012","imo":null,"arrived":"2024-12-05 17:55","DWT":"---","GRT":"---","Built":"---","Size":"11 m"},{"name":"QUESTE","country":"NL","mmsi":"244670564","imo":null,"arrived":"2024-12-05 17:50","DWT":"---","GRT":"---","Built":"---","Size":"135 m"},{"name":"TALISMAN","country":"NL","mmsi":"244630115","imo":null,"arrived":"2024-12-05 17:38","DWT":"---","GRT":"---","Built":"---","Size":"110 m"},{"name":"HENDI W","country":"NL","mmsi":"244660300","imo":null,"arrived":"2024-12-05 17:16","DWT":"---","GRT":"---","Built":"---","Size":"62 m"},{"name":"VALERIE","country":"NL","mmsi":"244060704","imo":null,"arrived":"2024-12-05 17:08","DWT":"---","GRT":"---","Built":"---","Size":"10 m"},{"name":"ZANDEXPRES 4","country":"NL","mmsi":"244110242","imo":null,"arrived":"2024-12-05 16:54","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"RESONARE","country":"DE","mmsi":"211221550","imo":null,"arrived":"2024-12-05 16:45","DWT":"---","GRT":"---","Built":"---","Size":"105 m"},{"name":"ALAIN D","country":"NL","mmsi":"244192305","imo":null,"arrived":"2024-12-05 16:44","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"TEMPUS VALOREM","country":"NL","mmsi":"244391236","imo":null,"arrived":"2024-12-05 16:34","DWT":"---","GRT":"---","Built":"---","Size":"11 m"},{"name":"MANIPURA","country":"NL","mmsi":"244780077","imo":null,"arrived":"2024-12-05 16:31","DWT":"---","GRT":"---","Built":"---","Size":"84 m"},{"name":"FADAM 3","country":"NL","mmsi":"244060259","imo":null,"arrived":"2024-12-05 16:29","DWT":"---","GRT":"---","Built":"---","Size":"10 m"},{"name":"TERRA","country":"DE","mmsi":"211518200","imo":null,"arrived":"2024-12-05 16:23","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"GEMINI","country":"NL","mmsi":"244660878","imo":null,"arrived":"2024-12-05 15:58","DWT":"---","GRT":"---","Built":"---","Size":"110 m"},{"name":"CORMA B","country":"NL","mmsi":"244670878","imo":null,"arrived":"2024-12-05 15:47","DWT":"---","GRT":"---","Built":"---","Size":"80 m"},{"name":"MENTOR","country":"RO","mmsi":"264163578","imo":null,"arrived":"2024-12-05 15:44","DWT":"---","GRT":"---","Built":"---","Size":"86 m"},{"name":"GILLIS","country":"NL","mmsi":"244992032","imo":null,"arrived":"2024-12-05 15:41","DWT":"---","GRT":"---","Built":"---","Size":"95 m"},{"name":"LUMINA","country":"NL","mmsi":"244710537","imo":null,"arrived":"2024-12-05 15:34","DWT":"---","GRT":"---","Built":"---","Size":"80 m"},{"name":"EVENTUS","country":"NL","mmsi":"244900029","imo":null,"arrived":"2024-12-05 15:31","DWT":"---","GRT":"---","Built":"---","Size":"9 m"},{"name":"ELLA","country":"NL","mmsi":"244740008","imo":null,"arrived":"2024-12-05 15:31","DWT":"---","GRT":"---","Built":"---","Size":"50 m"},{"name":"ROHINI B","country":"NL","mmsi":"244373397","imo":null,"arrived":"2024-12-05 15:30","DWT":"---","GRT":"---","Built":"---","Size":"30 m"},{"name":"P55","country":"NL","mmsi":"244129388","imo":null,"arrived":"2024-12-05 15:29","DWT":"---","GRT":"---","Built":"---","Size":"14 m"},{"name":"PEGASUS","country":"BE","mmsi":"205346790","imo":null,"arrived":"2024-12-05 15:28","DWT":"---","GRT":"---","Built":"---","Size":"110 m"},{"name":"NT 10 WATERSPREEUW","country":"NL","mmsi":"244750576","imo":null,"arrived":"2024-12-05 15:04","DWT":"---","GRT":"---","Built":"---","Size":"14 m"},{"name":"LADY ANNE BEAU","country":"NL","mmsi":"244890901","imo":"9760407","arrived":"2024-12-05 14:57","DWT":"---","GRT":"---","Built":"---","Size":"88 m"}]}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11966/vessels+in+port?port_id=89' --header 'Authorization: Bearer YOUR_API_KEY'
Based on the Port ID, you'll be abe to recognize the expected vessels that will arrive to that port.
Port Expected Arrivals - Endpoint Features
| Object | Description |
|---|---|
port_id |
[Required] The port ID retrieved on the Port Database endpoint. |
page |
Optional Pagination. Default: 1 |
{"success":true,"status":200,"port":"AALBORG","id":"80","expected_arrivals":"3","page":"1","expected_arrivals_data":[{"name":"RIX PLATO","country":"LR","mmsi":"636018620","imo":"9139323","Port":"AALBORG","Estimated Arrival":"2024-12-05 23:34"},{"name":"CEMLUNA","country":"CY","mmsi":"209671000","imo":"9007063","Port":"AALBORG","Estimated Arrival":"2024-12-06 12:25"},{"name":"JULIETTE","country":"LR","mmsi":"636015461","imo":"9459113","Port":"AALBORG","Estimated Arrival":"2024-12-07 11:06"}]}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11971/port+expected+arrivals?port_id=89' --header 'Authorization: Bearer YOUR_API_KEY'
Based on the Port ID, you'll receive the activity on the port.
Receive arrivals and departures that will take place on the port.
Port Activity - Endpoint Features
| Object | Description |
|---|---|
port_id |
[Required] The port ID retrieved on the Port Database endpoint. |
page |
Optional Pagination. Default: 1 |
{"success":true,"status":200,"port":"AALBORG","id":"80","events":"10","page":"1","event":[{"Event":"Arrival","Time":"2024-12-05 15:45","Port":"AALBORG","name":"MAGIA","country":"DK","mmsi":"219024832","imo":"---"},{"Event":"Departure","Time":"2024-12-05 11:21","Port":"AALBORG","name":"SARAH-B","country":"DK","mmsi":"218836000","imo":"9119622"},{"Event":"Arrival","Time":"2024-12-05 10:31","Port":"AALBORG","name":"MUNIN","country":"DK","mmsi":"219010706","imo":"---"},{"Event":"Departure","Time":"2024-12-05 10:30","Port":"AALBORG","name":"MUNIN","country":"DK","mmsi":"219010706","imo":"---"},{"Event":"Arrival","Time":"2024-12-05 10:12","Port":"AALBORG","name":"RHIB-MTJ740-05","country":"DK","mmsi":"219024653","imo":"---"},{"Event":"Departure","Time":"2024-12-05 09:54","Port":"AALBORG","name":"RHIB-MTJ740-05","country":"DK","mmsi":"219024653","imo":"---"},{"Event":"Arrival","Time":"2024-12-05 09:29","Port":"AALBORG","name":"RHIB-MTJ740-05","country":"DK","mmsi":"219024653","imo":"---"},{"Event":"Departure","Time":"2024-12-05 09:21","Port":"AALBORG","name":"RHIB-MTJ740-05","country":"DK","mmsi":"219024653","imo":"---"},{"Event":"Arrival","Time":"2024-12-05 04:54","Port":"AALBORG","name":"SARAH-B","country":"DK","mmsi":"218836000","imo":"9119622"},{"Event":"Departure","Time":"2024-12-04 20:29","Port":"AALBORG","name":"WILSON HAWK","country":"DK","mmsi":"314222000","imo":"9064906"}]}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11975/port+activity?port_id=89' --header 'Authorization: Bearer YOUR_API_KEY'
Pass the vessel MMSI code and retrieve information about the ship.
Get data like:
Get Latest Ports by MMSI Code - Endpoint Features
| Object | Description |
|---|---|
mmsiCode |
[Required] Indicates an MMSI Code |
{"status":200,"success":true,"message":"MMSI Code 205566190 is valid","data":{"position_received":"4 m ago","vessel_local_time":"-","area":"North Sea","current_port":"ANTWERP","latitude_longitude":"--- \/ ---","navigational_status":"Moored","speed_course":"","ais_source":"-","last_port_calls":[{"port":"THOLEN","arrival":"2025-12-19 17:25","departure":"2025-12-21 10:11","time_in_port":"1 d"},{"port":"MOERDIJK","arrival":"2025-12-19 10:04","departure":"2025-12-19 14:11","time_in_port":"4 h"},{"port":"ROTTERDAM WAALHAVEN","arrival":"2025-12-18 19:55","departure":"2025-12-19 06:42","time_in_port":"10 h"},{"port":"VENLO","arrival":"2025-12-17 16:21","departure":"2025-12-18 08:52","time_in_port":"16 h"},{"port":"MAASVLAKTE - ROTTERDAM","arrival":"2025-12-16 11:06","departure":"2025-12-16 14:11","time_in_port":"3 h"},{"port":"ROTTERDAM WAALHAVEN","arrival":"2025-12-16 09:15","departure":"2025-12-16 09:33","time_in_port":"17 m"},{"port":"MOERDIJK","arrival":"2025-12-15 15:24","departure":"2025-12-15 21:38","time_in_port":"6 h"},{"port":"ANTWERP","arrival":"2025-12-13 18:55","departure":"2025-12-15 09:42","time_in_port":"1 d"},{"port":"ZALTBOMMEL","arrival":"2025-12-13 09:01","departure":"2025-12-13 10:23","time_in_port":"1 h"},{"port":"2025-12-22 10:53","arrival":"Status Changed","departure":"MooredDefault","time_in_port":"51.32853 \/ 4.34287 [BE] ANTWERP"}]}}
curl --location --request GET 'https://zylalabs.com/api/7469/marine+traffic+api/11980/get+latest+ports+by+mmsi+code?mmsiCode=205566190' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The Vessel Traffic Information is an API that provides information about live on-board vessels globally or within a specified range of areas. It allows users to access a list of vessels and retrieve individual ship details.
To retrieve information about a specific vessel, you need to make an API request to the GET VESSEL DATA BY IMO CODE endpoint, passing the vessel's IMO number as a parameter. The API will return the requested vessel information.
To retrieve the current route information of a vessel, you need to provide the vessel's IMO number in the API request to the GET CURRENT ROUTE BY IMO CODE endpoint. The API will return details such as departure port, departure ATD, callsign, flag, length/beam, IMO/MMSI, navigation status, current draught, course/speed, arrival port, arrival ETA, and the latest ports visited by the vessel.
Yes, the Marine Traffic API provides information about all live on-board vessels globally.
The GET POSITION endpoint returns real-time data about a vessel's current position, including area, current port, latitude, longitude, navigational status, speed, course, and AIS source. This information is crucial for tracking vessel movements.
The GET VESSELS IN PORT endpoint includes fields such as vessel name, country, MMSI, IMO code, arrival time, and size. This data helps users identify vessels currently docked at a specific port.
Users can customize their requests by providing the specific Port ID to the GET PORT DATA endpoint. This allows retrieval of detailed information about that port, including current weather conditions and vessel activity.
The GET POSITION BY MMSI endpoint accepts the vessel's MMSI code as a parameter. This unique identifier allows users to retrieve specific data about the vessel's current position, ETA, speed, heading, and navigational status.
The GET PORT ACTIVITY endpoint organizes response data into events, detailing arrivals and departures at the specified port. Each event includes the type (arrival/departure), time, vessel name, country, and MMSI, facilitating easy tracking of port activities.
The Marine Traffic API sources its data from AIS (Automatic Identification System) signals, which can be terrestrial or satellite-based. This ensures comprehensive coverage and accuracy in tracking vessel movements globally.
Typical use cases for the GET EXPECTED ARRIVALS endpoint include logistics planning, port management, and scheduling. Users can anticipate vessel arrivals, allowing for better resource allocation and operational efficiency at ports.
Users should check the API response status and message fields to understand if results are partial or empty. Implementing error handling in their application can help manage these scenarios effectively, ensuring smooth user experience.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
1,635ms
Service Level:
100%
Response Time:
2,004ms
Service Level:
100%
Response Time:
1,377ms
Service Level:
100%
Response Time:
1,344ms
Service Level:
100%
Response Time:
1,384ms
Service Level:
100%
Response Time:
2,010ms
Service Level:
100%
Response Time:
1,187ms
Service Level:
100%
Response Time:
1,479ms
Service Level:
100%
Response Time:
1,586ms
Service Level:
100%
Response Time:
1,304ms
Service Level:
100%
Response Time:
9,111ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
7,141ms
Service Level:
100%
Response Time:
8,424ms
Service Level:
100%
Response Time:
1,721ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
74ms
Service Level:
100%
Response Time:
55ms