{"openapi":"3.0.3","info":{"title":"Practo doctor and practice directory API (ReefAPI)","version":"0.2.0","description":"Practo doctor and practice directory Call POST /practo/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/practo-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"Practo doctor and practice directory API documentation","url":"https://reefapi.com/docs/practo"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"practo","description":"Practo doctor and practice directory"}],"paths":{"/practo/v1/search":{"post":{"operationId":"practo_search","summary":"Doctors by city, specialty and locality, with fees, credentials, practices, ratings and source filters.","description":"Doctors by city, specialty and locality, with fees, credentials, practices, ratings and source filters.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","example":"bangalore","description":"Published city slug."},"specialty":{"type":"string","example":"dentist","description":"Doctor specialty slug used by Practo."},"locality":{"type":"string","example":"whitefield","description":"Published locality slug. Practo can include nearby practices."},"page":{"type":"integer","example":1,"description":"One-based source page."},"sort":{"type":"string","enum":["doctor_review_count","experience_years","consultation_fees_desc","consultation_fees"],"example":"experience_years","description":"Practo's doctor listing order."},"gender":{"type":"string","enum":["male","female"],"example":"female","description":"Gender option selected on the directory."},"min_stories":{"type":"string","enum":["10","80","350"],"example":"350","description":"Source patient-story threshold."},"min_experience":{"type":"string","enum":["5","10","15","20"],"example":"20","description":"Source minimum experience in years."},"fee_band":{"type":"string","enum":["up_to_500","from_500","from_1000","from_2000"],"example":"from_1000","description":"Consultation fee filter in the directory's currency."},"availability":{"type":"string","enum":["next_4_hours","today","tomorrow","next_7_days"],"example":"today","description":"Appointment availability window."},"video_consult":{"type":"string","enum":["true"],"example":"true","description":"Require scheduled video consultations."},"group_id":{"type":"string","example":"242","description":"Practice group ID in the current directory's filters."},"min_rating":{"type":"integer","example":95,"description":"Filter the current source page by minimum recommendation percentage."}},"required":["city","specialty"]},"example":{"city":"pune","specialty":"cardiologist"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/clinics":{"post":{"operationId":"practo_clinics","summary":"A page of clinics, including business contact details, fees, timings and listed doctors.","description":"A page of clinics, including business contact details, fees, timings and listed doctors.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","example":"bangalore","description":"Published city slug."},"category":{"type":"string","example":"dental-clinics","description":"Facility category slug from the city directory."},"locality":{"type":"string","example":"whitefield","description":"Published locality slug. Practo can include nearby practices."},"page":{"type":"integer","example":1,"description":"One-based source page."}},"required":["city"]},"example":{"city":"bangalore"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/hospitals":{"post":{"operationId":"practo_hospitals","summary":"A page of hospitals, including facilities, listed doctors, timings and fee ranges.","description":"A page of hospitals, including facilities, listed doctors, timings and fee ranges.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"city":{"type":"string","example":"bangalore","description":"Published city slug."},"category":{"type":"string","example":"dental-surgery-hospitals","description":"Facility category slug from the city directory."},"locality":{"type":"string","example":"whitefield","description":"Published locality slug. Practo can include nearby practices."},"page":{"type":"integer","example":1,"description":"One-based source page."}},"required":["city"]},"example":{"city":"bangalore"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/doctor":{"post":{"operationId":"practo_doctor","summary":"Professional profile, qualifications, registrations, services and practice-specific fees and hours.","description":"Professional profile, qualifications, registrations, services and practice-specific fees and hours.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","example":"/bangalore/doctor/dr-mallayya-pujari-dentist","description":"Practo profile URL or path returned by a directory."}},"required":["url"]},"example":{"url":"/https/api.reefapi.com/bangalore/doctor/dr-mallayya-pujari-dentist"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/clinic":{"post":{"operationId":"practo_clinic","summary":"Clinic or hospital profile, address, specialties, facilities, doctors, charges and opening hours.","description":"Clinic or hospital profile, address, specialties, facilities, doctors, charges and opening hours.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","example":"/bangalore/clinic/32-smiles-multispecialty-dental-clinic-marathahalli","description":"Practo profile URL or path returned by a directory."}},"required":["url"]},"example":{"url":"/https/api.reefapi.com/bangalore/clinic/32-smiles-multispecialty-dental-clinic-marathahalli"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/procedures":{"post":{"operationId":"practo_procedures","summary":"One page of the doctor's surgeries and treatments, including published price ranges.","description":"One page of the doctor's surgeries and treatments, including published price ranges.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","example":"dr-mallayya-pujari-dentist","description":"Doctor slug returned by the public profile."},"page":{"type":"integer","example":1,"description":"One-based source page."},"query":{"type":"string","example":"implant","description":"Treatment name entered in the procedures tab."},"profile_kind":{"type":"string","enum":["doctor","establishment"],"example":"doctor","description":"Choose doctor or establishment for a profile tab."},"specialty_id":{"type":"string","example":"000000000000000000138315","description":"An establishment treatment specialty ID, including any leading zeroes."}},"required":["slug"]},"example":{"slug":"dr-mallayya-pujari-dentist","page":2}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/stories":{"post":{"operationId":"practo_stories","summary":"One page of public patient stories, with recommendation, practice, treatment context and published reply.","description":"One page of public patient stories, with recommendation, practice, treatment context and published reply.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","example":"dr-mallayya-pujari-dentist","description":"Doctor slug returned by the public profile."},"page":{"type":"integer","example":1,"description":"One-based source page."},"order":{"type":"string","enum":["recent","recommended"],"example":"recent","description":"Recent written stories or the site's recommended order."},"context_id":{"type":"integer","example":279,"description":"Filter identifier published in the profile's story_filters."},"context_type":{"type":"string","example":"PROCEDURE","description":"Filter type paired with context_id in story_filters."},"reco_count":{"type":"integer","example":0,"description":"Use next_reco_count for the next page in recommended order."},"profile_kind":{"type":"string","enum":["doctor","establishment"],"example":"doctor","description":"Choose doctor or establishment for a profile tab."}},"required":["slug"]},"example":{"slug":"dr-mallayya-pujari-dentist","page":2}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/practo/v1/media":{"post":{"operationId":"practo_media","summary":"Public photos and videos from a doctor or establishment, with the gallery's categories and pagination.","description":"Public photos and videos from a doctor or establishment, with the gallery's categories and pagination.","tags":["practo"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","example":"dr-mallayya-pujari-dentist","description":"Doctor slug returned by the public profile."},"page":{"type":"integer","example":1,"description":"One-based source page."},"profile_kind":{"type":"string","enum":["doctor","establishment"],"example":"doctor","description":"Choose doctor or establishment for a profile tab."},"media_category":{"type":"string","enum":["ALL","SERVICES","TESTIMONIALS","ROOMS","AMENITIES","INFRASTRUCTURE","OTHER"],"example":"ALL","description":"Choose a category from the profile's media filters."},"service_id":{"type":"string","example":"00000000140000000000d990","description":"Service ID published on a treatment card. Preserve leading zeroes."}},"required":["slug"]},"example":{"slug":"dr-mallayya-pujari-dentist"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}