openapi: 3.0.2 info: title: MarineTraffic Events AIS API API version: 1.0.0 description: Port calls, berth calls, and event timelines for single vessels and entire ports — surfacing every arrival, departure, and berth touch detected by the global AIS network. contact: name: MarineTraffic url: https://www.marinetraffic.com/ servers: - url: https://services.marinetraffic.com/api tags: - name: AIS API paths: '/exportvessels/{api_key} ': get: tags: - AIS API summary: Vessel Positions description: "The latest version of this API endpoint, including significant improvements, is available here.

Please contact your Customer Success Manager to request access to the new endpoint.




\nTrack vessels of interest anywhere in the world.

Notes" operationId: exportvessels______ parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/v_MTA030AD_1' - $ref: '#/components/parameters/timespan_MTA030AD' - $ref: '#/components/parameters/vessel_type' - $ref: '#/components/parameters/cursor' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/protocol_mandatory' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/200_MTA030AD' '429': description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/429_too_many_requests' '/exportvessels-custom-area/{api_key} ': get: tags: - AIS API summary: Vessel Positions in an Area of Interest description: "The latest version of this API endpoint, including significant improvements, is available here.

Please contact your Customer Success Manager to request access to the new endpoint.




\nTrack Vessels of interest in a predefined area of interest.

Notes" operationId: exportvessels-custom-area_ parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/v_MTA030AD_2' - $ref: '#/components/parameters/timespan_MTA030AD' - $ref: '#/components/parameters/vessel_type' - $ref: '#/components/parameters/cursor' - $ref: '#/components/parameters/limit' - $ref: '#/components/parameters/protocol_mandatory' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/200_MTA030AD' '429': description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/429_too_many_requests' '/exportvessel/{api_key} ': get: tags: - AIS API summary: Single Vessel Positions description: "The latest version of this API endpoint, including significant improvements, is available here.

Please contact your Customer Success Manager to request access to the new endpoint.




\nGet the latest available position and voyage information for a single vessel.

Notes" operationId: exportvessel_ parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/v_MTA030AD_3' - $ref: '#/components/parameters/shipid_PS07' - $ref: '#/components/parameters/imo_PS07' - $ref: '#/components/parameters/mmsi_PS07' - $ref: '#/components/parameters/timespan_MTA030AD' - $ref: '#/components/parameters/protocol_mandatory' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/200_MTA030AD_single' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/400_ps07__missing_ship_identifier' '429': description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/429_too_many_requests' components: parameters: mmsi_PS07: name: mmsi in: query description: The Maritime Mobile Service Identity (MMSI) of the vessel you wish to track required: false schema: type: integer v_MTA030AD_2: name: v in: query description: Use latest version **2** required: true schema: type: integer timespan_MTA030AD: name: timespan in: query description: Overrides the default timespan required: false schema: type: integer default: 5 limit: name: limit in: query description: The limit of vessels per page (min=1000, max=5000) required: false schema: type: integer default: 2000 api_key: name: api_key in: path description: 'API key: 40-character hexadecimal number' required: true schema: type: string imo_PS07: name: imo in: query description: The International Maritime Organization (IMO) number of the vessel you wish to track required: false schema: type: integer v_MTA030AD_3: name: v in: query description: Use latest version **6** required: true schema: type: integer shipid_PS07: name: shipid in: query description: A uniquely assigned ID by MarineTraffic for the subject vessel

You can instead use imo or mmsi required: true schema: type: integer cursor: name: cursor in: query description: The pagination cursor provided in the metadata section of the previous response required: false schema: type: string vessel_type: name: vesseltypeid in: query description: Filter vessels based on vessel types, comma separated ids supported

more required: false schema: type: integer v_MTA030AD_1: name: v in: query description: Use latest version **9** required: true schema: type: integer protocol_mandatory: name: protocol in: query description: "Response type. Use one of the following: