---
title: "List active harbors"
method: GET
path: "/api/v1/harbors"
tags: ["Harbors"]
---

# List active harbors

`GET /api/v1/harbors`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/harbors`
- Auth: HTTP bearer

Returns all active harbors sorted by sortOrder.

## Response `200`

List of harbors

- object
  - `data` Harbor[], required
    - `id` string, required
    - `name` string, required
    - `city` string, nullable
    - `state` string, nullable
    - `lat` number, nullable
    - `lng` number, nullable
    - `sortOrder` integer
    - `isActive` boolean, required

## Other responses

- `401`: Authentication required, or the bearer token is missing or invalid.

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
