Charter Boats API
AI Integrations

Search POIs (AI)

Find restaurants, fuel stations, shops, and attractions near a sailing destination

GET/ai/pois

Find points of interest near a sailing destination. Accepts a location name (fuzzy matched) or a location ID from a previous search. Returns POIs sorted by distance from the nearest marina.

Authentication

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

Query Parameters

ParameterTypeRequiredDescription
locationstringNoLocation name (fuzzy matched). Use this OR location_id.
location_idstringNoExact location ID from a previous searchLocations call.
categorystringNoFilter by POI category (see below). Omit for all categories.
limitintegerNoMax results (default: 10, max: 30)

At least one of location or location_id is required.

Categories

ValueDescription
restaurantRestaurants, cafes, bars
fuelMarine and regular fuel stations
grocerySupermarkets, bakeries, convenience stores
chandleryBoat supplies, marine equipment
pharmacyPharmacies
bankBanks, ATMs, currency exchange
laundryLaundromats
entertainmentAttractions, museums, nightlife
waterWater points
iceIce suppliers
fishingFishing supplies
provisioningProvisioning services
otherOther

Request

# Find restaurants near Lefkada
curl "https://charter.boats/api/ai/pois?location=Lefkada&category=restaurant"
 
# Find all POIs near a specific location ID
curl "https://charter.boats/api/ai/pois?location_id=4521&limit=20"

Response

{
  "pois": [
    {
      "id": "poi-uuid-1",
      "name": "Taverna Nidri",
      "category": "restaurant",
      "subcategory": "taverna",
      "description": "Traditional Greek taverna on the waterfront",
      "rating": 4.7,
      "cuisine": "greek",
      "phone": "+30 2645 099999",
      "website": "https://example.com",
      "opening_hours": "Mo-Su 12:00-23:00",
      "image_url": "https://...",
      "distance_from_marina": "350m"
    }
  ],
  "categories_available": ["restaurant", "grocery", "fuel", "pharmacy"]
}

Response Fields

FieldTypeDescription
poisarrayPoints of interest sorted by distance
pois[].idstringPOI UUID
pois[].namestringPOI name
pois[].categorystringPOI category
pois[].subcategorystring|nullMore specific category
pois[].descriptionstring|nullDescription
pois[].ratingnumber|nullRating
pois[].cuisinestring|nullCuisine type (restaurants only)
pois[].phonestring|nullPhone number
pois[].websitestring|nullWebsite URL
pois[].opening_hoursstring|nullOpening hours (OSM format)
pois[].image_urlstring|nullImage URL
pois[].distance_from_marinastringDistance from nearest marina (e.g. "200m" or "1.5km")
categories_availablearrayCategories that have results at this location, sorted by count

Errors

StatusMessage
400Provide location or location_id

On this page