Substack Newsletter Scraper: how to get the data as JSON/CSV (API, Python, no code)
Scrape Substack newsletter profiles by creator handle: publication name, URL, description, paid tier status, community flag, homepage type, logo, and creation date. This guide shows the output fields, a working input, and
Python, JavaScript and cURL code for the Actor v0iddo/creator-leads-scraper on Apify.
Open Substack Newsletter Scraper on Apify
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
publicationName | Newsletter name | text | Noahpinion |
publicationUrl | Newsletter URL | URL | https://www.noahpinion.blog |
subdomain | Subdomain | text | noahpinion |
description | Description | text | Economics and other interesting stuff |
hasPaidTier | Has paid tier | true/false | true |
paymentsState | Payments state | text | enabled |
homepageType | Homepage type | text | |
communityEnabled | Community enabled | true/false | true |
createdAt | Created at | date | 2020-03-28 |
logoUrl | Logo | image URL | https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws... |
Input example
This is the input that is pre-filled on the Actor page. Change the values for your own run.
{
"handles": [
"stratechery",
"noahpinion",
"astralcodexten",
"mattstoller",
"platformer",
"byrnehobart",
"worksinprogress",
"slowboring",
"persuasion",
"thedispatch"
],
"maxItems": 20
}
| Input field | Type | What it does |
|---|---|---|
handles (required) | array | Substack creator handles to look up, with or without the @ sign (e.g. |
maxItems | integer | The run stops after this many result rows. |
Output sample
Real rows from a run of the Actor. Fields that name people are left out of the sample.
[
{
"publicationName": "Noahpinion",
"publicationUrl": "https://www.noahpinion.blog",
"subdomain": "noahpinion",
"description": "Economics and other interesting stuff",
"hasPaidTier": true,
"paymentsState": "enabled",
"communityEnabled": true,
"createdAt": "2020-03-28",
"logoUrl": "https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/04281755-2cd6-42e5-a496-e69153abebb2_281x281.png"
},
{
"publicationName": "Astral Codex Ten",
"publicationUrl": "https://www.astralcodexten.com",
"subdomain": "astralcodexten",
"description": "P(A|B) = [P(A)*P(B|A)]/P(B), all the rest is commentary.",
"hasPaidTier": true,
"paymentsState": "enabled",
"homepageType": "newspaper",
"communityEnabled": true,
"createdAt": "2020-08-30",
"logoUrl": "https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/430241cb-ade5-4316-b1c9-6e3fe6e63e5e_256x256.png"
}
]
Code: Python, JavaScript and cURL
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/creator-leads-scraper.
Python (apify-client)
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {'handles': ['stratechery',
'noahpinion',
'astralcodexten',
'mattstoller',
'platformer',
'byrnehobart',
'worksinprogress',
'slowboring',
'persuasion',
'thedispatch'],
'maxItems': 20}
run = client.actor("v0iddo/creator-leads-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
JavaScript (apify-client)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const input = {
"handles": [
"stratechery",
"noahpinion",
"astralcodexten",
"mattstoller",
"platformer",
"byrnehobart",
"worksinprogress",
"slowboring",
"persuasion",
"thedispatch"
],
"maxItems": 20
};
const run = await client.actor('v0iddo/creator-leads-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~creator-leads-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"handles": ["stratechery", "noahpinion", "astralcodexten", "mattstoller", "platformer", "byrnehobart", "worksinprogress", "slowboring", "persuasion", "thedispatch"], "maxItems": 20}'
Price
$1.53 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.07 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.
Good to know
- Each handle resolves to the newsletters that creator actively writes for; one row is emitted per publication found on their public profile.
- Subscriber counts are not exposed in the public profile page JSON; visit the newsletter URL directly for additional details.
- Handles with no public publications or a private profile are silently skipped; the run raises an error only when every handle fails.
- Not affiliated with Substack.
FAQ
What data does the Substack Newsletter Scraper return?
Each result is one row in an Apify dataset. Fields include publicationName, publicationUrl, subdomain, description, hasPaidTier, paymentsState, homepageType, communityEnabled, and more. The table above shows every field with an example value.
How do I use the Substack Newsletter Scraper from Python?
Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/creator-leads-scraper with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$1.53 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $1.07 per 1,000. A new Apify account gets $5 of platform credit every month.
How do I limit the number of results?
Set the maxItems input field to the number of results you need; the run stops there, so it also caps the cost of one run. You can also set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.
Can I send the results to Google Sheets, Make, Zapier or n8n?
Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.
Open Substack Newsletter Scraper on Apify
Related guides
- Bluesky Scraper: Scrape public Bluesky accounts: posts with text, like count, repost count, reply count, language, media fla...
- Snapchat Scraper: Scrape Snapchat public creator profiles: name, subscribers, bio, and per-video Spotlight stats: views, like...
- Medium Scraper: Pull Medium articles via the public RSS feed endpoints: /feed/@user, /feed/tag/{tag}, /feed/{publication-sl...