Substack Leaderboard Scraper

Export ranked Substack publications by category with subscriber, pricing, author, and rank-change data.

Data fields

FieldTypeDescription
publicationIdintegerValue exported as publicationId.
rankintegerValue exported as rank.
publicationNamestringValue exported as publicationName.
publicationUrlstringValue exported as publicationUrl.
subdomainstring | nullValue exported as subdomain.
customDomainstring | nullValue exported as customDomain.
descriptionstring | nullValue exported as description.
logoUrlstring | nullValue exported as logoUrl.

Input preview

categoriesLeaderboard categories
leaderboardUrlsLeaderboard URLs
boardTypesLeaderboard types
maxItemsMaximum publications
includeRankHistoryInclude rank changes
changedSinceChanged since

API and agents

This actor can be run through Apify API, datasets, webhooks, schedules, and the official Apify MCP server.

Ready-to-run examples

Open a saved Apify example, adjust the input, and run the actor in your own Apify account.

View all examples

How this actor works

See example inputs, outputs, API usage, and practical limits before running this actor on Apify.

Open Apify page

Export Substack leaderboard rankings as publication records for newsletter research, creator discovery and competitor comparisons. Choose categories and Top Bestsellers or Rising boards to collect ranks, public author profiles, subscriber signals and subscription prices. Results are available in an Apify dataset for spreadsheets, APIs and AI assistants.

This scraper collects public leaderboard metadata, not newsletter articles or private subscriber identities.

Quick start

Select a category, choose a board and start with a small publication limit:

{
  "categories": ["technology"],
  "boardTypes": ["paid"],
  "maxItems": 20
}

Run the Actor, then open its dataset to review the ranked publications.

Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.

https://youtu.be/1OW8gOqlZbY?t=25

What you get

  • Ranked publications: publication name, website, category and board position.
  • Public profiles: author names, handles, biographies, images and profile URLs when available.
  • Audience signals: public subscriber labels and bestseller tiers, not private subscriber lists.
  • Subscription details: monthly and annual prices, currency, benefits and feature flags.
  • Comparison fields: previous rank, rank change and new-entry status when a prior snapshot is available.

Who is it for?

  • Newsletter operators comparing publications in their category.
  • Creator-economy analysts researching newsletter markets and subscription offerings.
  • Growth teams discovering potential collaborators and building publication research lists.

Input settings

Setting API key Description
Leaderboard categories categories Category slugs from the form. Defaults to ["technology"].
Leaderboard URLs leaderboardUrls Explicit public Substack leaderboard URLs, added to the category selections.
Leaderboard types boardTypes paid, rising, or both. Defaults to ["paid"].
Maximum publications maxItems Global row limit, 1–10,000. API default 50, form prefill 20.
Include rank changes includeRankHistory Compare ranks with the stored snapshot. Default false.
Changed since changedSince Optional ISO timestamp used with a stored snapshot to skip certain unchanged ranks.

Input recipes

Category research: select technology and business with boardTypes: ["paid"] and maxItems: 100.

Rising publications: select business with boardTypes: ["rising"] and maxItems: 20.

One explicit board: set categories to an empty array so the default technology board is not added:

{
  "categories": [],
  "leaderboardUrls": [{"url": "https://substack.com/leaderboard/technology/paid"}],
  "maxItems": 20
}

Rank history and repeated runs

The comparison reads RANK_STATE from the run's default key-value store. Separate runs normally have separate default stores. Saving or scheduling the same task does not by itself reuse the previous snapshot. Your automation must make the prior snapshot available in the next run's store if you need cross-run comparisons.

changedSince is not a historical date search. With a prior snapshot, it skips a publication only when its rank is unchanged and its stored observation is at or after the supplied timestamp. New publications, changed ranks and older unchanged observations can still be returned. It does not detect biography, price or subscriber-count changes.

Output data

Each row is one publication on one selected category/board. The same publication can appear on different boards. Optional values can be null, false or empty arrays.

Illustrative partial record showing field shape only, not a newly collected result:

{
  "publicationId": 123,
  "rank": 1,
  "publicationName": "Example newsletter",
  "publicationUrl": "https://example.substack.com",
  "category": "technology",
  "boardType": "paid",
  "subscriberCount": null,
  "monthlyPrice": null,
  "currency": null,
  "sourcePage": 0,
  "previousRank": null,
  "rankChange": null,
  "isNew": null
}
Fields Meaning
publicationId, rank, publicationName, publicationUrl Stable publication identity and current position
subdomain, customDomain, description, language, publicationType, createdAt Publication profile
logoUrl, coverPhotoUrl Public publication images
authorId, authorName, authorHandle, authorBio, authorPhotoUrl, profileUrl Public author profile
category, boardType, sourceCategory, sourceBoardType, sourcePage, sourceUrl Ranking provenance
bestsellerBadgeTier, subscriberCount, subscriberCountMagnitude, paidSubscriberDetail, totalSubscriberDetail Public audience and paid-subscriber signals
monthlyPrice, annualPrice, currency Active public subscription pricing
freeSubscriptionBenefits, paidSubscriptionBenefits Public plan benefits
paymentsEnabled, podcastEnabled, communityEnabled, subscribeUrl Publication capabilities and subscription link
scrapedAt, rankChange, previousRank, isNew Snapshot and monitoring metadata

sourceUrl identifies the fetched leaderboard source. sourcePage starts at zero. Positive rankChange means a move toward rank 1. When history is disabled, previousRank, rankChange and isNew are null. A first observation with history enabled has no previous rank and is marked new.

Download your results

Open your run's dataset, choose Export and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.

See Apify's download and export guide for the available formats and field options.

Tips for best results

  • Start with one category. Review a small result before expanding the selection.
  • Allow room for every board. maxItems is shared across the whole run, so earlier boards can fill the limit first.
  • Use explicit URLs carefully. Clear categories when you want URLs alone, otherwise both selections are processed.
  • Keep snapshots for comparisons. Cross-run rank history needs the prior state, not just a reused task name.
  • Compare labels consistently. Subscriber counts and tiers are public source signals, not audited totals.

Limits and caveats

  • Each board is limited to at most four pages, normally up to 100 publications. A higher global limit does not expand one board beyond that.
  • The cross-category bestseller selection uses the source's rising board even if the selected label is paid. Use category-specific boards for paid bestseller comparisons.
  • The scraper does not support login cookies, private subscriber data, paid post content or configurable proxies.
  • Missing public prices, biographies or images remain empty rather than being guessed. Prices use the active non-founding monthly or annual plan when available, with the returned currency.
  • Already saved rows remain available if another board fails. A run with no saved rows and failed boards fails. A valid empty response can finish with an empty dataset.
  • Source changes or access restrictions can prevent collection. A requested limit is a cap, not a promise of that many results.

Automation and integrations

Save your settings for next time

Once you have an input that works for you, save it as an Apify task. This keeps your settings together so you can use them again without filling in the form from scratch.

Run on a schedule

Need fresh results regularly? You can schedule the Actor or a saved task to run at a time that suits you.

Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.

Send results to your other tools

Use n8n, Make or Zapier to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the Apify integration guides for your chosen tool.

For a custom connection, an Apify webhook can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.

API usage

Want to collect this data from your own app or automation? The examples below send input to the scraper and show how to collect its results.

The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its defaultDatasetId to fetch the results.

For setup instructions, see Apify's JavaScript client guide, Python client guide and Actor runs API reference.

cURL

curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~substack-leaderboard-scraper/runs' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"categories":["technology"],"boardTypes":["paid"],"maxItems":20}'

Node.js

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/substack-leaderboard-scraper').call({
  categories: ['technology'], boardTypes: ['paid'], maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('fetch_cat/substack-leaderboard-scraper').call(run_input={
    'categories': ['technology'], 'boardTypes': ['paid'], 'maxItems': 20,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

MCP and AI agents

You can ask your AI assistant to collect data with Substack Leaderboard Scraper and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.

Connect your assistant through the Apify MCP server. MCP gives your assistant a way to find this scraper, run it and read the results. Follow the official setup and sign-in guide for your app.

Easier setup with an Apify plugin

If you use a supported coding assistant, the official Apify plugin can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.

Use Apify AI in Console

Prefer to keep everything in Apify? Open Apify AI in Console and ask it to find Fetch Cat's Substack Leaderboard Scraper. You can describe the data you want and ask questions about the results.

Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.

Choose your assistant

Connect just this scraper

To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=fetch_cat/substack-leaderboard-scraper"
    }
  }
}

Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.

Use Apify's general server

Already connected to the general Apify MCP server at https://mcp.apify.com? You can use it to find this scraper without adding another server. Ask your assistant to use Substack Leaderboard Scraper by Fetch Cat, or give it the identifier fetch_cat/substack-leaderboard-scraper.

Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service.

Example requests

  • “Get the top 20 technology newsletters on Substack and make a table of their names, ranks and websites.”
  • “Find 20 rising business newsletters and summarize their public descriptions and subscription prices.”
  • “Collect technology and business leaderboard publications, up to 100 rows across both board types, and prepare a spreadsheet comparing their public audience signals.”

Normal Apify charges apply. Check the live Pricing tab before asking your assistant to run a larger batch.

Pay with x402

If your AI agent has a funded wallet, it can pay for Apify usage through x402. This experimental option lets an agent use Apify without a conventional account.

Apify AGI provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.

Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.

Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.

Other ways for agents to pay

Apify also supports MPP for prepaid access through AGI and Skyfire for eligible Actors. If your agent already uses one of these, see the agentic payment guide to choose the right setup.

Support and feedback

For custom additions or integrations, email [email protected].

Found an error or have a feature request? Open an issue with the run URL, a non-sensitive input example and what you expected.

Need help sharing it? See Apify’s guide to sharing a run when reporting an issue. Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.

Tried this scraper? We'd love to hear how it worked for you. Leave a review to help others choose the right tool and help us improve it. Your feedback means a lot to us.

Made with care for curious people, AI agents and the possibilities in data. ♥

Common questions

Questions and answers reused from the canonical actor README.

Can I export Substack leaderboard data without logging in?

Yes. The Actor uses public leaderboard data and has no login input. It does not return private subscriber identities or authenticated creator analytics.

Can I track changes in newsletter rankings?

The optional history fields compare with an existing snapshot in the same storage. Reusing a saved task alone does not carry that snapshot forward. See Rank history and repeated runs above. For a simple comparison, export two runs and compare their publication IDs, categories, board types and ranks in your own workflow.

Why is a price or biography empty?

Substack does not expose every field for every publication. Missing public values stay empty rather than being inferred.

Does this download newsletter posts or all Substack newsletters?

No. It exports selected leaderboard publications, not a complete directory or article content. Use the related post scraper for articles from known publications.

Can I use it as an API or with an AI assistant?

Yes. Use the API examples or Apify's hosted MCP server. The scraper collects records, while your assistant performs any summarization or spreadsheet preparation afterward.