{ "opencollection": "1.0.0", "info": { "name": "MarineTraffic Events AIS API Port Events API", "version": "1.0.0" }, "items": [ { "info": { "name": "Port Events", "type": "folder" }, "items": [ { "info": { "name": "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": "portid", "value": "", "type": "query", "description": "The MarineTraffic ID of the port you wish to monitor (found on the URL of the respective Port page) or port UN/LOCODE" }, { "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: