---
title: "Get available dates"
method: GET
path: "/api/v1/availability/dates"
tags: ["Availability"]
---

# Get available dates

`GET /api/v1/availability/dates`

## Request

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

Returns available booking dates for the captain within the specified look-ahead window, with pricing category per date.

## Query parameters

- `daysAhead` integer: Number of days to look ahead (1–365, default 90)
- `filterDays` string: Comma-separated list of day-of-week numbers to filter (0=Sun … 6=Sat)

## Response `200`

Available dates with pricing categories

- object
  - `data` object[], required
    - `date` string, date, required
    - `pricingCategory` 'weekday' | 'weekend' | 'peak' | 'holiday', required

## Other responses

- `400`: Request body or query parameters failed validation.
- `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)
