---
title: "Search Port Details by its name or unlocode"
method: GET
path: "/ports/search?filter={filter}"
tags: ["Ports"]
---

# Search Port Details by its name or unlocode

`GET /ports/search?filter={filter}`

Retrieve detailed informations about a specific port by its UNLOCODE. It include the berth occupation rate and the difference with the average one.

## Path parameters

- `filter` string, required

## Response `200`

Successful response

- Port
  - `name` string — Name of the port
  - `longitude` number, float — Longitude coordinate
  - `latitude` number, float — Latitude coordinate
  - `unlocode` string — UN/LOCODE of the port
  - `countryName` string — Country name
  - `countryCode` string — ISO country code

## 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/api-container-tracking.md) · [All operations](https://skmtc.dev/safecube/apis/api-container-tracking/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/safecube/api-container-tracking/revisions/e74a670ab7a5/schema)
