AI Integrations
Search Routes (AI)
Find sailing passages between destinations with distance, difficulty, and ratings
GET
/ai/routesSearch 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
| Parameter | Type | Required | Description |
|---|---|---|---|
from | string | No | Starting location name (fuzzy matched against name + city). Use this OR location_id. |
location_id | string | No | Exact location ID. Finds routes starting or ending at this location. |
q | string | No | Free-text match against the route title. |
difficulty | string | No | Filter by difficulty (e.g. easy, moderate, challenging) |
limit | integer | No | Max results (default: 5, max: 20) |
Request
Response
difficulty, rating, and description are frequently null — they are only populated for curated routes.
Response Fields
| Field | Type | Description |
|---|---|---|
routes | array | Matching routes sorted by rating |
routes[].id | string | Route UUID |
routes[].title | string | Route title |
routes[].from | string | Departure location (name, country) |
routes[].to | string | Arrival location (name, country) |
routes[].distance_nm | number|null | Distance in nautical miles |
routes[].estimated_hours | number|null | Estimated sailing time at 5 knots average |
routes[].difficulty | string|null | Difficulty level |
routes[].rating | number|null | Average community rating |
routes[].variant_count | integer|null | Number of route variants (direct, scenic, etc.) |
routes[].description | string|null | Route description |
routes[].url | string | Link to route page on charter.boats |