Get availability and prices
cup24_get_availabilityRetrieve real-time appointment slots and prices for private clinics on cup24.it by city, service, clinic, or doctor, with paginated results for booking.
Instructions
Real-time availability and prices on cup24.it, from private clinics. Pass one of:
service_ids + city: one service in a city; several combinable lab tests are booked together and priced as one visit
clinic_id (optionally with one service id): what that clinic can do soonest
doctor_id: that doctor's availability
Returns slots: one per clinic and day, with that day's free times, service, price in EUR (full_price_eur and price_note on promotions), clinic, rating, address, coordinates, distance in km from the city centre, doctor, slot_id for cup24_get_slot_times, and booking_url to book on the website. Results come in chronological pages: when slots is not empty, call again with page=next_page for later dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City or zone slug from cup24_search_cities, e.g. 'firenze' | |
| page | No | Page of results, 1 = first | |
| sort | No | 'date' = earliest first (default), 'price' = cheapest first, 'distance' = nearest first | date |
| when | No | Only slots: oggi (today), domani (tomorrow), settimana (this week), prossima-settimana (next week), prossimo-mese (next month) | |
| clinic_id | No | Clinic id from cup24_search (clinics) or from a slot's clinic_id | |
| doctor_id | No | Doctor id from cup24_search (doctors) | |
| service_ids | No | Service ids from cup24_search, e.g. ['57d1785cdb86a']; several only for combinable lab tests |