Charter Boats
Charter Boats API
AI Integrations

Search Routes (AI)

Find sailing passages between destinations with distance, difficulty, and ratings

GET/ai/routes

Search point-to-point sailing passages with distance, difficulty, and community ratings. Routes may have multiple variants (direct, scenic, sheltered). Distances are in nautical miles.

Authentication

No authentication required. Rate limited to 60 requests per 10 minutes.

Query Parameters

ParameterTypeRequiredDescription
fromstringNoStarting location name (fuzzy matched against name + city). Use this OR location_id.
location_idstringNoExact location ID. Finds routes starting or ending at this location.
qstringNoFree-text match against the route title.
difficultystringNoFilter by difficulty (e.g. easy, moderate, challenging)
limitintegerNoMax results (default: 5, max: 20)

Request

# Find routes from Sivota
curl "https://charter.boats/api/ai/routes?from=Sivota&limit=5"
 
# Easy routes from a specific location
curl "https://charter.boats/api/ai/routes?location_id=4521&difficulty=easy"

Response

{
  "routes": [
    {
      "id": "7f71404b-e5a5-403c-92b1-93e4a462da42",
      "title": "Sivota to Anchorage",
      "from": "Sivota, Greece",
      "to": "Anchorage, Greece",
      "distance_nm": 5.3,
      "estimated_hours": 1.1,
      "difficulty": null,
      "rating": null,
      "variant_count": 1,
      "description": null,
      "url": "https://charter.boats/routes/sivota-to-anchorage"
    }
  ]
}

difficulty, rating, and description are frequently null — they are only populated for curated routes.

Response Fields

FieldTypeDescription
routesarrayMatching routes sorted by rating
routes[].idstringRoute UUID
routes[].titlestringRoute title
routes[].fromstringDeparture location (name, country)
routes[].tostringArrival location (name, country)
routes[].distance_nmnumber|nullDistance in nautical miles
routes[].estimated_hoursnumber|nullEstimated sailing time at 5 knots average
routes[].difficultystring|nullDifficulty level
routes[].ratingnumber|nullAverage community rating
routes[].variant_countinteger|nullNumber of route variants (direct, scenic, etc.)
routes[].descriptionstring|nullRoute description
routes[].urlstringLink to route page on charter.boats

On this page