# Substack Profile Scraper (`sandaliaapps/substack-profile-scraper`) Actor

**Substack Profile Scraper** is designed to collect publicly available profile data such as the
user's ID, name, handle, profile photo, biography, profile dates,
bestseller status, leaderboard information, and primary publication
details.

- **URL**: https://apify.com/sandaliaapps/substack-profile-scraper.md
- **Developed by:** [Sandalia](https://apify.com/sandaliaapps) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## **Substack Profile Scraper**

**Substack Profile Scraper** is an Apify Actor for extracting structured
profile information from Substack user profiles.

It is designed to collect publicly available profile data such as the
user's ID, name, handle, profile photo, biography, profile dates,
bestseller status, leaderboard information, and primary publication
details.

### Features

- Extract Substack profile information from a profile ID or profile
  identifier.
- Collect basic user information such as name, handle, bio, and
  profile image.
- Extract profile creation and reader installation timestamps when
  available.
- Capture bestseller and subscriber tier information.
- Extract leaderboard ranking and publication category information.
- Extract the user's primary publication and its configuration.
- Return clean JSON records to the Apify default dataset.
- Suitable for one or multiple profile requests.

### What data does it extract?

Each scraped profile can contain the following information:

***

Field                                            Description

***

`id`                                             Unique Substack user/profile ID

`name`                                           Display name of the profile

`handle`                                         Substack profile handle

`photo_url`                                      Profile photo URL

`bio`                                            Profile biography or description

`profile_set_up_at`                              Date and time when the profile was
set up

`reader_installed_at`                            Reader installation timestamp, when
available

`bestseller_tier`                                Substack bestseller tier

`status`                                         Profile status information

`status.bestsellerTier`                          Bestseller tier reported in the
status object

`status.subscriberTier`                          Subscriber tier

`status.leaderboard`                             Leaderboard information

`status.leaderboard.ranking`                     Leaderboard ranking type

`status.leaderboard.rank`                        Current leaderboard rank

`status.leaderboard.publicationName`             Publication associated with the
ranking

`status.leaderboard.label`                       Publication/category label

`status.leaderboard.categoryId`                  Substack category ID

`status.leaderboard.publicationId`               Substack publication ID

`status.vip`                                     Whether the profile has VIP status

`status.badge`                                   Profile badge information

`status.subscriber`                              Subscriber information, when
available

`primary_publication`                            User's primary Substack publication

`primary_publication.id`                         Publication ID

`primary_publication.subdomain`                  Publication subdomain

`primary_publication.custom_domain_optional`     Whether a custom domain is optional

`primary_publication.name`                       Publication name

`primary_publication.logo_url`                   Publication logo URL

`primary_publication.author_id`                  Publication author ID

`primary_publication.primary_user_id`            Primary user ID

`primary_publication.user_id`                    Associated user ID

`primary_publication.handles_enabled`            Whether handles are enabled

`primary_publication.explicit`                   Whether the publication is marked
explicit

`primary_publication.is_personal_mode`           Whether personal mode is enabled

`primary_publication.payments_state`             Publication payment state

`primary_publication.pledges_enabled`            Whether pledges are enabled

`primary_publication.ios_app_payments_enabled`   Whether iOS app payments are
enabled

## `primary_publication.has_reply_rules`            Whether reply rules are configured

### Input

The Actor accepts a Substack profile ID or profile identifier according
to the Actor's configured input schema.

#### Example input

```json
{
  "profiles": [
    "plumsykes"
  ]
}
```

You can also use the corresponding profile identifier when supported by
the Actor input configuration.

> **Tip:** For batch scraping, provide multiple profile IDs or
> identifiers in the input.

### Output

The Actor stores scraped profiles in the **default Apify Dataset**.

Each dataset item represents one Substack profile.

#### Example output

```json
{
  "id": 50713267,
  "name": "Plum Sykes",
  "handle": "plumsykes",
  "photo_url": "https://substackcdn.com/image/fetch/$s_!vDAU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caae52a-98fe-41e8-87e2-20a114e0d4cc_1176x1176.png",
  "bio": "Plum Sykes is a Contributing Editor at American Vogue, the New York Times- bestselling author of Bergdorf Blondes, and is as well known for her personal style and taste as for her witty writing about fashion and society. She lives in England.",
  "profile_set_up_at": "2024-07-04T10:56:24.459Z",
  "reader_installed_at": "2024-05-14T12:18:31.162Z",
  "bestseller_tier": 1000,
  "status": {
    "bestsellerTier": 1000,
    "subscriberTier": 10,
    "leaderboard": {
      "ranking": "paid",
      "rank": 36,
      "publicationName": "P.S. by Plum Sykes",
      "label": "Fashion & Beauty",
      "categoryId": "49715",
      "publicationId": 2760620
    },
    "vip": false,
    "badge": {
      "type": "bestseller",
      "tier": 1000
    },
    "subscriber": null
  },
  "primary_publication": {
    "id": 2760620,
    "subdomain": "plumsykes",
    "custom_domain_optional": false,
    "name": "P.S. by Plum Sykes",
    "logo_url": "https://substack-post-media.s3.amazonaws.com/public/images/9967e44a-5e0b-49f7-925c-f30deadd31bf_1067x1067.png",
    "author_id": 50713267,
    "primary_user_id": 50713267,
    "user_id": 50713267,
    "handles_enabled": false,
    "explicit": false,
    "is_personal_mode": false,
    "payments_state": "enabled",
    "pledges_enabled": false,
    "ios_app_payments_enabled": true,
    "has_reply_rules": false
  }
}
```

### Output schema

A simplified representation of the returned data structure is:

```json
{
  "id": "number",
  "name": "string",
  "handle": "string",
  "photo_url": "string",
  "bio": "string",
  "profile_set_up_at": "string",
  "reader_installed_at": "string",
  "bestseller_tier": "number",
  "status": {
    "bestsellerTier": "number",
    "subscriberTier": "number",
    "leaderboard": {
      "ranking": "string",
      "rank": "number",
      "publicationName": "string",
      "label": "string",
      "categoryId": "string",
      "publicationId": "number"
    },
    "vip": "boolean",
    "badge": {
      "type": "string",
      "tier": "number"
    },
    "subscriber": "object | null"
  },
  "primary_publication": {
    "id": "number",
    "subdomain": "string",
    "custom_domain_optional": "boolean",
    "name": "string",
    "logo_url": "string",
    "author_id": "number",
    "primary_user_id": "number",
    "user_id": "number",
    "handles_enabled": "boolean",
    "explicit": "boolean",
    "is_personal_mode": "boolean",
    "payments_state": "string",
    "pledges_enabled": "boolean",
    "ios_app_payments_enabled": "boolean",
    "has_reply_rules": "boolean"
  }
}
```

Some fields may be `null`, missing, or unavailable depending on the
profile and the information exposed by Substack.

### Use cases

Substack Profile Scraper can be useful for:

- Substack profile research
- Creator and author discovery
- Newsletter research
- Publication discovery
- Author databases
- Market research
- Competitive research
- Content creator analytics
- Newsletter lead research
- Building datasets of Substack authors
- Identifying publications associated with authors
- Tracking bestseller and leaderboard information

### How to use

1. Open the **Substack Profile Scraper** Actor on Apify.
2. Enter the Substack profile ID(s) or supported profile
   identifier(s).
3. Start the Actor.
4. Wait for the crawl to finish.
5. Open the **Dataset** tab.
6. Export the results as JSON, CSV, Excel, XML, or other supported
   formats.

### Dataset access

The results are stored in the Actor's default dataset. You can access
the dataset through the Apify Console or consume it programmatically
using the Apify API.

The dataset can be used as input for other Apify Actors, external
applications, databases, ETL pipelines, or analytics workflows.

### Data quality

The Actor returns structured data based on information publicly
available from Substack.

Profile information can change over time. Fields such as leaderboard
rank, bestseller tier, subscriber tier, publication configuration, and
profile metadata may therefore differ between runs.

Not every profile necessarily exposes every field. When information is
unavailable, the corresponding field may be `null` or omitted.

### Responsible use

Use this Actor responsibly and only collect information that you are
permitted to access and process.

- Respect Substack's Terms of Use and applicable policies.
- Respect applicable privacy and data-protection laws.
- Do not use scraped data for spam, harassment, or other abusive
  activities.
- Avoid collecting or processing sensitive personal information unless
  you have a lawful basis to do so.
- Consider the purpose and legality of your data collection before
  using the results commercially.

### Performance

Actual runtime depends on the number of profiles, network conditions,
Substack response times, and the Actor's configured concurrency and
retry settings.

For large datasets, consider processing profiles in batches and using
Apify's dataset and run APIs to integrate the scraper into your own
workflow.

### Integration

The resulting dataset can be integrated with:

- Apify API
- Webhooks
- Google Sheets
- Make
- Zapier
- Custom Python applications
- Node.js applications
- Databases
- Data pipelines and ETL systems

### Example workflow

A typical workflow looks like this:

```text
Substack Profile IDs
        │
        ▼
Substack Profile Scraper
        │
        ▼
Structured Profile Data
        │
        ├──► Apify Dataset
        ├──► JSON / CSV / Excel
        ├──► Database
        └──► External Application / API
```

### Frequently Asked Questions

#### What is Substack Profile Scraper?

It is an Apify Actor that extracts structured, publicly available
profile and primary publication information from Substack profiles.

#### What information does it return?

It can return profile identity, biography, profile timestamps,
bestseller information, leaderboard data, badges, and primary
publication information.

#### Where are the results stored?

Results are stored in the Actor's default Apify Dataset.

#### Can I scrape multiple profiles?

Yes. The Actor is designed to support multiple profile requests
according to the configured input schema.

#### Does every profile contain all fields?

No. The available information depends on the individual Substack profile
and what Substack exposes at the time of the request.

#### Can I export the results?

Yes. Apify datasets can be exported in several formats, including JSON
and CSV.

### Support

If you encounter an issue with the Actor, please check the Actor run
logs and input configuration first. For persistent issues, contact the
Actor developer through the Apify platform.

***

**Substack Profile Scraper** --- extract structured Substack profile and
publication data for research, automation, and data workflows.

***

### 🔗 More Actors by Sandalia Apps

Take your automation to the next level with our other tools:

| Actor Name                                                                                                  | Description                                                                                              |
|-------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| [**TikTok User Data Extractor**](https://apify.com/sandaliaapps/TikTok-User-Data-Extractor)                 | ⚡️ Extract thousands of TikTok profiles in minutes!                                                    |
| [**Onlyfan Profile Scraper**](https://apify.com/sandaliaapps/onlyfan-profile-scraper)                       | Scrapes profile data in bulk with details like name, bio, last online, engagement insights, social links |
| [**Fansly Profile Scraper**](https://apify.com/sandaliaapps/fansly-profile-scraper)                         | Scrapes Fansly profiles in bulk with all available details                                               |
| [**YouTube Video Data Extractor**](https://apify.com/sandaliaapps/youtube-video-data-extractor)             | Extract detailed and structured data from YouTube videos, channels, and playlists — no API key required. |
| [**TruthSocial Profile Data Extractor**](https://apify.com/sandaliaapps/truthsocial-profile-data-extractor) |The Truthsocial Profile Data Extractor is designed to be user-friendly and highly efficient, making it an ideal solution for businesses, researchers, and individuals looking to automate data collection.|
| [**Truth Social Post Extractor**](https://apify.com/sandaliaapps/truthsocial-post-extractor)                |Easily extract and collect data from Truth Social posts using the Truth Social Posts Extractor Apify Actor.|
| [**Mastodon Profile Scraper**](https://apify.com/sandaliaapps/mastodon-profile-scraper)                     |Mastodon Profile Scraper lets you extract rich profile data from any public Mastodon account.|
| [**Tiktok Post Data Extractor**](https://apify.com/sandaliaapps/tiktok-post-data-extractor)                 |TikTok Post Data Extractor lets you scrape detailed information from TikTok posts, including captions, hashtags, video URLs, likes, views, comments, and more — perfect for analytics, research, and trend monitoring.|

***

### 👨‍💻 Developed by Sandalia Apps

We're a team of automation engineers passionate about building smart, scalable scrapers for content platforms.\
💼 For custom solutions or support, feel free to [contact us](https://sandalia.com.bd/apps).

# Actor input Schema

## `profile_ids` (type: `array`):

Profile ids to start with

## `proxySettings` (type: `object`):

Select proxies to be used by scraper.

## Actor input object example

```json
{
  "profile_ids": [
    "saribotton"
  ],
  "proxySettings": {
    "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 = {
    "profile_ids": [
        "saribotton"
    ],
    "proxySettings": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sandaliaapps/substack-profile-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 = {
    "profile_ids": ["saribotton"],
    "proxySettings": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("sandaliaapps/substack-profile-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "profile_ids": [
    "saribotton"
  ],
  "proxySettings": {
    "useApifyProxy": true
  }
}' |
apify call sandaliaapps/substack-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sandaliaapps/substack-profile-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/jM9Ih1Q79JKwHqC7A/builds/wfWOvjPRnOQgjLnIL/openapi.json
