search_classes_near
Find bookable fitness classes near a location across multiple studios, filtered by date, category, teacher, and availability. Results list soonest options first for booking.
Instructions
Find bookable classes NEAR a location, across studios, with filters.
Needs login (.env). Note: only a minority of studios expose structured classes (Netpulse-native, e.g. Fitness First); most small studios use external booking and are not included. Online classes are included by default. The first call near a new area is slower (it probes studios); later calls are fast (native studios are cached).
Args:
location: City/place. Default Munich. Ignored if latitude+longitude set.
latitude, longitude: Exact search point.
radius_km: Only studios within this distance. Default 5 km.
date_from, date_to: ISO date/datetime window. Default: now .. now+7d.
category: Keep classes whose activity matches (e.g. "yoga", "cardio").
teacher: Keep classes by this instructor (substring, case-insensitive).
available_only: Keep only classes with a free spot.
include_online: Also include the online class catalogue. Default true.
include_studios_without_times: Also list nearby studios that offer
classes but expose no in-app schedule (external booking). They come
back under studios_without_times, not as timed classes. Default
false (hide them).
limit: Max classes to return (1-100). Default 40. Soonest first.
Returns: Classes (soonest first), each with studio, distance_km, club_uuid, and a class id — pass club_uuid + id to book_class.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| date_to | No | ||
| teacher | No | ||
| category | No | ||
| latitude | No | ||
| location | No | Munich | |
| date_from | No | ||
| longitude | No | ||
| radius_km | No | ||
| available_only | No | ||
| include_online | No | ||
| include_studios_without_times | No |