Vessel Traffic Information API

API ID 78

Vessel Information API gives you information about all globally live onboard vessels.

100% uptime 2,329 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: 1509
GET https://zylalabs.com/api/78/vessel+traffic+information+api/1509/get+vessel+data+by+imo+code
INPUT PARAMETERS

Get Vessel Data by IMO 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":200,"success":true,"message":"IMO Code 9702510 is valid","data":{"imo_number":"9702510","vessel_name":"ZJ ATLANTIC","ship_type":"Bulk Carrier","flag":"Liberia","gross_tonnage":"36332","summer_deadweight_t":null,"length_overall_m":"199.90","beam_m":"32.26","year_of_built":null}}
Get Vessel Data by IMO Code — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/1509/get+vessel+data+by+imo+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: 1510
GET https://zylalabs.com/api/78/vessel+traffic+information+api/1510/get+current+route+by+imo+code
INPUT PARAMETERS

Get Current Route by IMO 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":200,"success":true,"message":"IMO Code 9702510 is valid","data":{"departure_port":"Port Klang Anch., Malaysia","departure_atd":"ATD: May 17, 00:45 UTC (13 days ago)","flag":null,"length_beam":"200 \/ 32 m","imo_mmsi":"9702510 \/ 636024893","navigation_status":"-","current_draught":"11.8 m","course_speed":"\u00a0","arrival_port":"Mtwara, Tanzania","arrival_atd":"ETA: Jun 1, 12:00","latest_port_calls":[{"port_name":"Port Klang Anch., Malaysia","arrival_utc":"2026-05-16T11:11:00.000000Z","departure_utc":"2026-05-17T00:45:00.000000Z","time_in_port":"13 hours, 34 minutes"},{"port_name":"locked, ","arrival_utc":"2026-04-29T08:30:00.000000Z","departure_utc":"2026-05-07T00:38:00.000000Z","time_in_port":"7 days, 16 hours, 8 minutes"},{"port_name":"locked, ","arrival_utc":"2026-04-27T07:12:00.000000Z","departure_utc":"2026-04-29T02:38:00.000000Z","time_in_port":"1 days, 19 hours, 26 minutes"},{"port_name":"locked, ","arrival_utc":"2026-04-23T07:06:00.000000Z","departure_utc":"2026-04-26T23:28:00.000000Z","time_in_port":"3 days, 16 hours, 22 minutes"},{"port_name":"locked, ","arrival_utc":"2026-04-17T08:12:00.000000Z","departure_utc":"2026-04-20T20:02:00.000000Z","time_in_port":"3 days, 11 hours, 50 minutes"}]}}
Get Current Route by IMO Code — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/1510/get+current+route+by+imo+code?imoCode=9702510' --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: 5305
GET https://zylalabs.com/api/78/vessel+traffic+information+api/5305/ports+database
INPUT PARAMETERS

Ports Database — 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":144,"last_page_url":"?page=144","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=143","label":"143","active":false},{"url":"?page=144","label":"144","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":7183}
Ports Database — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/5305/ports+database?page=1&per_page=10' --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: 5306
GET https://zylalabs.com/api/78/vessel+traffic+information+api/5306/port+data
INPUT PARAMETERS

Port Data — 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":262,"port_id":"89","name":"AMSTERDAM","country":"Netherlands","country_code":"NL","type":"Port","size":"XLarge","unlocode":"NLAMS","latitude":"52.40890\u00b0","longitude":"4.81023\u00b0","vessel_in_port":908,"arrivals_24_hours":438,"departures_24_hours":433,"expected_arrivals":125,"local_time":"2024-05-23","time_zone":"Europe\/Amsterdam","temperature_celsius":"12.5\u00b0C","temperature_fahrenheit":"54.5\u00b0F","wind_speed":"5 knots","wind_direction":"234\u00b0 SW","humidity":"86.7 %","pressure":"1016.4 hPa","could_coverage":"9 %","created_at":"2024-05-23T20:20:52.000000Z","updated_at":"2024-05-23T20:20:52.000000Z"}
Port Data — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/5306/port+data?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: 5307
GET https://zylalabs.com/api/78/vessel+traffic+information+api/5307/vessels+in+port
INPUT PARAMETERS

Vessels in Port — 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":"KOUFONISI","id":"69","vessel_in_port":"7","page":"1","vessels":[{"name":"KARAVAKI","country":"MT","mmsi":"256004814","imo":null,"arrived":"2026-05-29 15:09","DWT":"---","GRT":"---","Built":"---","Size":"21 m"},{"name":"IDIL412","country":"US","mmsi":"338238421","imo":null,"arrived":"2026-05-29 11:49","DWT":"---","GRT":"---","Built":"---","Size":"13 m"},{"name":"THALASSA","country":"NL","mmsi":"244110348","imo":null,"arrived":"2026-05-29 10:08","DWT":"---","GRT":"---","Built":"---","Size":"12 m"},{"name":"SEA ANGEL","country":"GB","mmsi":"235103676","imo":"9690676","arrived":"2026-05-29 08:06","DWT":"---","GRT":"---","Built":"---","Size":"13 m"},{"name":"PEREGRINE I","country":"AU","mmsi":"503039630","imo":null,"arrived":"2026-05-29 07:54","DWT":"---","GRT":"---","Built":"---","Size":"16 m"},{"name":"JUST US OF LONDON","country":"GB","mmsi":"232059396","imo":null,"arrived":"2026-05-28 13:35","DWT":"---","GRT":"---","Built":"---","Size":"19 m"},{"name":"CALICO JACK","country":"GR","mmsi":"240613900","imo":null,"arrived":"","DWT":"---","GRT":"---","Built":"---","Size":"14 m"}]}
Vessels in Port — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/5307/vessels+in+port?port_id=69' --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: 5308
GET https://zylalabs.com/api/78/vessel+traffic+information+api/5308/port+expected+arrivals
INPUT PARAMETERS

Port Expected Arrivals — 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":"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"}]}
Port Expected Arrivals — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/5308/port+expected+arrivals?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: 5309
GET https://zylalabs.com/api/78/vessel+traffic+information+api/5309/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":"892","page":"1","event":[{"Event":"Arrival","Time":"2026-05-29 16:15","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 16:11","Port":"AMSTERDAM","name":"THE HYACINTH","country":"NL","mmsi":"244002889","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 16:09","Port":"AMSTERDAM","name":"SVITZER AMSTEL","country":"NL","mmsi":"249005000","imo":"9771133"},{"Event":"Departure","Time":"2026-05-29 16:06","Port":"AMSTERDAM","name":"LYNSEY","country":"NL","mmsi":"244046289","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 16:04","Port":"AMSTERDAM","name":"ALPA","country":"NL","mmsi":"244830385","imo":"---"},{"Event":"Departure","Time":"2026-05-29 16:02","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 16:01","Port":"AMSTERDAM","name":"FIDES","country":"NL","mmsi":"244710901","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 16:00","Port":"AMSTERDAM","name":"RES NOVA","country":"NL","mmsi":"244650180","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:59","Port":"AMSTERDAM","name":"ITHAKA","country":"NL","mmsi":"244003323","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:54","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:54","Port":"AMSTERDAM","name":"RES NOVA","country":"NL","mmsi":"244650180","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:53","Port":"AMSTERDAM","name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:53","Port":"AMSTERDAM","name":"WARBER","country":"NL","mmsi":"244780024","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:51","Port":"AMSTERDAM","name":"DYNAMIEK","country":"NL","mmsi":"244710227","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:49","Port":"AMSTERDAM","name":"IONIAN NAVIGATOR","country":"NL","mmsi":"356150000","imo":"9422237"},{"Event":"Arrival","Time":"2026-05-29 15:46","Port":"AMSTERDAM","name":"YSKA","country":"NL","mmsi":"244700541","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:44","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:43","Port":"AMSTERDAM","name":"MERWELAND","country":"NL","mmsi":"244670533","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:43","Port":"AMSTERDAM","name":"AQUATE","country":"NL","mmsi":"244716806","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:41","Port":"AMSTERDAM","name":"MS DE JORDAAN","country":"NL","mmsi":"244620071","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:38","Port":"AMSTERDAM","name":"STAETS 1","country":"NL","mmsi":"244870156","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:35","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:33","Port":"AMSTERDAM","name":"HEINRICH","country":"NL","mmsi":"236112740","imo":"9350757"},{"Event":"Arrival","Time":"2026-05-29 15:30","Port":"AMSTERDAM","name":"KP20","country":"NL","mmsi":"244002945","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:30","Port":"AMSTERDAM","name":"SVITZER AMSTEL","country":"NL","mmsi":"249005000","imo":"9771133"},{"Event":"Departure","Time":"2026-05-29 15:26","Port":"AMSTERDAM","name":"KP20","country":"NL","mmsi":"244002945","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:23","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:22","Port":"AMSTERDAM","name":"PA1\/CASTOR","country":"NL","mmsi":"244650483","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:21","Port":"AMSTERDAM","name":"ITHAKA","country":"NL","mmsi":"244003323","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:21","Port":"AMSTERDAM","name":"FREEDOM","country":"NL","mmsi":"244003415","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:20","Port":"AMSTERDAM","name":"CATALEYA","country":"NL","mmsi":"244670528","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:18","Port":"AMSTERDAM","name":"RES NOVA","country":"NL","mmsi":"244650180","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:15","Port":"AMSTERDAM","name":"DOCKS4","country":"NL","mmsi":"244790561","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:14","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:13","Port":"AMSTERDAM","name":"AMARE","country":"NL","mmsi":"244032180","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:10","Port":"AMSTERDAM","name":"NEELTJE","country":"NL","mmsi":"244710165","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:09","Port":"AMSTERDAM","name":"VARIATIE","country":"NL","mmsi":"244740554","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:09","Port":"AMSTERDAM","name":"MATTANJA","country":"NL","mmsi":"244728333","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:09","Port":"AMSTERDAM","name":"BLUE SARAH","country":"NL","mmsi":"244313824","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:06","Port":"AMSTERDAM","name":"PHOENIX","country":"NL","mmsi":"244790915","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:03","Port":"AMSTERDAM","name":"DRIJFVERMOGEN","country":"NL","mmsi":"244180214","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:03","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Departure","Time":"2026-05-29 15:02","Port":"AMSTERDAM","name":"JOLEY","country":"NL","mmsi":"244660786","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:02","Port":"AMSTERDAM","name":"PA5\/POLLUX","country":"NL","mmsi":"244660572","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 15:01","Port":"AMSTERDAM","name":"IJVEER XIII","country":"NL","mmsi":"244700945","imo":"---"},{"Event":"Departure","Time":"2026-05-29 14:58","Port":"AMSTERDAM","name":"PA5\/POLLUX","country":"NL","mmsi":"244660572","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 14:57","Port":"AMSTERDAM","name":"SAGA FARMANN","country":"NL","mmsi":"257081140","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 14:57","Port":"AMSTERDAM","name":"WARBER","country":"NL","mmsi":"244780024","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 14:54","Port":"AMSTERDAM","name":"NZK PONT 101","country":"NL","mmsi":"244125902","imo":"---"},{"Event":"Arrival","Time":"2026-05-29 14:53","Port":"AMSTERDAM","name":"JAN VAN DER HEYDE 4","country":"NL","mmsi":"244030134","imo":"---"}]}
Port Activity — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/5309/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: 6112
GET https://zylalabs.com/api/78/vessel+traffic+information+api/6112/get+latest+ports+by+mmsi+code
INPUT PARAMETERS

Get Latest Ports by MMSI Code — 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 258785000 is valid","data":{"position_received":"2017-01-24 04:07","vessel_local_time":"-","area":"North Sea","current_port":"EMDEN","latitude_longitude":"--- \/ ---","navigational_status":"Moored","speed_course":"","ais_source":"-","last_port_calls":[]}}
Get Latest Ports by MMSI Code — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/78/vessel+traffic+information+api/6112/get+latest+ports+by+mmsi+code?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 Vessel Traffic Information 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.

Simple Transparent Pricing

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

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan
Custom Volume

  • Custom Rate Limit
  • Team & Access Management
  • SLA-backed Uptime
  • Specialized Customer Support
  • Real-Time API Monitoring
  • Enterprise Security & Compliance
Minimum annual contract: USD 10,000

Trusted by leading companies

Overview

About the API:

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.

Vessel Traffic Information API FAQs

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 Vessel Traffic Information 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 Vessel Traffic Information 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.

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


You might also like