{ "opencollection": "1.0.0", "info": { "name": "MarineTraffic Events AIS API Single Vessel Events API", "version": "1.0.0" }, "items": [ { "info": { "name": "Single Vessel Events", "type": "folder" }, "items": [ { "info": { "name": "Single Vessel Port Calls", "type": "http" }, "http": { "method": "GET", "url": "https://services.marinetraffic.com/api/portcalls/:api_key", "params": [ { "name": "api_key", "value": "", "type": "path", "description": "API key: 40-character hexadecimal number" }, { "name": "v", "value": "", "type": "query", "description": "Version of the service to be executed. Use version 6 to get the latest" }, { "name": "shipid", "value": "", "type": "query", "description": "A uniquely assigned ID by MarineTraffic for the subject vessel

You can instead use imo or mmsi" }, { "name": "mmsi", "value": "", "type": "query", "description": "The Maritime Mobile Service Identity (MMSI) of the vessel you wish to track" }, { "name": "imo", "value": "", "type": "query", "description": "The International Maritime Organization (IMO) number of the vessel you wish to track" }, { "name": "timespan", "value": "", "type": "query", "description": "The maximum age, in minutes, of the returned port calls. Maximum value is 2880" }, { "name": "movetype", "value": "", "type": "query", "description": "Use 0 to only receive arrivals or 1 to only receive departures. If not used, the response will include both" }, { "name": "exclude_intransit", "value": "", "type": "query", "description": "Use 1 to exclude vessels in transit" }, { "name": "fromdate", "value": "", "type": "query", "description": "Portcalls between fromdate and todate. Maximum period requested 190 days

Date format: YYYY-MM-DD HH:MM" }, { "name": "todate", "value": "", "type": "query", "description": "Portcalls between fromdate and todate. Maximum period requested 190 days

Date format: YYYY-MM-DD HH:MM" }, { "name": "dwt_min", "value": "", "type": "query", "description": "Data filter: minimum DWT

Applicable to IMO-having vessels" }, { "name": "dwt_max", "value": "", "type": "query", "description": "Data filter: maximum DWT

Applicable to IMO-having vessels" }, { "name": "gt_min", "value": "", "type": "query", "description": "Data filter: minimum GT

Applicable to IMO-having vessels" }, { "name": "gt_max", "value": "", "type": "query", "description": "Data filter: maximum GT

Applicable to IMO-having vessels" }, { "name": "market", "value": "", "type": "query", "description": "Define market(s) for which you would like to receive port calls (single or comma separated values) - more" }, { "name": "msgtype", "value": "", "type": "query", "description": "Resolution of the response. Available values: If used with the value extended, the response includes voyage related data since the previous port call" }, { "name": "protocol", "value": "", "type": "query", "description": "Response type. Use one of the following: