# GitHub, X/Twitter & Facebook Handle to LinkedIn Profile (`b2bsearch/social-handle-lookup`) Actor

Resolve a GitHub, Twitter/X or Facebook handle to the person’s LinkedIn profile: name, current role, employer, career history and their other social links. $3.20 per 1,000 matched, with emails and phones $8 per 1,000 with a live contact. Page links that name no account are refused free.

- **URL**: https://apify.com/b2bsearch/social-handle-lookup.md
- **Developed by:** [B2B Enrich Search](https://apify.com/b2bsearch) (community)
- **Categories:** Lead generation, Social media, AI
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 handle matched (summary)s

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

> **$3.20 per 1,000 matched handles. Not found costs $0.** Resolve a GitHub,
> X/Twitter or Facebook handle to the person's LinkedIn profile: name,
> current role, employer, career history and their other social links.

Paste bare handles (`getify`) or profile links
(`https://github.com/getify`). One network per run, picked in `network`.

Links that do not name an account are refused as free `invalid` rows, never
looked up: Facebook `profile.php?id=…`, `people/…`, `home.php` and
`login.php` pages, X/Twitter `home` or `search`, GitHub `orgs/…`. Short and
mobile links (`fb.me/…`, `m.facebook.com/…`) and X intent links
(`intent/user?screen_name=…`) are unwrapped to the account. A link from
another network is refused rather than misread.

This is a database lookup, not a live scrape, over 800M+ professional
profiles.

### Who is this for

- Dev-tool GTM: turn GitHub stargazers and contributors into titled,
  located people.
- Creator and community outreach: the professional behind an X/Twitter or
  Facebook handle.
- CRM hygiene: link social followers to the accounts you already track.

### Input

```json
{
  "network": "github",
  "handles": ["getify", "https://github.com/torvalds"],
  "contacts": false,
  "mustHave": []
}
```

### Emails and phones: `contacts`

Turn on `contacts` to get the recorded email addresses and phone numbers
with each profile. The best address and a phone are lifted into their own
columns: `email`, `emailType` (`work` / `personal`), `employerMatch`,
`workEmails`, `personalEmails`, `emailCount`, `phone`, `phones`.

You pay the contacts price, **$8 per 1,000**, only for a person with a
contact that reaches them today:

- a personal mailbox (gmail, outlook, ISP mail);
- an address on the domain of their **current** employer;
- a phone the service labels as direct (not a switchboard).

Everyone else is delivered at the $3.20 profile price, old work addresses
included. The `_tier` column says which price each row was charged at.
Phone labels arrive with the next data rebuild; until then numbers ship
unlabelled and never earn the contacts price by themselves.

How often that is, measured on 30 September 2026 over 200 employed
professionals per country: the contacts price applied to 53% of people in
the US, 42% in India, 40% in France, 33% in the UK and 32% in Germany.
Everyone else shipped at the lower price.

### Only people who have what you need: `mustHave`

List what a person must have for you to pay: `email`, `personalEmail`,
`workEmail`, `currentWorkEmail`, `phone`, `github`, `twitter`, `facebook`.
A person who is found but lacks one comes back as a free
`missing_required` row that says what was missing (and names nobody).
Social links are checked on every run; the email and phone requirements
need `contacts` on, and a run that asks for them without it is refused
before anything is charged.

### Output

One row per handle. An excerpt of a found row:

```json
{
  "_status": "found",
  "_input": { "github": "torvalds" },
  "_freshness": "fresh_90d",
  "profileUrl": "https://www.linkedin.com/in/…",
  "location": "Portland, Oregon, United States",
  "countryCode": "us",
  "companyName": "Linux Foundation",
  "_view": "lite-v4",
  "fullName": "Linus Torvalds",
  "jobTitle": "Fellow",
  "experience": { "work": [ { "title": "Fellow", "company": "Linux Foundation", "endDate": null } ] },
  "contactInformation": { "socialLinks": { "githubUrl": "https://github.com/torvalds", "profileUrl": "https://www.linkedin.com/in/…" } }
}
```

*(illustrative excerpt; the row also carries `about`, `skills`,
`education`, `seniority` and connection counts)*

With `contacts` on, the same kind of row gains the contact columns
(values below are made up):

```json
{
  "_status": "found",
  "_tier": "contacts",
  "fullName": "Jane Doe",
  "companyName": "Acme",
  "profileUrl": "https://www.linkedin.com/in/jane-doe-example",
  "email": "jane.doe@acme.example",
  "emailType": "work",
  "employerMatch": true,
  "workEmails": ["jane.doe@acme.example", "jdoe@oldjob.example"],
  "personalEmails": ["jane.doe@example.com"],
  "emailCount": 3,
  "phone": "+15550100123",
  "phones": [{ "number": "+15550100123", "sharedBy": 1, "companyLine": false }]
}
```

The **Output tab** has three views: *Overview*, *Career & education* and
*Contacts & signals*.

### Pricing

| Event | Price | When |
|---|---|---|
| Handle matched | $0.0032 | matched handle, full career row |
| Handle matched (with contacts) | $0.008 | `contacts` on and a contact that reaches the person today |
| Not found / invalid / `missing_required` | **$0** | always free |
| The same handle twice, any capitalization | **$0** | looked up once, charged once |

### FAQ

**Which networks?** GitHub, X/Twitter and Facebook, one per run.

**Why was my Facebook link refused?** Links such as
`facebook.com/profile.php?id=…` carry a numeric id, not a username, and
cannot be matched. Use the `facebook.com/<username>` link instead.

### Use GitHub, X/Twitter & Facebook Handle to LinkedIn Profile with AI agents and MCP

This Actor works as a tool for AI agents. Add it to Claude, ChatGPT, Cursor or any other MCP client through the Apify MCP server:

```
https://mcp.apify.com?tools=b2bsearch/social-handle-lookup
```

- **Fast enough for a tool call.** A small request finishes in seconds, so the agent gets its answer inside one call.
- **The agent pays only for results.** Prices are per result (see the pricing section above) and every miss is a free row. Cap what one call may spend with `maxTotalChargeUsd`.
- **Rows explain themselves.** Each row has a `_status`; a row that is not a result says why in `_error`, so the agent can decide what to do next without guessing.
- **Compact rows for a context window.** `"compact": true` returns a short row — about 2 KB for a full profile instead of 10+ KB: identity, current role, the 5 latest positions, education, top skills and any contacts. Same price; leave it off to get the complete record.

Input an agent can send as is:

```json
{
  "network": "github",
  "handles": [
    "getify"
  ],
  "compact": true
}
```

The same Actor is available as a tool in LangChain, CrewAI and the OpenAI Agents SDK, and as a step in n8n, Make and Zapier through the Apify integrations.

### Which actor in this family?

One database, ten doors. Misses are free on every one of them.

| Actor | Input → output |
|---|---|
| [Profile Lookup](https://apify.com/b2bsearch/profile-lookup) | profile URL → full career profile |
| [Reverse Email Lookup](https://apify.com/b2bsearch/reverse-email-lookup) | email → person, profile URL and employer |
| [Name to Profile](https://apify.com/b2bsearch/name-to-profile) | name + company domain → profile |
| **Social Handle Lookup** (this one) | GitHub, X/Twitter or Facebook handle → profile |
| [Bulk People Enrichment](https://apify.com/b2bsearch/bulk-people-enrichment) | CSV of emails, URLs, handles or names → profiles |
| [LinkedIn Email Finder](https://apify.com/b2bsearch/linkedin-email-finder) | profile URL → email addresses on record |
| [Work Email Finder](https://apify.com/b2bsearch/work-email-finder) | name + company domain → work email candidates |
| [Company Employees](https://apify.com/b2bsearch/company-employees) | company domain → current staff |
| [People Database Search](https://apify.com/b2bsearch/people-database-search) | filters → people |
| [Company Database Search](https://apify.com/b2bsearch/company-database-search) | filters → companies |

### Disclaimer

This Actor is an independent product. It is not affiliated with, endorsed by
or sponsored by LinkedIn, GitHub, X/Twitter or Facebook. It does not access, crawl or scrape any of them at
run time: answers come from our own database of publicly available
professional data, and the network names only describe the kind of data it
covers. To have a person's data removed, open an issue on this Actor with only
the profile link — nothing else is needed, and it is removed from every listing.

# Actor input Schema

## `network` (type: `string`):

Which network the handles belong to: github, twitter or facebook. All handles in one run must be from the same network.

## `handles` (type: `array`):

One handle (or full profile link on the selected network) per line. Unmatched handles come back as free "not\_found" rows.

## `contacts` (type: `boolean`):

Adds the recorded email addresses and phone numbers, with the best address and a direct phone in their own columns. $8 per 1,000 people with a contact that reaches them today (a personal mailbox, an address on the current employer’s domain, or a direct phone); everyone else ships at the $3.20 per 1,000 profile price.

## `mustHave` (type: `array`):

Deliver and charge only people who have all of these. A person who is found but lacks one comes back as a free "missing\_required" row. Emails and phones need "Include emails & phones".

## `compact` (type: `boolean`):

Returns a short row instead of the full record: identity, current role, location, the 5 latest positions, education, top skills and any contacts — about 2 KB per person instead of 10+ KB. Made for AI agents and LLM pipelines with a context limit. Same price. Off by default: a run returns the complete record.

## Actor input object example

```json
{
  "network": "github",
  "handles": [
    "getify"
  ],
  "contacts": false,
  "compact": false
}
```

# 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 = {
    "network": "github",
    "handles": [
        "getify"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2bsearch/social-handle-lookup").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 = {
    "network": "github",
    "handles": ["getify"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2bsearch/social-handle-lookup").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 '{
  "network": "github",
  "handles": [
    "getify"
  ]
}' |
apify call b2bsearch/social-handle-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2bsearch/social-handle-lookup"
        }
    }
}
```

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/yAurAk3RNFYKWlIRP/builds/NvsFucZgHYRaBffbl/openapi.json
