Get expected arrivals to a specific port. Notes
api_key required | string API key: 40-character hexadecimal number |
v required | integer Default: 1 Version of the service to be executed. Use version 4 to get the latest |
portid required | integer The MarineTraffic ID of the port (found on the URL of the respective Port page) or port UNLOCODE |
timespan | integer Number of days in the future to look for expected arrivals, starting from the time the API call is requested Maximum value is 40 days If neither this nor the fromdate/todate parameters are used, the response only includes vessels currently in port (or the country’s ports) and the last vessel's signal is received during the last 2 days |
days_last_signal | integer Include vessels currently in port that have transmitted a position within the last x days (based on their last signal timestamp). This parameter only works when no other timeframe is defined. |
fromdate | string <date-time> Timestamp in the future to start looking for expected arrivals. If used, then you should also define the todate parameter Date format: YYYY-MM-DD HH:MM:SS |
todate | string <date-time> Timestamp in the future to start looking for expected arrivals. If used, then you should also define the fromdate parameter Date format: YYYY-MM-DD HH:MM:SS |
fromportid | integer The MarineTraffic ID of the previous port (found on the URL of the respective Port page) or previous port UNLOCODE |
shiptype | integer Filter data by vessel type:
|
dwt_min | integer Data filter: minimum DWT Use it to filter by size Cargo and Tanker IMO-having vessels (shiptype = 7,8). If used, then you should also define the dwt_max parameter |
dwt_max | integer Data filter: maximum DWT Use it to filter by size Cargo and Tanker IMO-having vessels (shiptype = 7,8). If used, then you should also define the dwt_min parameter |
gt_min | integer Data filter: minimum GT Applicable to IMO-having vessels. If used, then you should also define the gt_max parameter |
gt_max | integer Data filter: maximum GT Applicable to IMO-having vessels. If used, then you should also define the gt_min parameter |
msgtype | string Default: "simple" Resolution of the response. Available values:
|
protocol | string Default: "xml" Response type. Use one of the following:
|
[- {
- "MMSI": "229001000",
- "IMO": "",
- "SHIP_ID": "",
- "SHIPNAME": "",
- "LAT": "37.938690",
- "LON": "23.634480",
- "SPEED": "0",
- "COURSE": "129",
- "STATUS": "5",
- "PORT_ID": "1",
- "PORT_UNLOCODE": "GRPIR",
- "CURRENT_PORT": "PIRAEUS",
- "CURRENT_PORT_COUNTRY": "GR",
- "NEXT_PORT_ID": "1",
- "NEXT_PORT_UNLOCODE": "GRPIR",
- "NEXT_PORT_NAME": "PIRAEUS",
- "NEXT_PORT_COUNTRY": "GR",
- "ETA": "2021-03-14T05:40:00.000Z",
- "ETA_CALC": "",
- "ETA_UPDATED": "",
- "TIMESTAMP": "2020-10-30T08:58:08.000Z"
}, - {
- "MMSI": "201100129",
- "IMO": "",
- "SHIP_ID": "",
- "SHIPNAME": "",
- "LAT": "37.943630",
- "LON": "23.631900",
- "SPEED": "0",
- "COURSE": "0",
- "STATUS": "5",
- "PORT_ID": "1",
- "PORT_UNLOCODE": "GRPIR",
- "CURRENT_PORT": "PIRAEUS",
- "CURRENT_PORT_COUNTRY": "GR",
- "NEXT_PORT_ID": "",
- "NEXT_PORT_UNLOCODE": "",
- "NEXT_PORT_NAME": "",
- "NEXT_PORT_COUNTRY": "",
- "ETA": "2020-10-26T08:00:00.000Z",
- "ETA_CALC": "",
- "ETA_UPDATED": "",
- "TIMESTAMP": "2020-10-30T08:57:24.000Z"
}
]
Get expected arrivals to a specific country. Notes
api_key required | string API key: 40-character hexadecimal number |
v required | integer Default: 1 Version of the service to be executed. Use version 4 to get the latest |
country required | integer The Country code of interest. Response includes all ports within the Country |
timespan | integer Number of days in the future to look for expected arrivals, starting from the time the API call is requested Maximum value is 40 days If neither this nor the fromdate/todate parameters are used, the response only includes vessels currently in port (or the country’s ports) and the last vessel's signal is received during the last 2 days |
days_last_signal | integer Include vessels currently in port that have transmitted a position within the last x days (based on their last signal timestamp). This parameter only works when no other timeframe is defined. |
fromdate | string <date-time> Timestamp in the future to start looking for expected arrivals. If used, then you should also define the todate parameter Date format: YYYY-MM-DD HH:MM:SS |
todate | string <date-time> Timestamp in the future to start looking for expected arrivals. If used, then you should also define the fromdate parameter Date format: YYYY-MM-DD HH:MM:SS |
fromportid | integer The MarineTraffic ID of the previous port (found on the URL of the respective Port page) or previous port UNLOCODE |
shiptype | integer Filter data by vessel type:
|
dwt_min | integer Data filter: minimum DWT Use it to filter by size Cargo and Tanker IMO-having vessels (shiptype = 7,8). If used, then you should also define the dwt_max parameter |
dwt_max | integer Data filter: maximum DWT Use it to filter by size Cargo and Tanker IMO-having vessels (shiptype = 7,8). If used, then you should also define the dwt_min parameter |
gt_min | integer Data filter: minimum GT Applicable to IMO-having vessels. If used, then you should also define the gt_max parameter |
gt_max | integer Data filter: maximum GT Applicable to IMO-having vessels. If used, then you should also define the gt_min parameter |
msgtype | string Default: "simple" Resolution of the response. Available values:
|
protocol | string Default: "xml" Response type. Use one of the following:
|
[- {
- "MMSI": "229001000",
- "IMO": "",
- "SHIP_ID": "",
- "SHIPNAME": "",
- "LAT": "37.938690",
- "LON": "23.634480",
- "SPEED": "0",
- "COURSE": "129",
- "STATUS": "5",
- "PORT_ID": "1",
- "PORT_UNLOCODE": "GRPIR",
- "CURRENT_PORT": "PIRAEUS",
- "CURRENT_PORT_COUNTRY": "GR",
- "NEXT_PORT_ID": "1",
- "NEXT_PORT_UNLOCODE": "GRPIR",
- "NEXT_PORT_NAME": "PIRAEUS",
- "NEXT_PORT_COUNTRY": "GR",
- "ETA": "2021-03-14T05:40:00.000Z",
- "ETA_CALC": "",
- "ETA_UPDATED": "",
- "TIMESTAMP": "2020-10-30T08:58:08.000Z"
}, - {
- "MMSI": "201100129",
- "IMO": "",
- "SHIP_ID": "",
- "SHIPNAME": "",
- "LAT": "37.943630",
- "LON": "23.631900",
- "SPEED": "0",
- "COURSE": "0",
- "STATUS": "5",
- "PORT_ID": "1",
- "PORT_UNLOCODE": "GRPIR",
- "CURRENT_PORT": "PIRAEUS",
- "CURRENT_PORT_COUNTRY": "GR",
- "NEXT_PORT_ID": "",
- "NEXT_PORT_UNLOCODE": "",
- "NEXT_PORT_NAME": "",
- "NEXT_PORT_COUNTRY": "",
- "ETA": "2020-10-26T08:00:00.000Z",
- "ETA_CALC": "",
- "ETA_UPDATED": "",
- "TIMESTAMP": "2020-10-30T08:57:24.000Z"
}
]
Receive a prediction of the vessels likely to arrive to a specific port. Notes
api_key required | string API key: 40-character hexadecimal number |
portid required | integer The MarineTraffic ID of the port you wish to receive probable visits (found on the URL of the respective Port page) |
market | integer Define market for which you would like to receive probable visits - more
|
shipclass | integer Define ship class of interest - more |
probability | integer Define probability over which you would like to receive probable visits (accepted > 0.3) |
protocol | string Default: "xml" Response type. Use one of the following:
|
[- {
- "IMO": "9020340",
- "SHIP_ID": "337987",
- "MMSI": "271041000",
- "SHIPNAME": "MARTINE A",
- "MARKET": "CONTAINER SHIPS",
- "SHIPCLASS": "FEEDER",
- "FROM_PORT_ID": "1379",
- "FROM_PORT": "BIZERTE",
- "NEXT_PORT_ID": "1",
- "NEXT_PORT": "PIRAEUS",
- "NEXT_AREA": "EMED",
- "NEXT_PORT_PROB": "1.000",
- "NEXT_AREA_PROB": "1.000"
}, - {
- "IMO": "9357810",
- "SHIP_ID": "712465",
- "MMSI": "538003142",
- "SHIPNAME": "EF EMIRA",
- "MARKET": "CONTAINER SHIPS",
- "SHIPCLASS": "FEEDER",
- "FROM_PORT_ID": "528",
- "FROM_PORT": "ANCONA",
- "NEXT_PORT_ID": "1",
- "NEXT_PORT": "PIRAEUS",
- "NEXT_AREA": "EMED",
- "NEXT_PORT_PROB": "1.000",
- "NEXT_AREA_PROB": "1.000"
}
]
Receive the Port Congestion for a specific period of time. Notes
api_key required | string API key: 40-character hexadecimal number |
portid | integer The MarineTraffic ID of the port you wish to receive probable visits (found on the URL of the respective Port page) |
year required | integer Year of interest (data available back to 1 year). Information further back can be requested ad-hoc |
week required | integer Week of Year that is of interest (e.g. for week 18/2018 input 18). For range of weeks use comma e.g. for weeks 30 to 35 (30,35) |
market | integer Define market for which you would like to receive port congestion - more
|
shipclass | integer Define ship class of interest - more |
agg_port | integer If used, portid should not be in request
|
agg_market | integer If used, market should not be in request
|
agg_shipclass | integer If used, shipclass should not be in request
|
time_anch | string The median number of days spent at anchorage by the selected market/shipclass. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if extended version of the API is used |
time_port | string The median number of days spent at port by the selected market/shipclass. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if extended version of the API is used |
vessels | integer Number of vessels that were used in the median calculations. Value of parameter indicates greater than relation Available only if extended version of the API is used |
calls | integer Number of individual calls that were used in the median calculations (e.g. if the same vessel has called twice within the same week, it will count twice in calls and once in vessels. Value of parameter indicates greater than relation Available only if extended version of the API is used |
time_anch_stdev | string The standard deviation of days spent at anchorage the previous week. Values indicate in between set to be returned (time_anch_stdev:0.5,1.5) Comma separated float numbers (one decimal) Available only if full version of the API is used |
time_anch_diff | string The week-to-week difference of number of days spent at anchorage. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if full version of the API is used |
time_anch_diff_perc | string The week-to-week difference of number of days spent at anchorage as a percentage. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if full version of the API is used |
time_port_stdev | string The standard deviation of days spent at port the previous week. Values indicate in between set to be returned (time_port_stdev:0.5,1.5) Comma separated float numbers (one decimal) Available only if full version of the API is used |
time_port_diff | string The week-to-week difference of number of days spent at port. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if full version of the API is used |
time_port_diff_perc | string The week-to-week difference of number of days spent at port as a percentage. Values indicate in between set to be returned Comma separated float numbers (one decimal) Available only if full version of the API is used |
protocol | string Default: "xml" Response type. Use one of the following:
|
[- {
- "PORT_ID": "1766",
- "YEAR": "2020",
- "WEEK": "8",
- "MARKET": "DRY BULK",
- "SHIPCLASS": "HANDYSIZE",
- "TIME_ANCH": "",
- "TIME_PORT": "3.4",
- "VESSELS": "2",
- "CALLS": "2",
- "TIME_ANCH_STDEV": "",
- "TIME_ANCH_DIFF": "",
- "TIME_ANCH_DIFF_PERC": "",
- "TIME_PORT_STDEV": "3.5",
- "TIME_PORT_DIFF": "-9.9",
- "TIME_PORT_DIFF_PERC": "-74.4"
}
]