charter.boats

v1.0.1
boats.charter/charter-boats Checked 1 day ago Published 3 days ago

Search 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.

ParameterTypeDescription
citystring
countrystringCountry name or 2-letter code
currencystringOptional: 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…
fromstringOrigin 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.
limitinteger
monthintegerMonth to rank popularity for (default: current month)
qstringName search (min 2 chars). Optional when an area filter is given.
regionstringSailing 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…
sortstringDefault popularity = real vessel traffic for the month; boats = charter fleet size; rating = Google rating
typestringKind of place — e.g. anchorage for "quiet bays"; spot = an unclassified stop (beach, spit, headland)
within_nmintegerHow 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.

ParameterTypeDescription
categorystring
limitinteger
locationstringLocation name (fuzzy). Required unless q is provided.
location_idstring
qstringSearch POI by name

search_routes Find Sailing Routes

Find sailing passages between destinations with distance and difficulty.

ParameterTypeDescription
difficultystring
fromstringPlace 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…
limitinteger
location_idstring
qstringSearch route by title

search_trips Find Sailing Itineraries

Find existing curated sailing itineraries by location, name, duration, activities.

ParameterTypeDescription
activitiesstringComma-separated activities
boat_typestring
limitinteger
locationstringPlace 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_idstring
max_daysinteger
min_daysinteger
qstringSearch 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…

ParameterTypeDescription
fromstringThe 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…
limitinteger
locationstringPlace 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_idstringLocation 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.

ParameterTypeDescription
q *stringShort keyword query (2-4 words)
limitinteger
typestring

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…

ParameterTypeDescription
boat_typestringOptional: only skippers of a boat model or make of this type.
currencystringOptional: 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_fromstringOptional check-in date YYYY-MM-DD of the boat stay.
date_tostringOptional check-out date YYYY-MM-DD of the boat stay.
languagestringOptional: only skippers who speak this language.
licencesarrayOptional: only skippers holding every licence listed, each one checked by us and not expired.
limitinteger
locationstringPlace 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.
personalityarrayOptional: only skippers who describe themselves with every trait listed.
rulesarrayOptional: 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.

ParameterTypeDescription
id *stringBoat id from search_boats results (including named_matches) — copy it verbatim.
currencystringOptional: 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_fromstringOptional 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_tostringOptional check-out date YYYY-MM-DD — see date_from.
guestsnumberOptional: the party the stay is priced for; without it, the boat's capacity.
offerstringOptional: 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…

ParameterTypeDescription
id *stringBoat id from search_boats or get_boat_details — copy it verbatim.
compare_bystringWhich 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…
currencystringOptional: 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_pctnumberOptional, 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_fromstringOptional 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…
fallbackbooleanOptional, 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…

ParameterTypeDescription
berthsnumberBerths: without id the number to match, with id the minimum.
boat_typestringWithout id: the boat type (required with country).
cabinsnumberCabins: without id the number to match; with id the minimum guest cabins, crew cabins not counted (as search_boats).
citystringWithout id, optional: city or town, e.g. Split.
countrystringWithout id: ISO country code, e.g. HR (required with boat_type).
currencystringOptional: 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…
guestsnumberGuests: without id the number to match, with id the minimum.
idstringBoat id from search_boats or get_boat_details — copy it verbatim. Omit to describe a boat by its specs.
length_maxintegerMaximum length in feet.
length_minintegerMinimum length in feet.
lockarrayWith id: keep only peers the same as the boat in these fields — the fields a peer's `same` lists.
makemodelstringMake and/or model as the guest said it, e.g. "Lagoon 42", "Bali".
regionstringWithout id, optional: sailing region, e.g. Dalmatia.
toiletsnumberToilets: without id the number to match, with id the minimum.
year_maxintegerMaximum build year.
year_minintegerMinimum 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.

ParameterTypeDescription
id *stringPOI 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…

ParameterTypeDescription
id *stringLocation id from search_locations results — copy it verbatim.
currencystringOptional: 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.

ParameterTypeDescription
id *stringTrip 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.

ParameterTypeDescription
id *stringSkipper id from search_skippers results — copy it verbatim.
currencystringOptional: 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_fromstringOptional check-in date YYYY-MM-DD of the boat stay.
date_tostringOptional 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.

ParameterTypeDescription
company_idstringOptional: 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.

ParameterTypeDescription
id *stringBoat 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.

ParameterTypeDescription
id *stringBoat id, from list_boats.
berthsinteger
boat_typestring
cabinsinteger
capacityintegerMaximum guests.
charter_dayintegerChangeover weekday, 0 Sunday to 6 Saturday.
check_in_periodsarrayCheck-in rules by date range, in the shape get_boat returns them.
checkin_timestringHH:MM
checkout_timestringHH:MM
deposit_with_waivernumberEUR: the deposit when the guest takes the damage waiver.
descriptionstring
featuresarrayThe owner-entered equipment slugs, the whole list: it replaces the previous one.
instant_bookboolean
length_ftnumberOn a partner-synced boat this pins the length against the sync.
length_unpinbooleantrue restores the governed length of a pinned boat.
location_idintegerHome marina id.
manufacturer_idstring
min_charter_daysinteger
modelstring
rental_typestring
security_depositnumberEUR.
skipperinteger1 when a skipper is required.
titlestring
toiletsinteger
yearinteger

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.

ParameterTypeDescription
hidden *boolean
id *stringBoat id, from list_boats.
name *stringThe 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.

ParameterTypeDescription
id *stringBoat id, from list_boats.
disable_idstringPhoto id to hide.
enable_idstringPhoto id to show again.
image_idsarrayEvery 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.

ParameterTypeDescription
id *stringBoat 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.

ParameterTypeDescription
company_id *stringCompany 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.

ParameterTypeDescription
company_id *stringCompany id, from list_boats (`company_id`) or get_company.
aboutstring
address_line1string
address_line2string
bank_namestringOwner only.
bic_swiftstringOwner only.
citystring
country_codestring
cover_image_urlstring
descriptionstring
emailstringOwner only: where bookings and guest messages are sent.
ibanstringOwner only: the EUR payout account.
invoice_emailstringOwner only.
legal_namestringOwner only.
logo_urlstring
namestring
phonestring
postal_codestring
registration_numberstringOwner only.
slugstringThe address of the company page.
statestring
tax_idstringOwner only.
usd_account_numberstringOwner only: the USD payout account.
usd_bank_namestringOwner only.
usd_bic_swiftstringOwner only.
vat_numberstringOwner only.
vat_registeredbooleanOwner only.
website_urlstring

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.

ParameterTypeDescription
id *stringCompany 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.

ParameterTypeDescription
cancel_refund_days *integerDays before the charter the guest must cancel by, 1 to 90.
cancel_refund_percent *integerShare of the charter price refunded, 0 to 100.
company_id *stringCompany 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.

ParameterTypeDescription
company_id *stringCompany id, from list_boats (`company_id`) or get_company.
enabled *boolean
sync_existingboolean

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.

ParameterTypeDescription
company_id *stringCompany 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.

ParameterTypeDescription
company_id *stringCompany id, from list_boats (`company_id`) or get_company.
discount_type *string`percentage` or `fixed`.
discount_value *numberThe percent, or for fixed the amount in `currency` (EUR when omitted).
all_boatsbooleanfalse limits it to `boat_ids`.
auto_applybooleantrue applies it without a code.
boat_idsarray
codestringThe code guests type; required unless trigger is pay_in_full.
currencystringEUR or USD: the currency a fixed amount is in.
descriptionstringShown to the guest.
end_datestringLast day it can be booked, YYYY-MM-DD.
max_usesinteger
start_datestringFirst day it can be booked, YYYY-MM-DD.
stay_fromstringEarliest check-in it covers, YYYY-MM-DD.
stay_tostringLatest check-in it covers, YYYY-MM-DD.
triggerstring`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.

ParameterTypeDescription
id *stringDiscount id, from list_discounts.
all_boatsbooleanfalse limits it to `boat_ids`.
auto_applybooleantrue applies it without a code.
boat_idsarray
codestring
currencystringEUR or USD: the currency a fixed amount is in.
descriptionstringShown to the guest.
discount_typestring`percentage` or `fixed`.
discount_valuenumberThe percent, or for fixed the amount in `currency` (EUR when omitted).
end_datestringLast day it can be booked, YYYY-MM-DD.
is_activeboolean
max_usesinteger
start_datestringFirst day it can be booked, YYYY-MM-DD.
stay_fromstringEarliest check-in it covers, YYYY-MM-DD.
stay_tostringLatest check-in it covers, YYYY-MM-DD.

delete_discount

End a discount: guests can no longer use it; bookings already made keep it.

ParameterTypeDescription
id *stringDiscount 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.

ParameterTypeDescription
company_idstringOptional: one company only.

add_price

Add a season price to a boat the operator prices directly (pricing source direct). Returns the stored row.

ParameterTypeDescription
end_day *integer
end_month *integer
id *stringBoat id, from list_boats.
name *stringSeason name.
price_per_day *numberEUR per day for the boat.
start_day *integer
start_month *integer
priorityintegerThe 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.

ParameterTypeDescription
id *stringBoat id, from list_boats.
price_id *stringRow id, from get_pricing.
end_dayinteger
end_monthinteger
namestringSeason name.
price_per_daynumberEUR per day for the boat.
priorityintegerThe higher one wins where two seasons overlap.
start_dayinteger
start_monthinteger

delete_price

Delete a direct season price; the dates it covered have no price until another row covers them.

ParameterTypeDescription
id *stringBoat id, from list_boats.
price_id *stringRow 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.

ParameterTypeDescription
id *stringBoat 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.

ParameterTypeDescription
amount *numberEUR, or a percent when amount_is_percentage.
description *stringThe fee as guests read it.
id *stringBoat id, from list_boats.
period *stringHow it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones.
amount_is_percentageboolean
calculation_typestringHow it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`.
categorystring
on_requestboolean
percentage_basestringWhat the percentage is taken on; empty is the charter price.
requiredbooleantrue when every guest pays it.
valid_fromstringYYYY-MM-DD
valid_tostringYYYY-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.

ParameterTypeDescription
fee_id *stringRow id, from list_boat_fees.
id *stringBoat id, from list_boats.
amountnumberEUR, or a percent when amount_is_percentage.
amount_is_percentageboolean
calculation_typestringHow it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`.
categorystring
descriptionstringThe fee as guests read it.
on_requestboolean
percentage_basestringWhat the percentage is taken on; empty is the charter price.
periodstringHow it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones.
requiredbooleantrue when every guest pays it.
valid_fromstringYYYY-MM-DD
valid_tostringYYYY-MM-DD

delete_fee

Delete a direct fee row.

ParameterTypeDescription
fee_id *stringRow id, from list_boat_fees.
id *stringBoat 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.

ParameterTypeDescription
boat_id *stringBoat 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.

ParameterTypeDescription
boat_id *stringBoat id, from list_boats.
source_name *stringA name for it.
source_url *stringThe https iCal address.
source_typestringDefault `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.

ParameterTypeDescription
id *stringSource id, from list_calendars.

sync_calendar

Pull one external calendar now. Returns how many events it brought in, or the error the feed gave.

ParameterTypeDescription
id *stringSource 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.

ParameterTypeDescription
company_id *stringCompany 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.

ParameterTypeDescription
boat_id *stringBoat id, from list_boats.
end_at *stringLast day, YYYY-MM-DD.
start_at *stringFirst day, YYYY-MM-DD.
notesstring
reasonstring

remove_block

Remove a block the operator placed, freeing its dates and releasing the partner holds it placed.

ParameterTypeDescription
id *stringBlock 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.

ParameterTypeDescription
boat_idstringOptional: 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.

ParameterTypeDescription
id *stringBooking 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.

ParameterTypeDescription
company_id *stringCompany 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…

ParameterTypeDescription
company_id *stringCompany id, from list_boats (`company_id`) or get_company.