Skip to main content
Fetch a port

Path Parameters

id
string
required

Preview: Numeric public id returned by the ports collection.

Pattern: ^[0-9]{1,18}$

Response

Preview: The port.

Preview: Port returned by the ports collection.

id
string

Preview: Public id of the port.

name
string

Preview: Name of the port.

Example:

"Le Havre"

freight_mode
enum<string>

Preview: Freight mode handled by the port.

Available options:
air,
ocean,
rail
unlocode
string

Preview: Canonical code. The ports collection accepts this value with or without its separator.

Example:

"FR/LEH"

city
string

Preview: City of the port.

Example:

"Le Havre"

country
string

Preview: ISO 3166-1 alpha-2 country code.

Example:

"FR"