---
title: "Get Vessels in port"
method: GET
path: "/ports/{unlocode}/vessels-in-port"
tags: ["Ports"]
---

# Get Vessels in port

`GET /ports/{unlocode}/vessels-in-port`

## Request

- Base URL: `https://api.sinay.ai/ports-intelligence/api/v1`
- URL: `https://api.sinay.ai/ports-intelligence/api/v1/ports/{unlocode}/vessels-in-port`
- Auth: API key in header `API_KEY`

Retrieve a list of vessels currently in the specified port

## Path parameters

- `unlocode` string, required

## Response `200`

Successful response

- VesselInPort[]
  - `name` string, nullable: Vessel name
  - `imo` string, nullable: International Maritime Organization number
  - `mmsi` string: Maritime Mobile Service Identity
  - `shipType` string, nullable: Type of ship
  - `id` string: Veesel's id

## Other responses

- `401`: Authentication information is missing or invalid
- `404`: The requested resource was not found
- `500`: Internal server error

---

[API](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api.md) - [All operations](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safecube/apis/safecube-ports-intelligence-api/revisions/2174dfde250f?raw)
