# Google X-Ray Lead Finder: LinkedIn & GitHub Leads (`xyrelith-data/google-xray-lead-finder`) Actor

Build Google x-ray queries for LinkedIn people and companies, GitHub developers and German-style Impressum pages, then parse each hit into a lead row with name, headline, company, location, profile URL and snippet.

- **URL**: https://apify.com/xyrelith-data/google-xray-lead-finder.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Google X-Ray Lead Finder: LinkedIn & GitHub Leads

Find public LinkedIn profiles and company pages, GitHub developer profiles, and German, Austrian or Swiss Impressum leads through Google x-ray search — without logging in to any target site. You describe who you want, the actor builds the `site:` plus operator query, reads the public Google result page, resolves each hit to its real destination URL, and returns one clean lead row per hit.

### What this actor does

- **LinkedIn people** — search public `linkedin.com/in` profiles by job title, keywords, company, location and seniority. Every row carries the person's name, headline, company (when the public snippet shows it), location, profile URL, snippet, Google rank and the exact query used.
- **LinkedIn companies** — search public `linkedin.com/company` pages by keyword or industry and location, with an optional size band. Rows carry the company name, industry, company size, headquarters, company type, follower count and company page URL.
- **GitHub developers** — search public GitHub profiles by programming language, location and keywords. Repository and issue pages are filtered out, so the dataset contains developer profiles with name, username, bio/headline, location and profile URL.
- **Impressum leads** — search German, Austrian and Swiss legal-notice pages by industry and city. The actor visits each public Impressum page and reads the company name, managing director, street address, postal code, city, phone, email, commercial-register number and court, and VAT ID.
- **Custom x-ray** — paste any Google query, including `site:`, `intitle:`, `inurl:` and `-exclusions`, and get the same lead rows for whatever public pages Google returns.

Google normally exposes about 300 results per query. The actor pages through that window (up to 30 result pages per query), deduplicates across queries, and stops when it reaches your `maxItems` limit or the source runs out.

### Output fields

Each row is omit-empty: a field appears only when the public result or page actually shows it.

| Field | Meaning |
|---|---|
| `mode` | `linkedinPeople`, `linkedinCompanies`, `githubDevelopers`, `impressum` or `custom` |
| `platform` | `linkedin`, `github`, `impressum` or `web` |
| `name` | Person, company or page title |
| `headline` | LinkedIn headline, company description, GitHub bio or Google snippet summary |
| `company` | Company named in the title or snippet; for company mode, the company itself |
| `location` | Location printed in the public snippet or page |
| `profileUrl` | Real destination URL, not a Google redirect |
| `username` | GitHub username (GitHub mode) |
| `industry` | LinkedIn company industry |
| `companySize` | LinkedIn company size band, when published |
| `headquarters` | LinkedIn company headquarters, when published |
| `companyType` | LinkedIn company type, when published |
| `followersCount` | Followers shown in the public snippet |
| `connectionsCount` | Connections shown in the public snippet (LinkedIn people) |
| `language` | Programming language you searched for (GitHub mode) |
| `legalForm` | Legal form parsed from the Impressum company name |
| `managingDirector` | Managing director or owner named in an Impressum |
| `street`, `postalCode`, `city`, `country` | Impressum address |
| `phone`, `email` | Public contact details from the Impressum |
| `registerNumber`, `registerCourt` | Commercial-register entry and court |
| `vatId` | VAT ID published on the Impressum |
| `impressumUrl` | URL of the parsed legal-notice page |
| `resultTitle`, `snippet`, `displayedUrl`, `domain` | The Google hit behind the row |
| `rank`, `page`, `query` | Google position, result page and exact query |
| `scrapedAt` | ISO timestamp |

### Input

#### Common settings

| Field | Default | Description |
|---|---|---|
| `mode` | `linkedinPeople` | Pick a ready-made target or custom query |
| `maxResultsPerQuery` | `25` | Google hits read per query (1–300) |
| `maxItems` | `100` | Total lead rows to emit (1–1000) |
| `countryCode` | `us` | Google country domain and ranking signal |
| `languageCode` | *(empty = English)* | Google interface language |
| `dedupe` | `true` | Keep one row per target URL |

#### LinkedIn people

Use `jobTitle`, `company`, `keywords`, `location`, `seniority` and `excludeTerms`. A typical query is built as `site:linkedin.com/in "machine learning engineer" "Berlin"`.

#### LinkedIn companies

Use `keywords` (industry or product words), `location`, `companySize` and `excludeTerms`.

#### GitHub developers

Use `githubLanguage`, `location`, `keywords` and `excludeTerms`. The actor runs a few query variants when needed so that developer profiles are not crowded out by repository results.

#### Impressum leads

Use `industry`, `city` and `impressumCountry` (`de`, `at`, `ch` or all three). The actor searches with `site:de "Impressum"`, `site:at "Impressum"` or `site:ch "Impressum"` and then reads the public legal-notice page. If the Google hit is a homepage or contact page, the actor follows the page's own Impressum / Imprint / Legal notice link once.

#### Custom x-ray

Put one complete query per line in `customQueries`, for example:

```json
{
  "mode": "custom",
  "customQueries": [
    "site:linkedin.com/in \"data engineer\" \"Austin\"",
    "site:github.com \"Berlin\" \"Rust\" \"followers\""
  ],
  "maxResultsPerQuery": 20,
  "maxItems": 40
}
```

### Example: LinkedIn people in Berlin

```json
{
  "mode": "linkedinPeople",
  "jobTitle": "machine learning engineer",
  "location": "Berlin",
  "seniority": "senior",
  "maxResultsPerQuery": 20,
  "maxItems": 20
}
```

The output contains rows such as:

```json
{
  "mode": "linkedinPeople",
  "platform": "linkedin",
  "name": "Melanie Tosik",
  "headline": "Senior Machine Learning Engineer ...",
  "company": "SoundCloud",
  "location": "Berlin, Deutschland",
  "profileUrl": "https://de.linkedin.com/in/melanietosik",
  "snippet": "Senior Machine Learning Engineer, Search @ SoundCloud ...",
  "rank": 2,
  "query": "site:linkedin.com/in \"machine learning engineer\" \"Berlin\" senior"
}
```

### Example: Impressum leads in Wien

```json
{
  "mode": "impressum",
  "industry": "Webagentur",
  "city": "Wien",
  "impressumCountry": "at",
  "maxResultsPerQuery": 10,
  "maxItems": 10
}
```

### Use cases

- **Recruiting and sourcing** — build a shortlist of public profiles by role, city, seniority or employer.
- **B2B prospecting** — find LinkedIn company pages and DACH businesses with a named managing director, email and phone.
- **Developer outreach** — find public GitHub profiles by language and location without spending GitHub API quota.
- **Market mapping** — see which companies and agencies rank for a niche plus a city.
- **CRM enrichment** — append public legal-entity data (register number, court, VAT ID) to an existing DACH company list.
- **Custom research** — use your own Google operators to target conferences, associations, blogs or any other public page.

### Data source and how it works

The actor reads public Google Search result pages and public destination pages. It never logs in to LinkedIn or GitHub and never opens a LinkedIn profile behind the login wall: LinkedIn data comes from the title and snippet Google already indexes. Impressum data comes from the public legal-notice page itself.

Google sometimes serves a JavaScript shell to datacenter IPs. The actor uses Google's public SERP endpoint through an appropriate proxy automatically, then resolves the result links through Google's own redirect endpoint. You do not need to configure a proxy, cookies, an API key or a LinkedIn/GitHub account. The actor chooses the cheapest working path on each request.

### FAQ

**Do I need a LinkedIn account or cookies?**
No. The actor only reads Google's public search result page. It does not open LinkedIn profiles, so there is no login, cookie or session to supply.

**Why is `company` or `location` sometimes empty on a LinkedIn row?**
Google's public snippet only includes what LinkedIn exposes to search engines. If the snippet does not print a company or location, the field is omitted rather than guessed. Adding those words to the search still narrows the result set.

**Why does the same person appear once even after several queries?**
`dedupe` is on by default and compares the real destination URL, ignoring Google tracking parameters and URL fragments.

**How many results can I get?**
Google's public interface exposes roughly 300 results per query. The actor reads up to 300 hits per query and up to 1,000 rows per run. For larger lists, split the search by city, title variant or company.

**Why is a GitHub result missing?**
Only profile pages are kept. Repository, issue, topic and organisation pages are filtered out. If a query is dominated by repositories, add a location or language or use another keyword.

**Does the Impressum mode invent contact data?**
No. Every value is read from the page's own text. If a site does not publish a managing director, phone number or register entry, that field is omitted. Some sites block automated visits; those hits are skipped and logged.

**Why can a profile URL start with a country subdomain such as `de.linkedin.com`?**
That is the destination Google links to. It is a real, working LinkedIn profile URL. No LinkedIn page is fetched by the actor.

**Can I use my own Google operators?**
Yes, in custom mode. Include `site:` yourself if you want to restrict the domain. The ready-made modes add the correct `site:` operator for you.

**Does the actor work for any country?**
Yes. Pick a Google country in `countryCode`. LinkedIn and GitHub results are global; the country setting changes the Google domain, ranking and interface language. Impressum mode is intentionally limited to Germany, Austria and Switzerland.

### Limitations

- Google controls the result window. A single query rarely returns more than about 300 hits, and the exact count changes over time.
- Google occasionally ignores `site:`/advanced filters on deep result pages. The actor verifies every hit against the requested site and retries; when Google keeps ignoring the filter, the query stops with the verified results it already has instead of returning off-site pages.
- LinkedIn rows contain only public search-result data. The actor does not bypass the LinkedIn login wall, so it cannot return experience, education, posts or contact details from a profile page.
- GitHub rows are profiles only. Repository and organisation results are filtered out by design.
- Impressum fields depend on what each site publishes and on the page being reachable without a login. Sites that hard-block automated requests are skipped.
- The actor never fabricates a phone number, email, director or register number. Missing fields stay absent.

### Related documentation

- Input and output schemas are in the actor's **Input** and **Output** tabs.
- The dataset can be exported as JSON, CSV, Excel or XML, or read through the Apify API.

# Actor input Schema

## `mode` (type: `string`):

Choose a ready-made x-ray target or write your own Google query.

## `maxResultsPerQuery` (type: `integer`):

How many Google hits to read per query. Google exposes roughly 300 results per query, so values above 300 are not useful.

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

Stop after this many lead rows across all generated queries.

## `countryCode` (type: `string`):

Google domain and country signal for the search. LinkedIn and GitHub results are global, but this changes ranking and language of the results page.

## `languageCode` (type: `string`):

Language of the Google results page. Leave empty to use English. This does not filter the language of the profile itself.

## `dedupe` (type: `boolean`):

Keep one row per profile or Impressum URL when several queries find the same lead.

## `jobTitle` (type: `string`):

LinkedIn people mode: the role you are looking for, e.g. machine learning engineer or head of sales. Keep it short; Google matches the words on the public profile.

## `company` (type: `string`):

LinkedIn people mode: only profiles that mention this company, e.g. Stripe.

## `keywords` (type: `string`):

LinkedIn people, LinkedIn companies and GitHub mode: comma-separated words or phrases that should appear in the result, e.g. fintech, python.

## `location` (type: `string`):

LinkedIn people, LinkedIn companies and GitHub mode: a city, region or country, e.g. Berlin or Greater London.

## `seniority` (type: `string`):

LinkedIn people mode: add common synonyms for this level to the query. The actor does not discard results that omit the word.

## `companySize` (type: `string`):

LinkedIn companies mode: a size band to include in the query.

## `githubLanguage` (type: `string`):

GitHub mode: language the developer should mention on their public profile.

## `industry` (type: `string`):

Impressum mode: the trade or industry to search for, e.g. Softwareentwicklung, Webagentur, Steuerberater.

## `city` (type: `string`):

Impressum mode: a city or region in Germany, Austria or Switzerland, e.g. Berlin or Wien.

## `impressumCountry` (type: `string`):

Impressum mode: search one country or all three DACH markets.

## `customQueries` (type: `array`):

Custom mode: one or more complete Google queries, e.g. site:linkedin.com/in "data engineer" "Austin". Each line is searched separately.

## `excludeTerms` (type: `string`):

Words to exclude from every query, separated by commas or spaces. They are added as -word.

## Actor input object example

```json
{
  "mode": "linkedinPeople",
  "maxResultsPerQuery": 3,
  "maxItems": 3,
  "countryCode": "de",
  "languageCode": "",
  "dedupe": true,
  "jobTitle": "machine learning engineer",
  "location": "Berlin",
  "seniority": "",
  "companySize": "",
  "githubLanguage": "Python",
  "impressumCountry": "de"
}
```

# Actor output Schema

## `leads` (type: `string`):

Dataset containing every parsed x-ray lead.

# 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 = {
    "mode": "linkedinPeople",
    "maxResultsPerQuery": 3,
    "maxItems": 3,
    "countryCode": "de",
    "jobTitle": "machine learning engineer",
    "location": "Berlin"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/google-xray-lead-finder").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 = {
    "mode": "linkedinPeople",
    "maxResultsPerQuery": 3,
    "maxItems": 3,
    "countryCode": "de",
    "jobTitle": "machine learning engineer",
    "location": "Berlin",
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/google-xray-lead-finder").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 '{
  "mode": "linkedinPeople",
  "maxResultsPerQuery": 3,
  "maxItems": 3,
  "countryCode": "de",
  "jobTitle": "machine learning engineer",
  "location": "Berlin"
}' |
apify call xyrelith-data/google-xray-lead-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/google-xray-lead-finder"
        }
    }
}
```

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/ECVZkUFMbYOdLsaUC/builds/dJ6tdg9v2Hh2SRWpG/openapi.json
