# Psychology Today Scraper (`piotrv1001/psychology-today-scraper`) Actor

The Psychology Today Scraper extracts therapist, psychiatrist, and support group listings from PsychologyToday.com, capturing names, credentials, phone numbers, fees, accepted insurance, license details, specialties, and office locations — ideal for healthcare lead generation and market research.

- **URL**: https://apify.com/piotrv1001/psychology-today-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listing results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### 🚀 Psychology Today Scraper

Easily extract therapist, psychiatrist, and support group data from [Psychology Today](https://www.psychologytoday.com) — the largest mental health professional directory in the world. The **Psychology Today Scraper** turns directory pages into structured JSON records with names, phone numbers, locations, fees, accepted insurance, license details, specialties, and more.

Run it on the Apify platform to get API access, scheduling, integrations (Google Sheets, webhooks, Zapier, Make), automatic data exports, and run monitoring out of the box.

### ✨ Features

- 🧑‍⚕️ **Comprehensive provider data**: names, credentials, phone numbers, photos, office locations with geo coordinates, fees, accepted insurance, payment methods, license numbers, education, specialties, types of therapy, languages, and client focus.
- 🌎 **Every directory, every region**: works with therapist, psychiatrist, and support group listings across city, state, and zip-code pages — including international directories (US, CA, GB, and more).
- 💰 **Two cost modes**: fast listing mode (20 records per page — name, phone, location, profile URL) or full profile mode with every detail. You choose how much data you pay for.
- 🎯 **Flexible targeting**: paste any directory page (city, state, zip) or direct profile URLs.
- ⚡ **Fast & efficient**: lightweight scraping with no browser overhead — thousands of records in minutes.

### 🛠️ How It Works

1. **Enter start URLs** – Provide one or more Psychology Today directory URLs, e.g. `https://www.psychologytoday.com/us/therapists/ny/new-york` (city page), `https://www.psychologytoday.com/us/therapists/10001` (zip code), or direct profile URLs.
2. **Choose your mode** – Keep **Scrape full profile details** off for fast, cheap contact lists, or turn it on for complete profiles with fees, insurance, and license data.
3. **Set Max items** – Cap how many records you want (default 50).
4. **Run the scraper** – Download results as JSON, CSV, Excel, or HTML, or fetch them via API.

### 📥 Input

```json
{
    "startUrls": [{ "url": "https://www.psychologytoday.com/us/therapists/ny/new-york" }],
    "maxItems": 50,
    "scrapeProfileDetails": false
}
````

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Directory listing pages (city/state/zip) or direct profile URLs |
| `maxItems` | integer | Maximum number of records to scrape (default `50`) |
| `scrapeProfileDetails` | boolean | Visit each profile page for full details (default `false`) |
| `proxyConfiguration` | object | Proxy settings (default: Apify proxy) |

### 📊 Sample Output Data

**Listing mode** (`scrapeProfileDetails: false`) — 20 records per directory page:

```json
{
    "url": "https://www.psychologytoday.com/us/therapists/maxine-gann-new-york-ny/103209",
    "name": "Maxine Gann",
    "phone": "(646) 941-8044",
    "entityType": "Person",
    "location": {
        "city": "New York",
        "state": "New York",
        "zip": "10128",
        "country": "US",
        "latitude": 40.785247,
        "longitude": -73.953503
    },
    "listingUrl": "https://www.psychologytoday.com/us/therapists/ny/new-york"
}
```

**Full profile mode** (`scrapeProfileDetails: true`):

```json
{
    "url": "https://www.psychologytoday.com/us/therapists/maxine-gann-new-york-ny/103209",
    "name": "Maxine Gann",
    "jobTitle": "Psychologist",
    "credentials": "PhD",
    "phone": "(646) 941-8044",
    "photo": "https://photos.psychologytoday.com/3dd435b4-46cd-11ea-a6ad-06142c356176/3/320x400.jpeg",
    "description": "I am a psychotherapist and psychoanalyst in private practice for nearly 30 years...",
    "specialties": ["Adoption", "Anxiety", "Coping Skills", "Depression", "Divorce", "Grief", "Parenting", "Relationship Issues", "Self Esteem"],
    "topSpecialties": ["Anxiety", "Depression", "Relationship Issues"],
    "typesOfTherapy": ["Emotionally Focused", "Psychoanalytic", "Psychodynamic"],
    "clientFocus": { "Age": ["Adults", "Elders (65+)"], "Participants": ["Individuals"] },
    "fees": ["Individual Sessions $300"],
    "slidingScale": false,
    "paymentMethods": ["Check", "Zelle"],
    "insurance": ["Out of Network"],
    "education": ["University of California, Berkeley"],
    "license": { "number": "007966", "issuedBy": "New York", "expires": "2027-01-01" },
    "locations": [
        {
            "street": "1199 Park Avenue",
            "city": "New York",
            "state": "New York",
            "zip": "10128",
            "country": "US",
            "latitude": 40.785247,
            "longitude": -73.953503
        }
    ]
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### 📋 Data Fields

| Field | Listing mode | Profile mode | Description |
|---|---|---|---|
| `name`, `url`, `phone` | ✅ | ✅ | Provider name, profile URL, phone number |
| `location` / `locations` | ✅ | ✅ | City, state, zip, country, geo coordinates (+ street address in profile mode) |
| `jobTitle`, `credentials` | — | ✅ | e.g. Psychologist, LCSW, PhD |
| `fees`, `slidingScale` | — | ✅ | Session fees and sliding-scale flag |
| `insurance`, `paymentMethods` | — | ✅ | Accepted insurance plans and payment options |
| `license` | — | ✅ | License number, issuing state, expiry date |
| `specialties`, `topSpecialties` | — | ✅ | Areas of expertise |
| `typesOfTherapy`, `clientFocus` | — | ✅ | Treatment approaches and client demographics |
| `education`, `languages`, `photo`, `description` | — | ✅ | Background and profile content |

### 💰 How much does it cost to scrape Psychology Today?

This Actor uses pay-per-event pricing — you only pay for the records you actually get, with **no charge just for starting a run**:

| Event | Price | What you get |
|---|---|---|
| Listing result | **$0.001** | Name, phone, location, geo, profile URL |
| Full profile detail | **$0.005** | Everything: fees, insurance, license, specialties, education… |

Examples: a contact list of 1,000 therapists costs **$1**. Full profiles for the same 1,000 therapists cost **$5**. Apify's free plan includes $5 of platform credit — enough to try the scraper at real volume.

### 💡 Tips & Advanced Usage

- **Start with listing mode** to map out a region cheaply, then re-run with `scrapeProfileDetails: true` on the areas you care about.
- **Use zip-code URLs** (e.g. `/us/therapists/10001`) for tight geographic targeting.
- **Other directories work too**: psychiatrists (`/us/psychiatrists/ny/new-york`), support groups (`/us/groups/ny/new-york`), and international sites (`/ca/therapists/on/toronto`, `/gb/counselling/eng/london`).
- **Filter facets carry over**: URLs with filters like `?category=anxiety` are scraped as-is, so you can target a specialty, insurance, or gender directly.
- **Schedule recurring runs** on Apify to keep your provider database fresh.

### ❓ FAQ, Disclaimers & Support

**Is it legal to scrape Psychology Today?**
This Actor extracts publicly available professional directory data — information providers publish to be found. You are responsible for how you use the data: comply with applicable laws (GDPR, CCPA), the target site's Terms of Service, and use the data ethically. Profiles contain professional contact details; do not use them for spam.

**The scraper returned fewer items than expected.**
Some pages near the end of a directory may have fewer results. Lower `maxItems` or add more start URLs to broaden coverage.

**Something broke or you need a new field?**
Open an issue on the Actor's **Issues** tab — feedback and feature requests are welcome. Custom solutions are available on request.

Build your mental health provider database with **Psychology Today Scraper** today! 🚀

# Actor input Schema

## `startUrls` (type: `array`):

Psychology Today directory URLs to scrape — city, state, or zip-code listing pages (e.g. `https://www.psychologytoday.com/us/therapists/ny/new-york`), or direct profile URLs. Works with therapists, psychiatrists, and support group listings, including international directories (US, CA, GB, and more).

## `maxItems` (type: `integer`):

Maximum number of records to scrape across all start URLs.

## `scrapeProfileDetails` (type: `boolean`):

When enabled, each result's full profile page is visited to extract fees, insurance, license details, specialties, education, and more. When disabled, only basic listing data (name, phone, location, profile URL) is collected — much faster and cheaper.

## `proxyConfiguration` (type: `object`):

Proxy settings used for scraping.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.psychologytoday.com/us/therapists/ny/new-york"
    }
  ],
  "maxItems": 50,
  "scrapeProfileDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.psychologytoday.com/us/therapists/ny/new-york"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/psychology-today-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.psychologytoday.com/us/therapists/ny/new-york" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/psychology-today-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.psychologytoday.com/us/therapists/ny/new-york"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call piotrv1001/psychology-today-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/psychology-today-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Psychology Today Scraper",
        "description": "The Psychology Today Scraper extracts therapist, psychiatrist, and support group listings from PsychologyToday.com, capturing names, credentials, phone numbers, fees, accepted insurance, license details, specialties, and office locations — ideal for healthcare lead generation and market research.",
        "version": "0.0",
        "x-build-id": "fpthKoNZrgFLvVieP"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~psychology-today-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-psychology-today-scraper",
                "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/piotrv1001~psychology-today-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-psychology-today-scraper",
                "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/piotrv1001~psychology-today-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-psychology-today-scraper",
                "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": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Psychology Today directory URLs to scrape — city, state, or zip-code listing pages (e.g. `https://www.psychologytoday.com/us/therapists/ny/new-york`), or direct profile URLs. Works with therapists, psychiatrists, and support group listings, including international directories (US, CA, GB, and more).",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of records to scrape across all start URLs.",
                        "default": 50
                    },
                    "scrapeProfileDetails": {
                        "title": "Scrape full profile details",
                        "type": "boolean",
                        "description": "When enabled, each result's full profile page is visited to extract fees, insurance, license details, specialties, education, and more. When disabled, only basic listing data (name, phone, location, profile URL) is collected — much faster and cheaper.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings used for scraping.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
