openapi: 3.0.2 info: title: MarineTraffic Events AIS API Search Vessel 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: Search Vessel paths: /shipsearch/{api_key}: get: tags: - Search Vessel summary: Search Vessel by Identifier description: "Search for a vessel by unique identifier.

Notes " operationId: shipsearch parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/shipid_VD03' - $ref: '#/components/parameters/mmsi_VD03' - $ref: '#/components/parameters/imo_VD03' - $ref: '#/components/parameters/shiptype_VD03' - $ref: '#/components/parameters/type_name_id_VD03' - $ref: '#/components/parameters/protocol' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/200_vd03_default' application/xml: schema: $ref: '#/components/schemas/200_vd03_default' examples: Default: summary: Simple value: "\n\n \n" '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/400_vd03_missing_search_identifier' application/xml: schema: $ref: '#/components/schemas/400_vd03_missing_search_identifier' examples: Missing search identifier: summary: Missing search identifier value: "\n\n \n \n \n" '429': description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/429_too_many_requests' application/xml: schema: $ref: '#/components/schemas/429_too_many_requests' examples: Area out of bound: summary: Too Many Requests value: "\n\n \n \n \n" '/shipsearch/{api_key} ': get: tags: - Search Vessel summary: Search Vessel by Name description: "Search for vessels by vessel name.

Notes
In case of multiple results:\n \n
\n " operationId: shipsearch_ parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/shipname_VD03' - $ref: '#/components/parameters/shiptype_VD03' - $ref: '#/components/parameters/type_name_id_VD03' - $ref: '#/components/parameters/protocol' responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/200_vd03_default' application/xml: schema: $ref: '#/components/schemas/200_vd03_default' examples: Default: summary: Simple value: "\n \n \n \n \n \n \n \n \n " '400': description: Bad Request content: application/json: schema: oneOf: - $ref: '#/components/schemas/400_vd03_invalid_search_string_length' - $ref: '#/components/schemas/400_vd03_missing_search_term' application/xml: schema: oneOf: - $ref: '#/components/schemas/400_vd03_invalid_search_string_length' - $ref: '#/components/schemas/400_vd03_missing_search_term' examples: Invalid search string length: summary: Invalid search string length value: "\n\n \n \n \n" Missing search term: summary: Missing search term value: "\n\n \n \n \n" '429': description: Too Many Requests content: application/json: schema: $ref: '#/components/schemas/429_too_many_requests' application/xml: schema: $ref: '#/components/schemas/429_too_many_requests' examples: Area out of bound: summary: Too Many Requests value: "\n\n \n \n \n" components: parameters: shipid_VD03: name: shipid in: query description: A uniquely assigned ID by MarineTraffic for the subject vessel

You can instead use mmsi or imo required: true schema: type: integer shipname_VD03: name: shipname in: query description: The vessel name. The results will contain all vessels whose name is like the given words required: true schema: type: string type_name_id_VD03: name: type_name_id in: query description: 'Data filter: AIS Shiptype

Find more information here' required: false schema: type: integer shiptype_VD03: name: shiptype in: query description: "Filter data by vessel type: