# Medium Public Followers Scraper (`w3crawler/medium-followers-scraper`) Actor

Collects public follower connections for one or more Medium usernames through bounded anonymous GraphQL pagination in a standard headless browser. Records contain target/follower profiles, membership and social metadata, provenance, and truthful diagnostics.

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

## Pricing

from $2.99 / 1,000 followers

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Medium Public Followers Scraper

Collect the public follower connections of one or more Medium users. Each saved row pairs the target profile with one follower account, including usernames, bios, avatars, profile URLs, membership flags, follower/following counts, relationship rank, pagination page, and the exact GraphQL source. The Actor reads public follower pages and Medium's anonymous connection; it does not access private follower lists.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/medium-followers-scraper) and select **Try for free**, or open the **Input** tab.
2. Enter one `username` or a `usernames` list. `usernames` replaces `username` when supplied.
3. Keep `maxItems` small for the first run; it is shared across all targets.
4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT`) to check access and request status.

### Input

All fields are optional except that at least one username target should be supplied. Unsupported fields and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `username` | string | Optional | Not supplied | One Medium username with an optional leading `@`, used when `usernames` is absent. |
| `usernames` | string array | Optional | Not supplied | Multiple usernames; replaces `username` and divides `maxItems` fairly across unique targets. |
| `maxItems` | integer | Optional | `50` | Maximum unique follower connection rows across all targets, 1–500. |
| `timeoutSecs` | integer | Optional | `120` | Page-navigation and per-GraphQL-request timeout, 30–180 seconds. |
| `requestRetries` | integer | Optional | `2` | Retries for navigation and transient GraphQL errors, 0–3. |
| `requestDelayMs` | integer | Optional | `500` | Delay between paginated requests and target pages, 250–5,000 ms. |
| `maxGraphqlResponseBytes` | integer | Optional | `1000000` | Maximum anonymous follower GraphQL response size, 10,000–2,000,000 bytes. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional standard Apify Proxy routing for public requests; direct access is the default. |

Example input from the saved 2026-10-25 run:

```json
{
  "username": "karpathy",
  "maxItems": 3,
  "timeoutSecs": 90,
  "requestRetries": 2,
  "requestDelayMs": 500,
  "maxGraphqlResponseBytes": 1000000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

The Actor uses a standard headless browser for the public follower page and anonymous GraphQL calls, with optional Apify Proxy. Proxy routing does not grant access to private lists or bypass access controls.

### Output

The dataset contains one row per unique follower of a target. Follower profile fields are omitted when Medium does not expose them. `connectionType` is `follows`, meaning the `follower*` account follows the `target*` account.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable identifier for the target/follower pair. |
| `recordType` | string | Always | Record type; `mediumFollower`. |
| `connectionType` | string | Always | Relationship direction; `follows` in the saved run. |
| `source` | string | Always | Source label; `Medium anonymous public follower connection`. |
| `provenance` | string | Always | Extraction provenance; `medium_anonymous_graphql_followers_v1` in the saved run. |
| `followerRank` | integer | Always | One-based position of the follower in the retrieved connection. |
| `paginationPage` | integer | Always | One-based page on which the follower was returned. |
| `targetUserId` | string | Always | Medium user ID of the profile being inspected. |
| `targetName` | string | Always | Target display name. |
| `targetUsername` | string | Always | Target username. |
| `targetBio` | string | Always | Target bio. |
| `targetAvatarUrl` | string | Always | Target avatar URL. |
| `targetProfileUrl` | string | Always | Target canonical profile URL. |
| `targetSubdomainUrl` | string | Always | Target Medium subdomain URL. |
| `targetIsMember` | boolean | When published | Whether the target is a Medium member. |
| `targetMemberSince` | string | When published | Target membership date when exposed. |
| `targetHasSubdomain` | boolean | Always | Whether the target has a Medium subdomain. |
| `targetIsSuspended` | boolean | Always | Whether Medium marks the target suspended. |
| `targetIsWriterProgramEnrolled` | boolean | Always | Whether the target is in the writer program. |
| `targetFollowerCount` | number | Always | Target follower count at collection time. |
| `targetFollowingCount` | number | Always | Target following count at collection time. |
| `followerUserId` | string | Always | Medium user ID of the follower. |
| `followerName` | string | Always | Follower display name. |
| `followerUsername` | string | Always | Follower username. |
| `followerBio` | string | When published | Follower bio when the public payload exposes one. |
| `followerAvatarUrl` | string | Always | Follower avatar URL. |
| `followerProfileUrl` | string | Always | Follower canonical profile URL. |
| `followerSubdomainUrl` | string | When published | Follower subdomain URL when it exists. |
| `followerIsMember` | boolean | When published | Whether the follower is a Medium member; present for one saved row. |
| `followerMemberSince` | string | When published | Follower membership date; present for one saved row. |
| `followerHasSubdomain` | boolean | Always | Whether the follower has a subdomain. |
| `followerIsSuspended` | boolean | Always | Whether Medium marks the follower suspended. |
| `followerIsWriterProgramEnrolled` | boolean | Always | Whether the follower is in the writer program. |
| `followerFollowerCount` | number | Always | Follower's follower count. |
| `followerFollowingCount` | number | Always | Follower's following count. |
| `sourceUrl` | string | Always | Public follower page requested. |
| `sourcePageUrl` | string | Always | Public page URL associated with the connection. |
| `sourceGraphqlUrl` | string | Always | Anonymous GraphQL endpoint used. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |
| `url` | string | When published | Compatibility alias of a profile URL when supplied; absent in the saved run. |
| `actorName` | string | When published | Actor display name when supplied. |
| `actorSlug` | string | When published | Actor slug when supplied. |
| `targetHint` | string | When published | Target description when supplied. |
| `accessPolicy` | string | When published | Access-policy note when supplied. |
| `generatedBy` | string | When published | Generator metadata when supplied. |
| `sourceWebsite` | string | When published | Source website when supplied. |
| `sourceDomain` | string | When published | Source domain when supplied. |
| `sourceTransport` | string | When published | Transport label when supplied. |
| `sourceHttpStatus` | integer | When published | Source HTTP status when supplied. |
| `httpStatus` | integer | When published | HTTP status when supplied. |
| `apiHttpStatus` | integer | When published | API HTTP status when supplied. |
| `jobsHttpStatus` | integer | When published | Jobs endpoint status when supplied. |
| `requestAttempts` | integer | When published | Attempts for the record request when supplied. |
| `totalRequestAttempts` | integer | When published | Run-level attempts when supplied. |
| `responseBytes` | number | When published | Response size when supplied. |
| `proxyConfigured` | boolean | When published | Whether a proxy was configured when supplied. |
| `proxyUsed` | boolean | When published | Whether a proxy was used when supplied. |
| `fingerprintApplied` | boolean | When published | Browser fingerprint flag when supplied. |
| `browserFingerprinting` | boolean | When published | Browser-fingerprinting flag when supplied. |
| `headlessBrowser` | boolean | When published | Headless-browser flag when supplied. |
| `requestUserAgent` | string | When published | User agent when supplied. |
| `extractionMethod` | string | When published | Extraction method when supplied. |
| `scrapeMode` | string | When published | Scrape mode when supplied. |
| `rawRecord` | object | When published | Raw record payload when supplied. |
| `rawPost` | object | When published | Raw post payload when supplied. |
| `rawPublication` | object | When published | Raw publication payload when supplied. |
| `rawUser` | object | When published | Raw user payload when supplied. |

The example below is a real saved row from the 2026-10-25 run.

```json
{
  "recordId": "medium_follower_85803967c69b59240bacc4de",
  "recordType": "mediumFollower",
  "connectionType": "follows",
  "source": "Medium anonymous public follower connection",
  "provenance": "medium_anonymous_graphql_followers_v1",
  "followerRank": 1,
  "paginationPage": 1,
  "targetUserId": "ac9d9a35533e",
  "targetName": "Andrej Karpathy",
  "targetUsername": "karpathy",
  "targetBio": "I like to train deep neural nets on large datasets.",
  "targetAvatarUrl": "https://miro.medium.com/v2/resize:fill:256:256/0*8ldFdx9B6FhSkQmV.jpeg",
  "targetProfileUrl": "https://medium.com/@karpathy",
  "targetSubdomainUrl": "https://karpathy.medium.com",
  "targetHasSubdomain": true,
  "targetIsSuspended": false,
  "targetIsWriterProgramEnrolled": true,
  "targetFollowerCount": 62094,
  "targetFollowingCount": 183,
  "followerUserId": "000a1200629b",
  "followerName": "Howyongheng",
  "followerUsername": "howyongheng0313",
  "followerAvatarUrl": "https://miro.medium.com/v2/resize:fill:256:256/0*K25m3ScUQLZqDgpp",
  "followerProfileUrl": "https://medium.com/@howyongheng0313",
  "followerHasSubdomain": false,
  "followerIsSuspended": false,
  "followerIsWriterProgramEnrolled": true,
  "followerFollowerCount": 0,
  "followerFollowingCount": 2,
  "sourceUrl": "https://medium.com/@karpathy/followers",
  "sourcePageUrl": "https://medium.com/@karpathy/followers",
  "sourceGraphqlUrl": "https://medium.com/_/graphql",
  "scrapedAt": "2026-10-25T21:11:36.991Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT` and `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `recordId` | Stable summary identifier. |
| `recordType` | Summary type, `run-summary`. |
| `status` | Actor outcome: `SUCCEEDED` or `FAILED`. |
| `actorStatus` | Actor-level status. |
| `accessStatus` | Access outcome; `COMPLETE` or `PARTIAL`. |
| `found` | Whether a target and followers were found. |
| `dataAvailable` | Whether source-backed rows were saved. |
| `source` | Source label. |
| `provenance` | Extraction provenance. |
| `accessPolicy` | Access boundary used for the run. |
| `actorName` | Actor display name. |
| `actorSlug` | Actor slug. |
| `targetHint` | Target description. |
| `sourceUrl` | Primary follower-page URL. |
| `sourceWebsite` | Medium website URL. |
| `requestedUsernames` | Unique targets requested. |
| `requestedItems` | Requested limit. |
| `itemsStored` | Rows written. |
| `connectionRecords` | Connection rows produced. |
| `diagnosticsStored` | Diagnostic entries written. |
| `diagnosticCount` | Operational issues recorded. |
| `totalDatasetItems` | Total dataset count. |
| `requests` | Requests made. |
| `requestCount` | Request count. |
| `pageRequests` | Page navigations. |
| `graphqlRequests` | GraphQL calls. |
| `successfulRequests` | Successful requests. |
| `failedRequests` | Failed requests. |
| `failedRequestCount` | Failed request count. |
| `totalRequestAttempts` | Attempts including retries. |
| `requestUrls` | URLs requested. |
| `httpStatuses` | HTTP status counts. |
| `navigationState` | Browser navigation outcome. |
| `filters` | Effective input values, including proxy settings. |
| `generatedBy` | Generator metadata. |
| `startedAt` | Start time in ISO UTC. |
| `completedAt` | Completion time in ISO UTC. |
| `durationMs` | Run duration in milliseconds. |
| `datasetWriteFailureCount` | Dataset write failures. |
| `optionalFailureCount` | Non-fatal failures. |
| `dataStatus` | `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `runStatus` | Canonical run status. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Follower rows were saved without an access or extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Some rows were saved, but a later target or request failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The target was read successfully but no followers were returned. |
| `FAILED` | `FAILED` | A fatal error prevented any usable row from being saved. |

Example `OUTPUT` from the saved 2026-10-25 run:

```json
{
  "recordId": "medium_followers_run_summary",
  "recordType": "run-summary",
  "status": "SUCCEEDED",
  "actorStatus": "SUCCEEDED",
  "accessStatus": "COMPLETE",
  "found": true,
  "dataAvailable": true,
  "source": "Medium anonymous public follower connection",
  "provenance": "medium_anonymous_graphql_followers_v1",
  "accessPolicy": "Public Medium follower metadata only; no login, private-list access, proxy, CAPTCHA solving, or access-control bypass.",
  "actorName": "Medium Public Followers Scraper",
  "actorSlug": "medium-followers-scraper",
  "targetHint": "Public Medium follower connections",
  "sourceUrl": "https://medium.com/@karpathy/followers",
  "sourceWebsite": "https://medium.com/",
  "requestedUsernames": 1,
  "requestedItems": 3,
  "itemsStored": 3,
  "connectionRecords": 3,
  "diagnosticsStored": 0,
  "diagnosticCount": 0,
  "totalDatasetItems": 3,
  "requests": 2,
  "requestCount": 2,
  "pageRequests": 1,
  "graphqlRequests": 1,
  "successfulRequests": 2,
  "failedRequests": 0,
  "failedRequestCount": 0,
  "totalRequestAttempts": 2,
  "requestUrls": [
    "https://medium.com/@karpathy/followers",
    "https://medium.com/_/graphql"
  ],
  "httpStatuses": {
    "200": 1
  },
  "navigationState": "handled",
  "filters": {
    "username": "karpathy",
    "usernames": ["karpathy"],
    "maxItems": 3,
    "timeoutSecs": 90,
    "requestRetries": 2,
    "requestDelayMs": 500,
    "maxGraphqlResponseBytes": 1000000,
    "proxyConfiguration": {
      "useApifyProxy": true,
      "apifyProxyGroups": ["RESIDENTIAL"],
      "apifyProxyCountry": "US"
    }
  },
  "generatedBy": "OpenAI Codex with GPT-6",
  "startedAt": "2026-10-25T21:11:31.666Z",
  "completedAt": "2026-10-25T21:11:37.357Z",
  "durationMs": 5691,
  "datasetWriteFailureCount": 0,
  "optionalFailureCount": 0,
  "dataStatus": "COMPLETE",
  "runStatus": "SUCCEEDED"
}
```

### Coverage and limitations

The saved run requested three followers of `karpathy`, made one follower-page navigation and one anonymous GraphQL call, and saved three rows with `accessStatus: COMPLETE`. The input enabled Apify residential proxy routing; the summary records that configuration, while the public payload still determines which profile fields exist. `targetIsMember`, `targetMemberSince`, `followerBio`, and `followerSubdomainUrl` were absent from these rows even though they are supported schema fields.

Follower counts are point-in-time snapshots and change as accounts follow or unfollow. Medium may omit membership dates, bios, or subdomain URLs for some profiles; the Actor does not infer them. The Actor cannot read private follower lists, bypass login or challenge pages, or enumerate followers that the public connection does not return. Blocked, truncated, or empty pages are reported in the summary; if earlier followers were saved, the run remains successful with `dataStatus: "PARTIAL"`.

### Usage and support

This Actor uses a headless browser plus GraphQL requests, so cost includes browser compute and optional proxy usage. Start with one target and `maxItems: 3`–`10`, inspect the summary, then scale. See the Actor's Pricing tab for current rates.

Use the [Actor Issues page](https://apify.com/w3crawler/medium-followers-scraper/issues) to report a problem. Include the run ID, input, and summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Medium. Use it only for public data and in accordance with Medium's terms, robots guidance, and applicable law. Public profiles can contain personal information; use the output only for lawful purposes.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/medium-followers-scraper/changelog.md

# Actor input Schema

## `username` (type: `string`):

One username with an optional leading @. Used when usernames is not supplied.

## `usernames` (type: `array`):

Optional list of usernames. When supplied, it replaces username and maxItems is distributed fairly across targets.

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

Maximum total unique follower connection records across all targets.

## `timeoutSecs` (type: `integer`):

Maximum time allowed for page navigation and each anonymous GraphQL request.

## `requestRetries` (type: `integer`):

Retries for page navigation and transient GraphQL errors.

## `requestDelayMs` (type: `integer`):

Delay between paginated follower GraphQL requests and target pages.

## `maxGraphqlResponseBytes` (type: `integer`):

Maximum anonymous follower GraphQL response size accepted.

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

Optional standard Apify Proxy configuration for public requests.

## Actor input object example

```json
{
  "username": "karpathy",
  "maxItems": 50,
  "timeoutSecs": 120,
  "requestRetries": 2,
  "requestDelayMs": 500,
  "maxGraphqlResponseBytes": 1000000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Structured public target-has-follower records and truthful diagnostics.

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

## `output` (type: `string`):

No description

## `sourceMetadata` (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 = {
    "username": "karpathy"
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/medium-followers-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 = { "username": "karpathy" }

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/medium-followers-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 '{
  "username": "karpathy"
}' |
apify call w3crawler/medium-followers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/medium-followers-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/QUN9IOjr7LhJyZkPi/builds/4VeYgPTeX9oBPuXDB/openapi.json
