List Doctolib appointments
Automatically list Doctolib appointments on doctolib.fr. List the appointments of the signed-in Doctolib account, upcoming or past, as the account's appointments page shows them. Each appointment has its id (the one Cancel Doctolib appointment takes), start and end date, practitioner, speciality, profile path, visit motive, patient, and whether it is confirmed, canceled, past or a no-show. Past appointments come 10 at a time, newest first: pass next_cursor back as cursor for the next ones, until it comes back null. Doctolib removes old appointments from the history after some years. No appointment returns an empty list.
Input
past optionalfalse: upcoming appointments. true: past appointments, newest first.
Default: falsecursor optionalnext_cursor of the previous call with the same past value, to read the next page.
Output
next_cursor requiredPass as cursor for the next page; null on the last page.
appointments requiredFAQ
Search Doctolib practitioners
Search Doctolib practitioners by specialty and location. Returns total, page, and providers with full_name, specialty, address, sector, payment_means, languages, telehealth, online_booking, matched_visit_motive, and profile_path. There are 20 providers per page and the order is server-ranked; profile_path (including ?pid=practice-N) is the join key for get_practitioner and list_slots.
List Doctolib slots
List a Doctolib practitioner's bookable appointment slots for one visit motive over a window of up to 15 days (Doctolib's limit); for a longer span, call again with a later start_date. Returns name, motive, bookable, availabilities (slots by day), total, next_slot (the next slot after an empty window), visit_motives, and booking_url. A motive name that matches several motives, an unknown motive id or an unknown profile fails with a message saying what to pass; pass motive_id to target one motive exactly. booking_url only opens the booking funnel; there is no per-slot link.
Get current Doctolib user
Report which Doctolib patient account this browser is signed in as: the account holder's name and email. When the browser is signed out, the run fails with a signed-out error that says to sign in to Doctolib. Same answer as Doctolib whoami.
