{
  "openapi": "3.0.1",
  "info": {
    "title": "Psychologytoday Scraper Therapist Psychiatrist Lead - Unlimited",
    "description": "Scrape PsychologyToday by state (or all) for therapists, psychiatrists, groups, and treatment-rehab. Returns name, title, address, phone, image, profile URL, locations, insurance/qualifications, specialties, client focus and emails extracted from the therapist’s site.",
    "version": "0.0",
    "x-build-id": "8ywwkSuCins92HZV2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/voyn~psychologytoday-scraper-therapist-psychiatrist-lead-unlimited/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-voyn-psychologytoday-scraper-therapist-psychiatrist-lead-unlimited",
        "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/voyn~psychologytoday-scraper-therapist-psychiatrist-lead-unlimited/runs": {
      "post": {
        "operationId": "runs-sync-voyn-psychologytoday-scraper-therapist-psychiatrist-lead-unlimited",
        "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/voyn~psychologytoday-scraper-therapist-psychiatrist-lead-unlimited/run-sync": {
      "post": {
        "operationId": "run-sync-voyn-psychologytoday-scraper-therapist-psychiatrist-lead-unlimited",
        "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": [
          "category",
          "scrapeMode"
        ],
        "properties": {
          "category": {
            "title": "Category",
            "enum": [
              "therapists",
              "psychiatrists",
              "groups",
              "treatment-rehab"
            ],
            "type": "string",
            "description": "Choose which type of directory to scrape from PsychologyToday.",
            "default": "therapists"
          },
          "states": {
            "title": "US States",
            "uniqueItems": true,
            "type": "array",
            "description": "Pick states to scrape. Leave empty to scrape all 50 states.",
            "items": {
              "type": "string",
              "enum": [
                "alabama",
                "alaska",
                "arizona",
                "arkansas",
                "california",
                "colorado",
                "connecticut",
                "delaware",
                "district-of-columbia",
                "florida",
                "georgia",
                "hawaii",
                "idaho",
                "illinois",
                "indiana",
                "iowa",
                "kansas",
                "kentucky",
                "louisiana",
                "maine",
                "maryland",
                "massachusetts",
                "michigan",
                "minnesota",
                "mississippi",
                "missouri",
                "montana",
                "nebraska",
                "nevada",
                "new-hampshire",
                "new-jersey",
                "new-mexico",
                "new-york",
                "north-carolina",
                "north-dakota",
                "ohio",
                "oklahoma",
                "oregon",
                "pennsylvania",
                "rhode-island",
                "south-carolina",
                "south-dakota",
                "tennessee",
                "texas",
                "utah",
                "vermont",
                "virginia",
                "washington",
                "west-virginia",
                "wisconsin",
                "wyoming"
              ],
              "enumTitles": [
                "Alabama",
                "Alaska",
                "Arizona",
                "Arkansas",
                "California",
                "Colorado",
                "Connecticut",
                "Delaware",
                "District of Columbia",
                "Florida",
                "Georgia",
                "Hawaii",
                "Idaho",
                "Illinois",
                "Indiana",
                "Iowa",
                "Kansas",
                "Kentucky",
                "Louisiana",
                "Maine",
                "Maryland",
                "Massachusetts",
                "Michigan",
                "Minnesota",
                "Mississippi",
                "Missouri",
                "Montana",
                "Nebraska",
                "Nevada",
                "New Hampshire",
                "New Jersey",
                "New Mexico",
                "New York",
                "North Carolina",
                "North Dakota",
                "Ohio",
                "Oklahoma",
                "Oregon",
                "Pennsylvania",
                "Rhode Island",
                "South Carolina",
                "South Dakota",
                "Tennessee",
                "Texas",
                "Utah",
                "Vermont",
                "Virginia",
                "Washington",
                "West Virginia",
                "Wisconsin",
                "Wyoming"
              ]
            },
            "default": [
              "new-york"
            ]
          },
          "popularFilters": {
            "title": "Popular Filters",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional Psychology Today popular filters.",
            "items": {
              "type": "string",
              "enum": [
                "anxiety",
                "trauma-and-ptsd",
                "african-american",
                "adhd",
                "marriage-counseling",
                "depression",
                "couples-counseling",
                "adolescents-teenagers-14-to-19",
                "emdr",
                "children-6-to-10"
              ],
              "enumTitles": [
                "Anxiety",
                "Trauma and PTSD",
                "Black and African American",
                "ADHD",
                "Marriage Counseling",
                "Depression",
                "Couples Counseling",
                "Teens",
                "EMDR",
                "Children"
              ]
            },
            "default": []
          },
          "gender": {
            "title": "Show only therapists who are...",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional provider gender filters.",
            "items": {
              "type": "string",
              "enum": [
                "female",
                "male",
                "non-binary"
              ],
              "enumTitles": [
                "Female",
                "Male",
                "Non-Binary"
              ]
            },
            "default": []
          },
          "availability": {
            "title": "How would you like to see your therapists?",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional availability and session mode filters.",
            "items": {
              "type": "string",
              "enum": [
                "in-person",
                "online-counseling",
                "available"
              ],
              "enumTitles": [
                "In Person",
                "Online",
                "Available"
              ]
            },
            "default": []
          },
          "specialties": {
            "title": "Specialties",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional specialty filters.",
            "items": {
              "type": "string",
              "enum": [
                "addiction",
                "adhd",
                "adoption",
                "anger-management",
                "anxiety",
                "bipolar-disorder",
                "borderline-personality",
                "depression",
                "eating-disorders",
                "grief",
                "obsessive-compulsive-ocd",
                "relationship-issues",
                "self-esteem",
                "sex-therapy",
                "sexual-abuse"
              ],
              "enumTitles": [
                "Addiction",
                "ADHD",
                "Adoption",
                "Anger Management",
                "Anxiety",
                "Bipolar Disorder",
                "Borderline Personality (BPD)",
                "Depression",
                "Eating Disorders",
                "Grief",
                "Obsessive-Compulsive (OCD)",
                "Relationship Issues",
                "Self Esteem",
                "Sex Therapy",
                "Sexual Abuse"
              ]
            },
            "default": []
          },
          "insurance": {
            "title": "Insurance",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional insurance filters.",
            "items": {
              "type": "string",
              "enum": [
                "aetna",
                "optum",
                "blue-cross",
                "blue-shield",
                "medicare",
                "oxford"
              ],
              "enumTitles": [
                "Aetna",
                "Optum",
                "Blue Cross",
                "Blue Shield",
                "Medicare",
                "Oxford"
              ]
            },
            "default": []
          },
          "typesOfTherapy": {
            "title": "Types of Therapy",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional treatment approach filters.",
            "items": {
              "type": "string",
              "enum": [
                "acceptance-and-commitment-therapy-act",
                "adlerian",
                "aedp",
                "applied-behavioral-analysis",
                "cognitive-behavioral-cbt",
                "couples-counseling",
                "family-therapy",
                "play-therapy",
                "positive-psychology",
                "prolonged-exposure-therapy",
                "psychoanalytic",
                "psychodynamic",
                "somatic",
                "strength-based",
                "structural-family-therapy",
                "transpersonal",
                "trauma-focused"
              ],
              "enumTitles": [
                "Acceptance and Commitment (ACT)",
                "Adlerian",
                "AEDP",
                "Applied Behavioral Analysis (ABA)",
                "Cognitive Behavioral (CBT)",
                "Couples Counseling",
                "Family Therapy",
                "Play Therapy",
                "Positive Psychology",
                "Prolonged Exposure Therapy",
                "Psychoanalytic",
                "Psychodynamic",
                "Somatic",
                "Strength-Based",
                "Structural Family Therapy",
                "Transpersonal",
                "Trauma Focused"
              ]
            },
            "default": []
          },
          "scrapeMode": {
            "title": "Mode",
            "enum": [
              "LIST_ONLY",
              "LIST_AND_DETAILS"
            ],
            "type": "string",
            "description": "Choose whether to scrape only list/search pages or also visit individual detail pages.",
            "default": "LIST_ONLY"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of profiles to scrape across all states.",
            "default": 10
          },
          "maxPagesPerState": {
            "title": "Max pages per state",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of paginated list pages to process per state.",
            "default": 50
          },
          "minDelayMs": {
            "title": "Min delay between pages (ms)",
            "type": "integer",
            "description": "Minimum delay in milliseconds between requests, used for polite crawling.",
            "default": 150
          },
          "maxDelayMs": {
            "title": "Max delay between pages (ms)",
            "type": "integer",
            "description": "Maximum delay in milliseconds between requests, used for polite crawling.",
            "default": 300
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy configuration to use for the scraper. Recommended: Apify Proxy."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}