charter.boats
v1.0.1Search 14,000+ charter boats with live prices, plus marinas, anchorages, routes and itineraries.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_boats Search Charter Boats
Search charter boats by location, name, type, dates, capacity, budget. The response `total_matching` is the FULL count of matching boats — results are the top `limit` of those, so phrase counts from it ("8 of 48 available") and re-call with a higher limit when the guest wants more. Pass the guest's dates as they gave them. Each boat sets its own changeover day (`checkinout_days`) and its own minimum stay in nights (`min_charter_days`), so the week a boat can actually be sold may not start on the day asked for — `price_summary` always names the real week, and it is the one sentence to quot…
search_locations Search Sailing Destinations
Find marinas, harbours and anchorages three ways: by NAME (q), by POPULARITY within an area (region/country/city — ranked on observed AIS vessel traffic for a month), or by REACH from a place you already have (`from` + `within_nm`) — where boats are actually recorded sailing to from there, with measured passage times. Use `from` for "where can I sail from X", "what is a day sail from X", "somewhere quieter nearby". Provide q, or an area, or from.
| Parameter | Type | Description |
|---|---|---|
city | string | |
country | string | Country name or 2-letter code |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
from | string | Origin location id (or slug) to sail FROM — take it from an earlier search_locations or get_location_details result. Returns places boats were tracked sailing to from there. |
limit | integer | |
month | integer | Month to rank popularity for (default: current month) |
q | string | Name search (min 2 chars). Optional when an area filter is given. |
region | string | Sailing region or sea as the guest says it: Istria, Kvarner, Dalmatia, the Ionian, the Ionian Islands, the Saronic, the Cyclades, the Dodecanese, the Sporades, the Mediterranean, the Caribbean, the Ad… |
sort | string | Default popularity = real vessel traffic for the month; boats = charter fleet size; rating = Google rating |
type | string | Kind of place — e.g. anchorage for "quiet bays"; spot = an unclassified stop (beach, spit, headland) |
within_nm | integer | How far, in nautical miles, for a "from" search. Default 35. Pick the ring by time — a charter boat makes about 6 knots, plus 30 minutes to leave and arrive, so: 10nm ≈ 2.2h, 20nm ≈ 3.8h, 35nm â… |
search_pois Find Nearby Points of Interest
Find restaurants, fuel, groceries, attractions near a location, or search by POI name. POIs carry no ratings — rank and describe them by what they are and how close they are.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
location | string | Location name (fuzzy). Required unless q is provided. |
location_id | string | |
q | string | Search POI by name |
search_routes Find Sailing Routes
Find sailing passages between destinations with distance and difficulty.
| Parameter | Type | Description |
|---|---|---|
difficulty | string | |
from | string | Place the passage starts or ends at, as the guest says it ("Sivota", "Nydri, Greece", "Dalmatia"). Resolved to a real place; if it resolves to nothing you get `from_unresolved` and no passages, never… |
limit | integer | |
location_id | string | |
q | string | Search route by title |
search_trips Find Sailing Itineraries
Find existing curated sailing itineraries by location, name, duration, activities.
| Parameter | Type | Description |
|---|---|---|
activities | string | Comma-separated activities |
boat_type | string | |
limit | integer | |
location | string | Place the itinerary passes through, as the guest says it ("Split", "Nydri, Greece", "Dalmatia", "Croatia"). Resolved to a real place; if it resolves to nothing you get `location_unresolved` and no iti… |
location_id | string | |
max_days | integer | |
min_days | integer | |
q | string | Search itinerary by title |
search_flights Find Direct Flights to a Destination
Direct flights observed landing at the airports that serve a place over the latest season, one row per origin and destination airport with every airline on that pair folded together. It names no airline and no price and is not a timetable or a booking: a row shows that passenger airlines' aircraft land there on that pattern, not that a seat is for sale. It covers direct flights only: when none comes from the guest's origin, say that connecting flights through other airports may exist and are not listed here. `airports` are the airports the place is served by, best first. For one place they car…
| Parameter | Type | Description |
|---|---|---|
from | string | The guest's departure: the ICAO codes of every airport serving their departure city, comma-separated (resolve a city or an IATA code to ICAO yourself). Only flights from those airports are returned, b… |
limit | integer | |
location | string | Place the guest wants to reach, as the guest says it. Resolved to a real place; if it resolves to nothing you get `location_unresolved` and no flights, never flights somewhere else. |
location_id | string | Location id from an earlier search_locations or get_location_details result, used instead of `location`. |
search_content Search Sailing Knowledge Base
Search the charter.boats help articles and Q&A. Use it for any question from a guest, operator, agent, skipper or affiliate about how charter.boats works or how to do something on it. For developer questions about our API, use type=api to search the API docs at docs.charter.boats.
| Parameter | Type | Description |
|---|---|---|
q * | string | Short keyword query (2-4 words) |
limit | integer | |
type | string |
search_skippers Find Professional Skippers
Search the professional skippers a guest can request, with or without a boat booked, by the region they work in, the boat type they skipper, the dates they are free, and the language, licences, personality and rules they list. `total_matching` is the full count; `skippers` holds the first `limit`. With dates, only skippers free on every day of the stay are listed. `price` is what the guest pays for that skipper, charged on its own and never part of a boat's total: `per_day`, and with dates `total` for the `days` of the stay. It is not the skipper fee a boat lists itself. A skipper is always a…
| Parameter | Type | Description |
|---|---|---|
boat_type | string | Optional: only skippers of a boat model or make of this type. |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
date_from | string | Optional check-in date YYYY-MM-DD of the boat stay. |
date_to | string | Optional check-out date YYYY-MM-DD of the boat stay. |
language | string | Optional: only skippers who speak this language. |
licences | array | Optional: only skippers holding every licence listed, each one checked by us and not expired. |
limit | integer | |
location | string | Place as the guest says it, resolved to real locations; a place that resolves to nothing returns `location_unresolved` and no skippers, never skippers somewhere else. |
personality | array | Optional: only skippers who describe themselves with every trait listed. |
rules | array | Optional: only skippers who keep every rule listed. |
get_boat_details Get Boat Details
Get full details of a specific boat: security deposit, cancellation policy, amenities, fees, seasonal prices, check-in/out times, location details — and the dates it is actually free (priced date ranges plus bookable slots for the year ahead). Use when the user asks about a specific boat, and whenever a boat came back in `named_matches` and they want to know when it IS available. With dates, `stay_price` states Due now, Paid at pickup and Total first, then the charter, its discounts and the deposits.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id from search_boats results (including named_matches) — copy it verbatim. |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
date_from | string | Optional check-in date YYYY-MM-DD of the stay you are quoting. With date_to, `fees` are the ones that apply to that stay, and `url` opens the boat on those dates when the stay is one we sell — `stay… |
date_to | string | Optional check-out date YYYY-MM-DD — see date_from. |
guests | number | Optional: the party the stay is priced for; without it, the boat's capacity. |
offer | string | Optional: the code of an agent's offer that lists this boat. On the offer's dates for this boat `stay_price` includes the offer's `agent_discount`, and `url` keeps the offer. |
get_boat_standouts What Stands Out About a Boat
What stands out about ONE boat for one week, measured against similar boats: its pros and its cons, each with how it compares ("47.9 ft (better than 99%)", "€2000 security deposit (typical €1700)", "Rare kit: [0.8%] Cool Box" — n% of those boats have it). Use when the guest asks what is special about a boat, what the catch is, why it is cheap or dear, or how it compares with others. It measures build year, length, cabins, bathrooms, guests, the security deposit and kit — and, with date_from, check-in and check-out times, the changeover day and the open weeks left; any of those it does…
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id from search_boats or get_boat_details — copy it verbatim. |
compare_by | string | Which boats count as similar. price (default): the same type priced within ±5% — what else the same money buys. guests: the same type taking the same number of guests — use when the question is v… |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
cutoff_pct | number | Optional, default 10, at most 50: a pro beats all but this share of the similar boats, a con trails all but it, rare kit is on fewer than it. Raise it for more, weaker lines. |
date_from | string | Optional check-in date YYYY-MM-DD of the week the guest is looking at: the boats are then compared on that week's prices, and its schedule and open weeks are judged. Pass it whenever the guest has dat… |
fallback | boolean | Optional, default true: with nothing past the cut-off on a side, name the one thing that beats (or trails) most of them. false returns only what clears the cut-off. |
compare_boat Compare a Boat With Similar Boats
One boat against up to 10 closest published boats of the same type in the same country: specs and the all-in weekly price (in `currency`, at max guests, the figure search compares) for each of the next 52 weeks. Pass `id` (a boat), or `boat_type` and `country` (optionally `region`, `city`) to describe one. The specs take search_boats' names: without `id` they describe the boat to compare; with `id` they filter its peers as search_boats would. Only boats open at least one week are compared. `similar_pct` is how alike a peer is: the share of the specs it shares. With `id`, `overlap_pct` is the s…
| Parameter | Type | Description |
|---|---|---|
berths | number | Berths: without id the number to match, with id the minimum. |
boat_type | string | Without id: the boat type (required with country). |
cabins | number | Cabins: without id the number to match; with id the minimum guest cabins, crew cabins not counted (as search_boats). |
city | string | Without id, optional: city or town, e.g. Split. |
country | string | Without id: ISO country code, e.g. HR (required with boat_type). |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
guests | number | Guests: without id the number to match, with id the minimum. |
id | string | Boat id from search_boats or get_boat_details — copy it verbatim. Omit to describe a boat by its specs. |
length_max | integer | Maximum length in feet. |
length_min | integer | Minimum length in feet. |
lock | array | With id: keep only peers the same as the boat in these fields — the fields a peer's `same` lists. |
makemodel | string | Make and/or model as the guest said it, e.g. "Lagoon 42", "Bali". |
region | string | Without id, optional: sailing region, e.g. Dalmatia. |
toilets | number | Toilets: without id the number to match, with id the minimum. |
year_max | integer | Maximum build year. |
year_min | integer | Minimum build year. |
get_poi_details Get Point of Interest Details
Get full details of a point of interest by ID: description, opening hours, address, contact, nearby marinas, special offers. Use when user is viewing or asks about a specific POI. POIs carry NO rating or review count — do not claim one or ask the guest to check it.
| Parameter | Type | Description |
|---|---|---|
id * | string | POI id from search_pois results — copy it verbatim. |
get_location_details Get Marina/Location Details
Get full details of a marina, anchorage or bay by ID: description, amenities, contact, boat count and cheapest day rate, PLUS what only we know from tracked AIS traffic — how busy it is in each month of the year, how boats use it (share of overnight visits, typical day-stop length, what time it fills up), whether it is a hidden gem, the places boats actually sail to from there, most-travelled first with the share of the tracked trips each one takes and an estimated passage time, and the nearest bookable base for a spot with no fleet of its own. `airports` are the airports to fly into, fastes…
| Parameter | Type | Description |
|---|---|---|
id * | string | Location id from search_locations results — copy it verbatim. |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
get_trip_details Get Trip/Itinerary Details
Get full details of a sailing itinerary/trip by ID: day-by-day stops, distances, activities, highlights, notes. Use when user is viewing or asks about a specific trip.
| Parameter | Type | Description |
|---|---|---|
id * | string | Trip id from search_trips results — copy it verbatim. |
get_skipper_details Get Skipper Profile
Get one skipper's public profile by ID: experience, bio, licences by name, languages, the boats they skipper and the regions they work in, personality, what they offer on board, their rules, where they sleep, whether meals are included, and photos. With dates, `free` says whether they are free on every day of that stay. `price` is what the guest pays for that skipper, charged on its own and never part of a boat's total: `per_day`, and with dates `total` for the `days` of the stay. It is not the skipper fee a boat lists itself.
| Parameter | Type | Description |
|---|---|---|
id * | string | Skipper id from search_skippers results — copy it verbatim. |
currency | string | Optional: the currency every amount in the answer is written in, and any price you send is read in. When the conversation has its own currency, that one is used whatever is sent; otherwise the one sen… |
date_from | string | Optional check-in date YYYY-MM-DD of the boat stay. |
date_to | string | Optional check-out date YYYY-MM-DD of the boat stay. |
list_boats
The operator's own fleet: every boat of each company the key holder belongs to, published or not, with its company's name, specs, pricing source, changeover settings and photos. Start here: it gives the boat ids and company ids every other operator tool takes. An empty list means the account belongs to no company.
| Parameter | Type | Description |
|---|---|---|
company_id | string | Optional: one company only. Without it, every company the account belongs to. |
get_boat
One of the operator's boats in full, as its edit page shows it: every editable field, photos with their ids, videos, equipment (hidden items included) and `locked_fields`, the fields MMK or Nausys rewrite on every sync.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
update_boat
Change details of one of the operator's boats; only the fields sent change, and a field listed in `locked_fields` is ignored because the partner sync owns it. The answer carries `is_published` and `missing`, what the boat still lacks to be listed. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
berths | integer | |
boat_type | string | |
cabins | integer | |
capacity | integer | Maximum guests. |
charter_day | integer | Changeover weekday, 0 Sunday to 6 Saturday. |
check_in_periods | array | Check-in rules by date range, in the shape get_boat returns them. |
checkin_time | string | HH:MM |
checkout_time | string | HH:MM |
deposit_with_waiver | number | EUR: the deposit when the guest takes the damage waiver. |
description | string | |
features | array | The owner-entered equipment slugs, the whole list: it replaces the previous one. |
instant_book | boolean | |
length_ft | number | On a partner-synced boat this pins the length against the sync. |
length_unpin | boolean | true restores the governed length of a pinned boat. |
location_id | integer | Home marina id. |
manufacturer_id | string | |
min_charter_days | integer | |
model | string | |
rental_type | string | |
security_deposit | number | EUR. |
skipper | integer | 1 when a skipper is required. |
title | string | |
toilets | integer | |
year | integer |
set_equipment_visibility
Hide an equipment item from the boat's public listing and search, or show it again; the same item under another wording follows it. Use the item's name as get_boat lists it in `equipment_items`. Returns the new state.
| Parameter | Type | Description |
|---|---|---|
hidden * | boolean | |
id * | string | Boat id, from list_boats. |
name * | string | The item as get_boat lists it. |
update_boat_images
Hide one photo, show a hidden one again, or set the photo order (the first is the cover); send one of the three. Photo ids come from get_boat. Returns the boat with its photos as they now stand. New photos are uploaded on the boat's edit page.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
disable_id | string | Photo id to hide. |
enable_id | string | Photo id to show again. |
image_ids | array | Every photo id in the new order. |
delete_boat_image
Delete one photo of the boat for good. To take a photo off the listing and keep it, use update_boat_images with disable_id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
image_id * | string |
get_company
The company profile as its settings page holds it: public profile, contact, bank, tax and invoicing details, the cancellation policy (`cancel_refund_percent` refunded when the guest cancels at least `cancel_refund_days` before the charter), the X-Lock switch (in `settings`) and the member and boat counts.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
update_company
Change company details; only the fields sent change. Any member may change the public profile; contact email, bank, tax and invoicing details are the owner's, and a request naming one from anyone else is refused whole. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
about | string | |
address_line1 | string | |
address_line2 | string | |
bank_name | string | Owner only. |
bic_swift | string | Owner only. |
city | string | |
country_code | string | |
cover_image_url | string | |
description | string | |
email | string | Owner only: where bookings and guest messages are sent. |
iban | string | Owner only: the EUR payout account. |
invoice_email | string | Owner only. |
legal_name | string | Owner only. |
logo_url | string | |
name | string | |
phone | string | |
postal_code | string | |
registration_number | string | Owner only. |
slug | string | The address of the company page. |
state | string | |
tax_id | string | Owner only. |
usd_account_number | string | Owner only: the USD payout account. |
usd_bank_name | string | Owner only. |
usd_bic_swift | string | Owner only. |
vat_number | string | Owner only. |
vat_registered | boolean | Owner only. |
website_url | string |
get_cancellation_limits
What the company's payment schedule means for its cancellation policy: per boat source, the share paid in advance and how many days before the charter the rest is due, with the largest refund each notice period covers from money already collected. Read beside get_company's `cancel_refund_percent` and `cancel_refund_days`. `policy_applies` false: the company has no MMK or Nausys boat, so its policy governs nothing and cannot be changed.
| Parameter | Type | Description |
|---|---|---|
id * | string | Company id. |
set_cancellation_policy
Set the company's cancellation policy, company owners only: a guest who cancels at least `cancel_refund_days` before the charter gets `cancel_refund_percent` of the charter price back. The policy applies to the company's MMK and Nausys bookings only; its direct boats follow charter.boats terms, so a company whose boats are all direct is refused. Read get_cancellation_limits first. Returns the company as it now stands.
| Parameter | Type | Description |
|---|---|---|
cancel_refund_days * | integer | Days before the charter the guest must cancel by, 1 to 90. |
cancel_refund_percent * | integer | Share of the charter price refunded, 0 to 100. |
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
set_cross_lock
Switch X-Lock for a company, company admins and owners only. With X-Lock on, every block, option or booking placed on one partner calendar (MMK or Nausys) also places a hold on the boat's other partner calendar. `sync_existing` true also places or releases those holds for the bookings and blocks already there. Returns the company as it now stands. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
enabled * | boolean | |
sync_existing | boolean |
list_discounts
The company's active discounts: codes guests type at checkout, automatic ones, and the pay-in-full discount, each with its value, booking window (`start_date`..`end_date`), stay window (`stay_from`..`stay_to`) and the boats it covers (`all_boats`, else `boat_ids`). An empty list means the company runs no discount.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
create_discount
Create a discount; it comes out of the operator's payout, never out of the platform commission. Returns the stored discount.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
discount_type * | string | `percentage` or `fixed`. |
discount_value * | number | The percent, or for fixed the amount in `currency` (EUR when omitted). |
all_boats | boolean | false limits it to `boat_ids`. |
auto_apply | boolean | true applies it without a code. |
boat_ids | array | |
code | string | The code guests type; required unless trigger is pay_in_full. |
currency | string | EUR or USD: the currency a fixed amount is in. |
description | string | Shown to the guest. |
end_date | string | Last day it can be booked, YYYY-MM-DD. |
max_uses | integer | |
start_date | string | First day it can be booked, YYYY-MM-DD. |
stay_from | string | Earliest check-in it covers, YYYY-MM-DD. |
stay_to | string | Latest check-in it covers, YYYY-MM-DD. |
trigger | string | `code` (default) or `pay_in_full`, a percentage taken when the guest pays everything at once. |
update_discount
Change a discount; only the fields sent change. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
id * | string | Discount id, from list_discounts. |
all_boats | boolean | false limits it to `boat_ids`. |
auto_apply | boolean | true applies it without a code. |
boat_ids | array | |
code | string | |
currency | string | EUR or USD: the currency a fixed amount is in. |
description | string | Shown to the guest. |
discount_type | string | `percentage` or `fixed`. |
discount_value | number | The percent, or for fixed the amount in `currency` (EUR when omitted). |
end_date | string | Last day it can be booked, YYYY-MM-DD. |
is_active | boolean | |
max_uses | integer | |
start_date | string | First day it can be booked, YYYY-MM-DD. |
stay_from | string | Earliest check-in it covers, YYYY-MM-DD. |
stay_to | string | Latest check-in it covers, YYYY-MM-DD. |
delete_discount
End a discount: guests can no longer use it; bookings already made keep it.
| Parameter | Type | Description |
|---|---|---|
id * | string | Discount id, from list_discounts. |
get_pricing
The season prices of the fleet: per boat, every week-price row with its id, date span (month/day, repeating every year), `price_per_day` and `source`. Rows with `source` mmk or nausys come from the partner and change there; rows with `source` direct are the operator's to edit with add_price, update_price and delete_price.
| Parameter | Type | Description |
|---|---|---|
company_id | string | Optional: one company only. |
add_price
Add a season price to a boat the operator prices directly (pricing source direct). Returns the stored row.
| Parameter | Type | Description |
|---|---|---|
end_day * | integer | |
end_month * | integer | |
id * | string | Boat id, from list_boats. |
name * | string | Season name. |
price_per_day * | number | EUR per day for the boat. |
start_day * | integer | |
start_month * | integer | |
priority | integer | The higher one wins where two seasons overlap. |
update_price
Change a direct season price; only the fields sent change. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
price_id * | string | Row id, from get_pricing. |
end_day | integer | |
end_month | integer | |
name | string | Season name. |
price_per_day | number | EUR per day for the boat. |
priority | integer | The higher one wins where two seasons overlap. |
start_day | integer | |
start_month | integer |
delete_price
Delete a direct season price; the dates it covered have no price until another row covers them.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
price_id * | string | Row id, from get_pricing. |
list_boat_fees
Every extra and fee row of a boat, as its edit page lists them: amount, period, whether it is required, how it is collected, and its `source`. Rows with `source` direct are the operator's to edit.
| Parameter | Type | Description |
|---|---|---|
id * | string | Boat id, from list_boats. |
add_fee
Add an extra or fee to a boat the operator prices directly. Returns the stored row and `warnings`, other rows it overlaps.
| Parameter | Type | Description |
|---|---|---|
amount * | number | EUR, or a percent when amount_is_percentage. |
description * | string | The fee as guests read it. |
id * | string | Boat id, from list_boats. |
period * | string | How it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones. |
amount_is_percentage | boolean | |
calculation_type | string | How it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`. |
category | string | |
on_request | boolean | |
percentage_base | string | What the percentage is taken on; empty is the charter price. |
required | boolean | true when every guest pays it. |
valid_from | string | YYYY-MM-DD |
valid_to | string | YYYY-MM-DD |
update_fee
Change a direct fee row; only the fields sent change. Read the current value with its read tool first; this call returns the value as it now stands.
| Parameter | Type | Description |
|---|---|---|
fee_id * | string | Row id, from list_boat_fees. |
id * | string | Boat id, from list_boats. |
amount | number | EUR, or a percent when amount_is_percentage. |
amount_is_percentage | boolean | |
calculation_type | string | How it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`. |
category | string | |
description | string | The fee as guests read it. |
on_request | boolean | |
percentage_base | string | What the percentage is taken on; empty is the charter price. |
period | string | How it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones. |
required | boolean | true when every guest pays it. |
valid_from | string | YYYY-MM-DD |
valid_to | string | YYYY-MM-DD |
delete_fee
Delete a direct fee row.
| Parameter | Type | Description |
|---|---|---|
fee_id * | string | Row id, from list_boat_fees. |
id * | string | Boat id, from list_boats. |
list_calendars
The external calendars (iCal feeds, a Google Calendar by its secret iCal address) connected to one boat, with their sync state. MMK and Nausys are linked automatically and are not listed here. An empty list means none is connected to that boat.
| Parameter | Type | Description |
|---|---|---|
boat_id * | string | Boat id, from list_boats. |
add_calendar
Connect an external calendar to a boat: its events block those dates on charter.boats. Returns the stored source; sync_calendar pulls it at once.
| Parameter | Type | Description |
|---|---|---|
boat_id * | string | Boat id, from list_boats. |
source_name * | string | A name for it. |
source_url * | string | The https iCal address. |
source_type | string | Default `ical`. |
remove_calendar
Disconnect an external calendar: its blocked dates are freed, and the holds X-Lock placed for them on the partner calendars are released.
| Parameter | Type | Description |
|---|---|---|
id * | string | Source id, from list_calendars. |
sync_calendar
Pull one external calendar now. Returns how many events it brought in, or the error the feed gave.
| Parameter | Type | Description |
|---|---|---|
id * | string | Source id, from list_calendars. |
get_availability
The company's fleet calendar: every boat with its partner links, and every event that takes dates — bookings, options, blocks and synced partner or iCal events — each with its source. Read it before add_block to see what a range already holds.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
add_block
Block dates on one of the operator's boats so they cannot be booked. On a partner-synced boat the hold is placed on that partner too, and with X-Lock on also on the other partner. Returns the stored block and how each hold went.
| Parameter | Type | Description |
|---|---|---|
boat_id * | string | Boat id, from list_boats. |
end_at * | string | Last day, YYYY-MM-DD. |
start_at * | string | First day, YYYY-MM-DD. |
notes | string | |
reason | string |
remove_block
Remove a block the operator placed, freeing its dates and releasing the partner holds it placed.
| Parameter | Type | Description |
|---|---|---|
id * | string | Block id: `block_id` on the event in get_availability, or `id` from add_block. |
list_bookings
Every booking on the operator's boats, newest charter first. `status` and `payment_status` give the stage: `waitlist` is On waitlist (queued behind another hold), unpaid `pending` or `accepted` is an Option that lapses at `hold_expires_at`, and a booking with money in is booked. Each row states the price the guest pays, the discounts and the operator's own payout, in the currency of `payout_money`. Read-only: bookings are handled on the dashboard. An empty list means no bookings yet.
| Parameter | Type | Description |
|---|---|---|
boat_id | string | Optional: one boat only. |
get_booking
One booking in full: stage (as in list_bookings), dates, guest, price lines, the operator's payout and `payout_schedule`, the payments coming to the operator with their due dates (empty until the booking is paid). Read-only.
| Parameter | Type | Description |
|---|---|---|
id * | string | Booking id, from list_bookings. |
get_earnings
The company's earnings: total and monthly payouts, payouts still pending on accepted bookings, and the latest bookings, in the currency the operator is paid in.
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |
get_opportunities
The company's Opportunities, as the dashboard's Analysis page shows them, read-only. `boats`: every published boat in the dashboard's order (the charted ones first, then by open weeks), with `open_weeks`, `vs_similar_pct` and `compare_url`, its public compare page. `vs_similar_pct` is how far the boat's weekly price sits over (positive) or under (negative) similar boats, as a median over the weeks it can be sold, each week against the median of the other operators' boats among up to 10 boats most like it of the same type in the same country, where at least 3 of them are priced (null: no week t…
| Parameter | Type | Description |
|---|---|---|
company_id * | string | Company id, from list_boats (`company_id`) or get_company. |