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). Use this OR location_id.
location_idstringNoExact location ID. Finds routes starting or ending at this location.
difficultystringNoFilter by difficulty: easy, moderate, challenging
limitintegerNoMax results (default: 5, max: 20)

Request

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

Response

{
  "routes": [
    {
      "id": "route-uuid-1",
      "title": "Lefkas to Meganisi",
      "from": "D-Marin Lefkas, Greece",
      "to": "Vathi (Meganisi), Greece",
      "distance_nm": 8,
      "estimated_hours": 1.6,
      "difficulty": "easy",
      "rating": 4.9,
      "variant_count": 2,
      "description": "Short hop to the charming island of Meganisi...",
      "url": "https://charter.boats/routes/lefkas-to-meganisi"
    }
  ]
}

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