openapi: 3.0.2 info: title: MarineTraffic Events 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: Single Vessel Events - name: Port Events paths: /portcalls/{api_key}: get: tags: - Single Vessel Events summary: Single Vessel Port Calls description: "Retrieve arrival and departure information of a vessel for a specific period of time.

Notes\ \ " operationId: portcalls parameters: - $ref: '#/components/parameters/api_key' - $ref: '#/components/parameters/v_EV01' - $ref: '#/components/parameters/shipid_EV01' - $ref: '#/components/parameters/mmsi_EV01' - $ref: '#/components/parameters/imo_EV01' - $ref: '#/components/parameters/timespan_EV01' - $ref: '#/components/parameters/movetype_EV01' - $ref: '#/components/parameters/exclude_intransit_EV01' - $ref: '#/components/parameters/fromdate_EV01' - $ref: '#/components/parameters/todate_EV01' - $ref: '#/components/parameters/dwt_min_EV01' - $ref: '#/components/parameters/dwt_max_EV01' - $ref: '#/components/parameters/gt_min_EV01' - $ref: '#/components/parameters/gt_max_EV01' - $ref: '#/components/parameters/market_EV01' - $ref: '#/components/parameters/msgtype_EV01' - $ref: '#/components/parameters/protocol_new' responses: '200': description: Successful Response content: application/json: schema: oneOf: - $ref: '#/components/schemas/200_ev01_default' - $ref: '#/components/schemas/200_ev01_extended' application/xml: schema: oneOf: - $ref: '#/components/schemas/200_ev01_default' - $ref: '#/components/schemas/200_ev01_extended' examples: Default: summary: Simple value: "\n\n \n \n" Extended: summary: Extended value: "\n\n \n \n" '400': description: Bad Request content: application/json: schema: oneOf: - $ref: '#/components/schemas/400_ev01_date_range_out_of_bounds' - $ref: '#/components/schemas/400_ev01_missing_ship_identifier' - $ref: '#/components/schemas/400_ev01_polling_range_out_of_limit' application/xml: schema: oneOf: - $ref: '#/components/schemas/400_ev01_date_range_out_of_bounds' - $ref: '#/components/schemas/400_ev01_missing_ship_identifier' - $ref: '#/components/schemas/400_ev01_polling_range_out_of_limit' examples: Date range out of bounds: summary: Date range out of bounds value: "\n\n \n \ \ \n \n" Missing ship identifier: summary: Missing ship identifier value: "\n\n \n \ \ \n \ \ \n" Polling range out of limit: summary: Polling range out of limit 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" /vesselevents/{api_key}: get: tags: - Single Vessel Events summary: Single Vessel Events description: "Get event based intelligence for a vessel.

Notes