{
  "openapi": "3.0.1",
  "info": {
    "title": "Practo Doctor Fees, Location & Specialty Finder",
    "description": "Search Practo.com doctor listings by Indian city and medical specialty, and get physician name, clinic name and address, geo-coordinates, consultation fee and profile link for each doctor.",
    "version": "1.0",
    "x-build-id": "4bDJ8CnOlFB3W04L6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~practo-doctor-fees-location-and-specialty-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-practo-doctor-fees-location-and-specialty-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/vexaloom-labs~practo-doctor-fees-location-and-specialty-finder/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-practo-doctor-fees-location-and-specialty-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/vexaloom-labs~practo-doctor-fees-location-and-specialty-finder/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-practo-doctor-fees-location-and-specialty-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "city",
          "specialty"
        ],
        "properties": {
          "city": {
            "title": "City",
            "enum": [
              "mumbai",
              "delhi",
              "bangalore",
              "hyderabad",
              "chennai",
              "pune",
              "kolkata",
              "ahmedabad",
              "jaipur",
              "lucknow",
              "chandigarh",
              "surat",
              "nagpur",
              "indore",
              "bhopal",
              "coimbatore",
              "cochin",
              "visakhapatnam",
              "bhubaneswar",
              "guwahati",
              "vijayawada",
              "mysore",
              "thiruvananthapuram",
              "gurgaon",
              "noida",
              "ghaziabad",
              "faridabad",
              "dehradun",
              "patna",
              "ranchi",
              "raipur",
              "jodhpur",
              "udaipur",
              "agra",
              "varanasi",
              "kanpur",
              "ludhiana",
              "amritsar",
              "jalandhar",
              "vadodara",
              "rajkot",
              "gandhinagar",
              "nashik",
              "aurangabad",
              "solapur",
              "kolhapur",
              "thane",
              "navi-mumbai"
            ],
            "type": "string",
            "description": "Indian city whose Practo doctor directory you want to search.",
            "default": "mumbai"
          },
          "specialty": {
            "title": "Medical specialty",
            "enum": [
              "general-physician",
              "dentist",
              "dermatologist",
              "pediatrician",
              "cardiologist",
              "orthopedist",
              "gynecologist",
              "ophthalmologist",
              "ent",
              "neurologist",
              "psychiatrist",
              "urologist",
              "gastroenterologist",
              "endocrinologist",
              "pulmonologist",
              "nephrologist",
              "oncologist",
              "rheumatologist",
              "physiotherapist",
              "dietitian-nutritionist",
              "ayurveda",
              "homoeopath",
              "general-surgeon",
              "plastic-surgeon",
              "vascular-surgeon",
              "infertility-specialist",
              "sexologist",
              "sports-medicine-specialist",
              "proctologist",
              "trichologist",
              "implantologist",
              "anesthesiologist",
              "radiologist",
              "pathologist",
              "clinical-psychologist",
              "psychotherapist",
              "speech-therapist",
              "occupational-therapist",
              "bariatric-surgeon",
              "neurosurgeon",
              "cardiac-surgeon",
              "pediatric-surgeon",
              "orthodontist",
              "endodontist",
              "periodontist",
              "prosthodontist",
              "oral-surgeon",
              "dental-surgeon",
              "immunologist",
              "geriatrician",
              "pain-management-specialist",
              "family-physician",
              "diabetologist"
            ],
            "type": "string",
            "description": "Doctor specialty to search for in the chosen city.",
            "default": "general-physician"
          },
          "gender": {
            "title": "Doctor gender",
            "enum": [
              "any",
              "male",
              "female"
            ],
            "type": "string",
            "description": "Limit results to male or female doctors. Choose Any to keep all doctors.",
            "default": "any"
          },
          "minExperienceYears": {
            "title": "Minimum experience (years)",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Only include doctors with at least this many years of experience. Set 0 for no minimum.",
            "default": 0
          },
          "minConsultationFee": {
            "title": "Minimum consultation fee (INR)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include doctors whose lowest listed consultation fee is at least this amount in Indian rupees. Set 0 for no minimum.",
            "default": 0
          },
          "maxConsultationFee": {
            "title": "Maximum consultation fee (INR)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include doctors whose lowest listed consultation fee is at most this amount in Indian rupees. Set 0 for no maximum.",
            "default": 0
          },
          "minPatientStories": {
            "title": "Minimum patient stories",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include doctors with at least this many patient stories (reviews). Set 0 for no minimum.",
            "default": 0
          },
          "availability": {
            "title": "Availability",
            "enum": [
              "any",
              "next-4-hours",
              "today",
              "tomorrow",
              "next-7-days"
            ],
            "type": "string",
            "description": "Limit results to doctors with an appointment slot in the chosen window.",
            "default": "any"
          },
          "videoConsultOnly": {
            "title": "Video consultation only",
            "type": "boolean",
            "description": "Only include doctors who offer an online video consultation.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "patient-stories",
              "experience",
              "fee-low",
              "fee-high"
            ],
            "type": "string",
            "description": "Order in which doctor cards are collected and returned.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Maximum doctors",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of doctor records to return. Practo exposes up to 500 doctors per city and specialty search (50 pages of 10).",
            "default": 30
          },
          "includeSummary": {
            "title": "Include doctor summary",
            "type": "boolean",
            "description": "Add the doctor-written profile summary when Practo publishes one.",
            "default": false
          },
          "includeServices": {
            "title": "Include services",
            "type": "boolean",
            "description": "Add the treatments and services Practo lists for each doctor.",
            "default": false
          },
          "includeProfileDetails": {
            "title": "Include full profile details",
            "type": "boolean",
            "description": "Fetch each doctor's profile page for registration numbers, languages, awards, memberships and work history. Uses one extra request per doctor.",
            "default": false
          },
          "includePhone": {
            "title": "Include phone number",
            "type": "boolean",
            "description": "Add the clinic call-routing phone number Practo shows behind Contact Clinic, plus the extension when one exists. Uses one extra request per clinic.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}