naftiko: 1.0.0-alpha2 info: label: MarineTraffic Single Vessel Events description: MarineTraffic Single Vessel Events. 3 operations. Self-contained Naftiko capability covering one MarineTraffic AIS business surface. tags: - MarineTraffic - AIS - Maritime created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: MARINETRAFFIC_API_KEY: MARINETRAFFIC_API_KEY capability: consumes: - type: http namespace: events-single-vessel baseUri: https://services.marinetraffic.com/api description: Port calls, berth calls and event timelines scoped to a specific vessel. resources: - name: portcalls-api_key path: /portcalls/{api_key} operations: - name: portcalls method: GET description: Single Vessel Port Calls outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: v in: query type: integer description: Version of the service to be executed. Use version 6 to get the latest required: true - name: shipid in: query type: integer description: A uniquely assigned ID by MarineTraffic for the subject vessel

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

Date format: YYYY-MM-DD HH:MM' required: false - name: todate in: query type: string description: 'Portcalls between fromdate and todate. Maximum period requested 190 days

Date format: YYYY-MM-DD HH:MM' required: false - name: dwt_min in: query type: integer description: 'Data filter: minimum DWT

Applicable to IMO-having vessels' required: false - name: dwt_max in: query type: integer description: 'Data filter: maximum DWT

Applicable to IMO-having vessels' required: false - name: gt_min in: query type: integer description: 'Data filter: minimum GT

Applicable to IMO-having vessels' required: false - name: gt_max in: query type: integer description: 'Data filter: maximum GT

Applicable to IMO-having vessels' required: false - name: market in: query type: string description: Define market(s) for which you would like to receive port calls (single or comma separated values) - more