naftiko: 1.0.0-alpha2 info: label: MarineTraffic Vessel Historical Track description: MarineTraffic Vessel Historical Track. 2 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: vessel-positions-historical-track baseUri: https://services.marinetraffic.com/api description: Retrieve historical AIS track for a vessel over a defined time window. resources: - name: exportvesseltrack-api_key path: /exportvesseltrack/{api_key} operations: - name: exportvesseltrack method: GET description: Single Vessel Historical Positions 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 3 to get the latest required: false - 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: days in: query type: integer description: The number of days, starting from the time of request and going backwards, for which the response should look for position data

Maximum value is 190 (days) required: true - name: fromdate in: query type: string description: Use with todate instead of days to get data for a date period required: false - name: todate in: query type: string description: Use with fromdate instead of days to get data for a date period required: false - name: period in: query type: string description: 'Limit position per vessel. Omit to get all the available positions

Values are: