Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MarineTraffic Port Operations API

Port calls, arrivals, and departures

MarineTraffic Port Operations API is one of 8 APIs that MarineTraffic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Port Operations. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 1 JSON Schema.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://services.marinetraffic.com/api.

2 operations 2 paths 4 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://services.marinetraffic.com/api
Authentication
API Key
Resource Areas
1

Authentication & Security 1

MarineTraffic Port Operations API declares 1 security scheme for authenticating requests. An API key is passed in the query as apikey (APIKey). By default, every request must be authenticated.

  • APIKey — MarineTraffic API key provided in the URL path for most endpoints

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Port Operations 2

Port calls, arrivals, and departures

GET
/getexpectedarrivals/{apikey}
Get expected vessel arrivals at a port
getExpectedArrivals 6 params → 200
GET
/getportcalls/{apikey}
Get port call events
getPortCalls 7 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are PortCall (11 properties), ExpectedArrival (9 properties), PortCallsResponse (1 property), ExpectedArrivalsResponse (1 property). Each schema is shown below with its type and property counts.

ExpectedArrivalsResponse
object
1 property
ExpectedArrival
object
9 properties
PortCall
object
11 properties
PortCallsResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

marinetraffic-port-operations-api-openapi.yml Raw ↑

Other APIs MarineTraffic publishes across the network.

MarineTraffic Real-time Events API
MarineTraffic Predictive Events API
MarineTraffic Past Events API
MarineTraffic Ship Database API
MarineTraffic AIS Vessel Tracking API
MarineTraffic Vessel Tracking API
MarineTraffic Vessels API