Doctoreto
v0.5.2Unofficial read-only Doctoreto: Iranian doctors, visit fees, free appointment times, clinics, labs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dt_suggest Suggest doctors, specialities and centers
Search-box suggestions: doctors (hash id), speciality slugs, service tags and centers for a free phrase. Doctors match by name; for a speciality use its slug. Next: dt_search_doctors, dt_doctor, dt_center.
| Parameter | Type | Description |
|---|---|---|
query * | string | Persian doctor name, speciality or symptom, e.g. 'قلب'. |
city_id | integer | null | City id from dt_cities to rank first, e.g. 2200. |
limit | integer | Max items of each kind. |
dt_search_doctors Search doctors
Search doctors by city, speciality, neighborhood, service tag, name, gender, insurance and visit type. Cards have the hash `id` for dt_doctor; online prices only in dt_doctor. Next: dt_doctor -> dt_free_slots.
| Parameter | Type | Description |
|---|---|---|
city | string | null | City slug from dt_cities, e.g. 'tehran'. Omit for the whole country. |
gender | string | null | Only male or only female doctors. |
has_free_slot | boolean | Only doctors with a free appointment slot. |
insurance_ids | array | null | Ids from dt_insurances (any), e.g. [1]. |
limit | integer | Doctors per page. |
name | string | null | Persian name (part is enough), e.g. 'پرآذران'. |
near_lat | number | null | Latitude of a point in Iran, e.g. 35.7575. |
near_lon | number | null | Longitude of a point in Iran, e.g. 51.4100. |
neighborhood | string | null | Slug from dt_neighborhoods (needs city), e.g. 'pasdaran'. |
page | integer | 1-based page number. |
service_tag | string | null | Tag slug from dt_suggest, e.g. 'echocardiography'. |
sort | string | default = site ranking (sponsored first). |
speciality | string | null | Slug from dt_specialities, e.g. 'cardiologist'. |
visit_type | string | null | instant = on-call phone/text now. |
dt_specialities Specialities
List specialities with the slug dt_search_doctors needs; `total` counts all matches. `parent` is the broader speciality. Prefer `query`. Next: dt_search_doctors(speciality=slug).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max entries. |
query | string | null | Part of name or slug, e.g. 'قلب'. |
dt_cities Cities
Find a city's slug (for search filters) and numeric id (for dt_suggest); main cities first. With `speciality` only main cities are listed. Next: dt_search_doctors(city=slug), dt_neighborhoods.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max cities. |
query | string | null | Part of Persian name or slug, e.g. 'شیراز'. |
speciality | string | null | Only cities with doctors of this speciality (with counts), e.g. 'cardiologist'. |
dt_neighborhoods Neighborhoods
Neighborhoods of a city (most doctors first) and nearby cities, each with a doctor count. Next: dt_search_doctors(city, neighborhood=slug).
| Parameter | Type | Description |
|---|---|---|
city * | string | City slug from dt_cities, e.g. 'tehran'. |
limit | integer | Max neighborhoods. |
query | string | null | Part of Persian name or slug, e.g. 'پاسداران'. |
speciality | string | null | Count only this speciality, e.g. 'cardiologist'. |
dt_insurances Insurances
List basic and supplementary insurers with the ids dt_search_doctors(insurance_ids=...) takes. `total` counts all matches. Few doctors list insurances, so the filter narrows a lot.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max insurers. |
query | string | null | Part of Persian name, e.g. 'تامین'. |
dt_doctor Doctor profile
A doctor's profile with every bookable service, its price in Toman and its next free time. `services[]` lists each office and online visit with `consultation_id` (for dt_free_slots), `fee`, `pay_online_now`, address and `next_free`. Also review summary, about text and treated conditions. Next: dt_free_slots, dt_reviews.
| Parameter | Type | Description |
|---|---|---|
doctor * | string | Doctor hash id ('xqbEWZ') or page URL. |
full_text | boolean | Return full texts, not cut. |
dt_free_slots Free appointment slots
Free appointment times of one service (office visit, phone/video call, clinic offer, lab admission). Returns only days with free times (HH:MM, Tehran local). `bookable_until` is the last day opened. Text consultations usually have no slots.
| Parameter | Type | Description |
|---|---|---|
consultation_id * | integer | Id from dt_doctor services[], dt_center bookable[] or dt_offer variants[]. |
days | integer | Days to check. |
start_date | string | null | Gregorian YYYY-MM-DD; default today (Tehran). |
dt_reviews Reviews
Patient reviews (doctors and centers newest first, offers oldest first): stars 1-5, text, date and reply. No sort or filter upstream: page through to find low ratings. The summary is in dt_doctor.
| Parameter | Type | Description |
|---|---|---|
id * | string | Hash id or page URL, e.g. 'xqbEWZ'. |
of * | string | Whose reviews. |
full_text | boolean | Return full texts, not cut. |
limit | integer | Reviews per page. |
page | integer | 1-based page number. |
dt_search_centers Search centers
Find hospitals, clinics, infirmaries, laboratories, imaging centers and pharmacies with filters. Cards have the hash `id` for dt_center. With near_lat/near_lon: a square around the point sorted by distance (dense areas return part of the centers, the rest counted in `more_in_area`). Otherwise `limit` cuts the upstream page (`on_page`). Next: dt_center, dt_reviews(of='center').
| Parameter | Type | Description |
|---|---|---|
city | string | null | City slug from dt_cities, e.g. 'tehran'. |
limit | integer | Centers per page. |
name | string | null | Part of Persian name, e.g. 'قلب'. |
near_lat | number | null | Latitude of a point in Iran, e.g. 35.7575. |
near_lon | number | null | Longitude of a point in Iran, e.g. 51.4100. |
neighborhood | string | null | Slug from dt_neighborhoods (needs city), e.g. 'pasdaran'. |
online_lab_admission | boolean | Only labs with online admission. |
open_24h | boolean | Only centers open 24 hours. |
ownership | string | null | State (public) or private. |
page | integer | 1-based page number. |
radius_km | number | With near_*: half-width of the square, km. |
service_tag | string | null | Tag slug from dt_suggest, e.g. 'mri'. |
speciality | string | null | Department slug from dt_specialities, e.g. 'ophthalmologist'. |
type | string | null | Kind of center, e.g. 'laboratory'. |
dt_center Center details
A center's page: address, departments, services, insurances, hours, lab rules, bookable services with `consultation_id` (for dt_free_slots) and its doctors (hash ids, earliest free slot). Doctor private offices have no center page: use dt_doctor. Next: dt_free_slots, dt_doctor.
| Parameter | Type | Description |
|---|---|---|
center * | string | Center hash id ('YNrrOb') or page URL. |
doctors | integer | Doctors to list (0 = none). |
full_text | boolean | Return full texts, not cut. |
dt_health_articles Health articles
Search Doctoreto's health magazine for background on a condition, test or treatment. Returns title, link, date and summary; set text_chars to read the articles. Not medical advice.
| Parameter | Type | Description |
|---|---|---|
query * | string | Persian disease, test or treatment, e.g. 'فشار خون'. |
limit | integer | Max articles. |
text_chars | integer | Article text characters each; 0 = summary only. |
dt_search_offers Search clinic offers
Search clinic offers: fixed-price procedures and packages (ultrasound, laser, dental, check-ups). Cards give price and discounted price (Toman), `pay_online` (deposit if `payment` is deposit_online) and `consultation_id` for dt_free_slots. No sort. `limit` cuts the upstream page (`on_page`). Next: dt_offer, dt_free_slots.
| Parameter | Type | Description |
|---|---|---|
center | string | null | Center hash id, e.g. 'ZWpOLy'. |
city | string | null | City slug from dt_cities, e.g. 'tehran'. |
doctor | string | null | Doctor hash id ('xqbEWZ') or page URL. |
limit | integer | Offers to return from the page. |
max_price | integer | null | Max price, Toman. |
min_price | integer | null | Min price, Toman. |
neighborhood | string | null | Slug, needs city, e.g. 'pasdaran'. |
page | integer | 1-based page number. |
query | string | null | Persian service, e.g. 'سونوگرافی'. |
service_tag | string | null | Tag slug, e.g. 'rhinoplasty'. |
speciality | string | null | Slug, e.g. 'cardiologist'. |
dt_offer Clinic offer details
One clinic offer in full: price, deposit, doctor, place, terms and bookable variants with `consultation_id`.
| Parameter | Type | Description |
|---|---|---|
offer * | string | Offer hash id ('ArraJa'), numeric id ('129311') or page URL. |
full_text | boolean | Return full texts, not cut. |