booksy-cli
Command reference

earliest

Earliest open slots for one treatment across nearby businesses

booksy earliest

Earliest open slots for one treatment across nearby businesses

booksy earliest [treatment text...] [flags]

Find the earliest open slots for one kind of service across many businesses.

Matching goes by Booksy's catalogue treatment, not by service names, which each business picks itself: give --treatment ID (see booksy treatment search) or text, which is resolved to the best treatment match. Businesses come from the same search as booksy search (--near, --geo, else the profile location), nearest first. Results are sorted by start time and carry the business and variant ids to pass to booksy book.

Cancellation fees and prepayments only show at booking time: run booksy book ... --dry-run on the pick before booking.

booksy earliest barba --near Valencia --when "mon-fri 16:00-close" --when sat
booksy earliest --treatment 71 --geo 39.47,-0.38 --days 21 --limit 5 --format pretty
booksy earliest "corte caballero" --near Madrid --when "weekdays 18:00-" --per-business 3
FlagTypeDefaultDescription
--anywhereboolfalseignore the profile's saved location and search the whole country
--beforestring-only slots starting before this date or date and time
--betweenstring-only start times in HH:MM-HH:MM, e.g. 17:00-20:00
--businessesint15how many nearby businesses to check
--daysint14how many days to look ahead (booksy caps this, usually at a month)
--fromstring-first day to look at, YYYY-MM-DD (default today)
--geostring-search around LAT,LNG
--limitint10at most this many slots in total (0 for all)
--nearstring-search around a place: "Valencia", "Calle Mayor 1, Madrid"
--per-businessint1at most this many slots from each business
--treatmentint0catalogue treatment id (see booksy treatment search)
--weekdaysstring-only these days: mon,tue,... or 1-5 (1 is Monday)
--whenstringArray[]per-day schedule, repeatable: "mon-fri 16:00-close", "sat", "2026-12-24 10:00-12:00", "2026-12-31 off"

On this page