# GitHub Stargazer Contacts by Adaptive Labs (`adaptive_labs/github-stargazer-contacts`) Actor

For each stargazer of a GitHub repo, outputs only the contact details that person has chosen to publish on their own GitHub profile (email, website, X/Twitter username, company).

- **URL**: https://apify.com/adaptive_labs/github-stargazer-contacts.md
- **Developed by:** [Adaptive Labs](https://apify.com/adaptive_labs) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## GitHub Stargazer Contacts by Adaptive Labs

See who is starring a GitHub repository and get the **public contact details each person has chosen to publish on their own GitHub profile**: email, website, X (Twitter) username and company, plus the date they starred the repo.

Use it to understand who is interested in your open-source project or a competitor's, and to find developer communities around a technology. It works **without a GitHub token** (recent stargazers from the public activity feed), and with an optional free token it reads the full stargazer list.

### What you get

- Stargazers of any public repository, newest first, with the date each person starred it
- Only the fields people publish themselves: public email, website, X/Twitter username and company
- People who publish none of these fields are skipped, so every row is useful
- Works without a token (about 30 recent stargazers per repo); add an optional GitHub token for the full list
- Only-new mode with a monitor name: schedule it to see new stargazers each day

### Who uses it

- **Open-source maintainers and DevRel**: get to know the developers and companies adopting your project
- **Developer tool startups**: find companies whose engineers star tools in your space
- **Community managers**: invite engaged stargazers to betas, Discords or events
- **Researchers**: study which companies engage with which technologies

### Quick start (under a minute)

1. Enter one or more repositories as `owner/repo` (the example `facebook/react` works out of the box).
2. Optionally paste a **GitHub token** to go beyond the 30 most recent stargazers.
3. Click **Start**. Each stargazer with public contact details becomes one row.
4. For a daily feed of new stargazers, turn on **Only new since last run**, set a **Monitor name** and add a schedule.

### Input example

```json
{
  "repos": [
    "facebook/react",
    "vercel/next.js"
  ],
  "maxStargazers": 100,
  "onlyNew": true,
  "monitorName": "react-stars"
}
```

#### Input fields

- **repos**: owner/repo, github.com/owner/repo or a full https://github.com/owner/repo URL.
- **githubToken**: Optional. Create one at github.com/settings/tokens (a fine-grained token with public read access is enough). It is only sent to api.github.com.
- **maxStargazers**: Per repository, newest first.

### Output example

```json
{
  "repo": "facebook/react",
  "login": "example-dev",
  "profileUrl": "https://github.com/example-dev",
  "starredAt": "2026-11-09T18:22:05Z",
  "email": "hello@example.dev",
  "website": "https://example.dev",
  "twitterUsername": "exampledev",
  "company": "Example Ltd",
  "scrapedAt": "2026-11-10T09:00:00.000Z"
}
```

#### Output fields

- **email, website, twitterUsername, company**: Copied from the person's public GitHub profile; null when not published.
- **starredAt**: When the person starred the repository.

### Use it from your code or tools

**Apify API (cURL)**: start a run and get the results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/adaptive_labs~github-stargazer-contacts/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"repos": ["facebook/react"], "maxStargazers": 30}'
```

**JavaScript / TypeScript**

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('adaptive_labs/github-stargazer-contacts').call({
  "repos": [
    "facebook/react"
  ],
  "maxStargazers": 30
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("adaptive_labs/github-stargazer-contacts").call(run_input={
  "repos": [
    "facebook/react"
  ],
  "maxStargazers": 30
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**No-code and AI agents**

- **Make, Zapier, n8n, Google Sheets, Slack**: use the Apify integration for your tool, pick this Actor and map the dataset fields.
- **Schedules and webhooks**: add the Actor to an Apify schedule (for example every morning) and send results anywhere with a webhook.
- **AI agents and MCP**: this Actor works with the Apify MCP server, so Claude, ChatGPT, Cursor and other MCP clients can call it as a tool. Clean, flat JSON output is easy for LLMs to read.
- **Export**: download results as JSON, CSV, Excel, XML or HTML from the Storage tab.

### FAQ

**Do I need a GitHub token?**
No. Without one you get up to about 30 recent stargazers per repository from GitHub's public activity feed. With a free token you can read the full stargazer list and avoid GitHub's low hourly limit for anonymous requests.

**Why are some stargazers missing?**
Only people who publish at least one contact field (email, website, X username or company) on their profile are saved.

**Does it find private emails?**
No. It never guesses, looks up or enriches emails from other sources. It only reads what each person has made public on GitHub.

**Can I track new stargazers over time?**
Yes. Use only-new mode with a monitor name and schedule the Actor daily.

**What about GitHub rate limits?**
Anonymous requests are limited per hour, so the Actor stops cleanly at the limit and keeps what it saved. A token raises the limit a lot.

### Pricing

This Actor is **free to use**. You only pay for your own Apify platform usage (compute), and small runs use very little compute, so light use fits within the free monthly credit on Apify's free plan.

### Feedback and support

We build and maintain this Actor at **Adaptive Labs** and we read every message.

- If it helped you, please **leave a quick review** on the Actor page. It really helps other people find it.
- Feature requests, bugs or a source you would like added: email **support@adaptivelabs.app** or open an issue on the Issues tab.

### Responsible use

This Actor only reads information that users have published on their own GitHub profiles and does not collect anything kept private. You are responsible for how you use the data: follow GitHub's Acceptable Use Policies and privacy and marketing laws such as UK GDPR, EU GDPR, PECR and CAN-SPAM before contacting anyone, give people a clear way to opt out and honour it. This Actor is not affiliated with GitHub.

# Actor input Schema

## `repos` (type: `array`):

GitHub repositories as owner/repo, github.com/owner/repo or a full https://github.com/owner/repo URL. For example facebook/react.

## `maxStargazers` (type: `integer`):

How many stargazers to check for each repository, newest first. Without a GitHub token the limit is about 30 recent stargazers per repository.

## `onlyNew` (type: `boolean`):

Skip people already saved by an earlier run with the same monitor key.

## `monitorName` (type: `string`):

Name of the saved state for only-new mode. Use a different key for each watch list.

## `githubToken` (type: `string`):

Optional. Without a token the Actor still works and returns up to 30 recent stargazers per repository from GitHub's public activity feed. Add a GitHub personal access token (no scopes needed for public repos) to read the full stargazer list up to Max stargazers per repo and get a much higher rate limit. Paste only the raw token, with no "Bearer" prefix. It is never logged or saved.

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

Optional. The GitHub API normally works without a proxy.

## Actor input object example

```json
{
  "repos": [
    "facebook/react"
  ],
  "maxStargazers": 100,
  "onlyNew": false,
  "monitorName": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `contacts` (type: `string`):

Default dataset of disclosed contact details (overview view).

# 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 = {
    "repos": [
        "facebook/react"
    ],
    "maxStargazers": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("adaptive_labs/github-stargazer-contacts").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 = {
    "repos": ["facebook/react"],
    "maxStargazers": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("adaptive_labs/github-stargazer-contacts").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 '{
  "repos": [
    "facebook/react"
  ],
  "maxStargazers": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call adaptive_labs/github-stargazer-contacts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adaptive_labs/github-stargazer-contacts"
        }
    }
}
```

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/0bYSXcfSANMN5sfQv/builds/LP8s4wUD0hTMBvi2I/openapi.json
