# Candidate Search by Skills, Title and Country (`b2bdata/candidate-search`) Actor

Candidate search by skills, job title and country: one deduplicated profile row per match with title, company, location, profile URL and the skills found in the headline. Free plan: 100 per run. Pay per candidate. No login or cookies. Not a company roster.

- **URL**: https://apify.com/b2bdata/candidate-search.md
- **Developed by:** [Open Enrich](https://apify.com/b2bdata) (community)
- **Categories:** Lead generation, Jobs, AI
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 candidate delivereds

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

## Candidate Search by Skills, Title and Country

Candidate search: give skills, job-title words and countries, get one row per matching profile, with name, current title and company, location, profile URL, the skills found in the headline and flags for whether an email is on file. A person with several profile records is one row. No login, no cookies. You pay only for a candidate row you receive.

**No login | Skills + job titles + countries in | One candidate per row | A free match count in the run status | Equal share of the limit per country | Empty searches = $0.0005 start fee only | JSON/CSV export**

> **Skills, titles and countries in, candidates out.** Use it to build a shortlist of people with a skill in a place: "python and kubernetes, software or devops engineers, in the UK". The skills are matched as whole words in the profile headline, not in the skills section of a profile, so it finds people who put the skill in their headline. It does not return email addresses, only whether one is on file. For emails chain it with [email-finder](https://apify.com/b2bdata/email-finder).

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### Pricing and plans

One event, `candidate`, charged once per candidate row delivered. Prices per 1,000 candidates (set on the Pricing tab):

| Event | When it is charged | Free plan | Gold plan |
|---|---|---|---|
| `candidate` | A candidate row is delivered to your dataset | $1.396 | $1.096 |

Bronze and Silver prices are on the Pricing tab. Higher Apify plans only lower the price. Searches that fail, rows skipped by the checks below and notices are free. An empty run costs only the $0.0005 start fee.

Opt-in add-ons, off by default: `includePhones` charges `phone-found` ($4.996 per 1,000 on the Free plan, $2.996 on Gold) and `includeEmails` charges `email-found` ($0.963 per 1,000 on the Free plan, $0.696 on Gold). Each is charged once per person, only when a phone number or a current work email is found, after the row itself. People without one cost nothing extra.

**Plan-credit math.** The free plan's $5 monthly credit covers about 3,580 candidates at the Free price.

#### Success-only billing

You are charged only for a candidate row you receive. A search with no match gets one free notice row (`reason: "no_candidates"`). A search that fails is listed in `MISSES` with its country and a reason and costs nothing. A second profile record of a candidate you already received, and a row that does not carry what you asked for, are skipped and never charged.

#### The free plan

Free Apify accounts get up to 100 candidates per run, and as many runs as their Apify credit covers. Nothing is stored on our side. When `limit` is higher, it is lowered to 100 and one free notice row (`reason: "free_plan_limit"`) says so. Use a paid Apify plan for no per-run limit.

#### Keep a run small while you test

`limit` (default 25, maximum 1,000) caps the whole run and what is charged. Try `limit: 5`, read the rows, then scale up. The run status shows how many profiles match in total, for free, before anything is delivered.

***

### Why this candidate search?

- **Three filters that agents and people actually have.** Skills, current job title and country. Each word list is OR inside the list, the three lists are AND.
- **Whole words, no look-alikes.** `java` does not match `JavaScript`, `engineer` does not match `Engineering`. Say `software engineer` and `software developer` both if you want both.
- **A fair split across countries.** The data returns rows in country order, so one search over `["gb", "us", "ca"]` would fill up with the alphabetically first country (measured: 10 of 10 rows from Canada). This actor runs one search per country, in the order you give, each with an equal share of `limit`.
- **Which skill matched.** Each row says which of your skills its headline carries (`matchedSkills`).
- **Moved people left out.** An earlier snapshot of a person who has since left the matched job is dropped before it reaches you.
- **Success-only.** Failed searches, skipped rows and notices are free. An empty run costs only the $0.0005 start fee.

***

### Use cases: build a shortlist

- **Sourcing a role.** `skills: ["react", "typescript"]`, `titles: ["frontend engineer"]`, `countries: ["de", "nl"]`.
- **Talent market check.** Read the match count in the run status before you decide how many to pull.
- **Hiring for a niche skill.** Skills alone, no title: `["terraform", "kubernetes"]` in one country.
- **Agent workflows.** An AI agent turns a job description into skills, titles and countries and gets a shortlist in one call.

***

### Quick start

#### 1. Five candidates

```json
{ "skills": ["python"], "titles": ["software engineer"], "countries": ["gb"], "limit": 5 }
```

#### 2. Skills only, two countries

```json
{ "skills": ["kubernetes", "terraform"], "countries": ["de", "nl"], "limit": 40 }
```

Each country gets 20.

#### 3. Titles only

```json
{ "titles": ["data scientist", "machine learning engineer"], "countries": ["de"], "limit": 50 }
```

***

### Inputs

| Key | Type | Default | What it does |
|---|---|---|---|
| `skills` | array of strings | none | Skill words, 3 to 64 characters, up to 10. A person is kept when the profile headline has one of them as a whole word. A skill shorter than 3 characters (`go`, `r`, `c#`) is refused: use `golang`. Give `skills`, `titles`, or both. |
| `titles` | array of strings | none | Job-title words, 3 to 64 characters, up to 10. A person is kept when a current job title has one of them as a whole word. |
| `countries` | array of strings | anywhere | Two-letter country codes, up to 5. People with no country on file never match. With several, each gets an equal share of `limit`. |
| `limit` | integer | 25 | Most candidates delivered in the run, which also caps what is charged. Maximum 1,000. Free plan: 100 per run. |
| `includeAudit` | boolean | false | Adds an `audit` object to each row. |

A country alone is refused (it would list everyone in a country). Any other field stops the run before a search with `remove unsupported fields: ...`. Nothing is charged.

***

### Output

One result row per candidate. Rows for one country stay together, countries keep input order. Empty values are left out.

| Key | Type | Meaning, and when it is missing |
|---|---|---|
| `fullName`, `firstName`, `lastName` | string | The person's name. A profile with no name at all is skipped |
| `jobTitle` | string | Title of the current position that matched. Missing for a person with no current position (only when you gave no `titles`) |
| `seniority` | string | `cxo`, `vp`, `director`, `manager`, `founder` or `other`, grouped from that title. Most people are `other` |
| `company` | string | Company name of that position |
| `companyDomain` | string | Website domain the company declares. Missing when it declares none. Small companies sometimes declare a link page or a platform |
| `headline` | string | The profile headline |
| `matchedSkills` | array of strings | Which of your `skills` the headline carries. Missing when you gave no `skills` |
| `location` | string | Place on the profile |
| `country` | string | Two-letter country code |
| `startYear` | integer | Year the person started that position. Missing when it is not on file |
| `connections` | integer | Connection count on the profile |
| `hasWorkEmail` | boolean | A work address (not a personal mailbox) is on record. Missing when that could not be checked |
| `hasPersonalEmail` | boolean | A personal mailbox is on record. Missing when that could not be checked |
| `lowSignal` | boolean | `true` for a thin profile: fewer than 10 connections and no known career start |
| `profileUrl` | string | Public profile URL |
| `slug` | string | Profile slug |
| `updatedAt` | string | When the profile was last refreshed in the data |
| `audit` | object | Only with `includeAudit`: `requestId`, `latencyMs`, `inputRaw` |

Example output (the shape is real, the values are illustrative):

```json
{
  "fullName": "Ann Example",
  "firstName": "Ann",
  "lastName": "Example",
  "jobTitle": "Senior Software Engineer",
  "seniority": "other",
  "company": "Example Ltd",
  "companyDomain": "example.com",
  "headline": "Senior Software Engineer | Python, Kubernetes, AWS",
  "matchedSkills": ["python", "kubernetes"],
  "location": "London, England, United Kingdom",
  "country": "GB",
  "startYear": 2021,
  "connections": 500,
  "hasWorkEmail": true,
  "hasPersonalEmail": false,
  "lowSignal": false,
  "profileUrl": "https://linkedin.com/in/ann-example",
  "slug": "ann-example",
  "updatedAt": "2025-01-02T03:04:05Z"
}
```

#### How to read the rows (precision limits)

- **Skills come from the headline only.** A strong candidate who lists Python in the skills section but not in the headline is not found. Treat the list as people who advertise the skill, not as everyone who has it.
- **Headline words are self-written.** A headline can claim a skill the person barely uses. `matchedSkills` shows what matched; open the profile before you rely on it.
- **Job titles match whole words.** `software engineer` finds "Senior Software Engineer" and does not find "Software Engineering Student". List the variants you want.
- **Not ranked.** Rows come in the order the data returns them (by country, then by person), not by fit or seniority. Within a country the first rows are not the best ones.
- **The match count is approximate.** The status count is the number of profiles the filters match before the checks and before moved people are dropped, so you may receive fewer rows than it says. Beyond 100,000 it reads "at least".
- **The company can be noisy.** The company is the employer on the matched position, and its domain is the one the company declares. A few rows show a link page or a platform as the domain.
- **Profile data can lag.** A person may have changed jobs since the profile was last refreshed; `updatedAt` says when.
- **Several countries.** Each country is its own search with an equal share. A country with fewer matches than its share leaves that share unused.

#### Other records in the run

- **`MISSES`** (key-value store): `[{input, reason}]` for each search (a country, or `search` when no country was given) that failed, with `Upstream HTTP <code>`.
- **`errors-candidate-search`** (key-value store): the same failures, so you can re-run only those countries. A note `(partial: ...)` means some candidates were already delivered.
- **`RUN_SUMMARY`**: the limit, how many profiles match, candidates delivered, repeats skipped, rows skipped by the checks and, per country, how many were delivered.
- **Notice rows** (`type: "notice"`) appear for a search with no match (`no_candidates`), a free-plan limit that was lowered (`free_plan_limit`), a reached spend limit (`charge_limit_reached`) or invalid input (`invalid-input`). Notices are never charged.

#### What is NOT returned

- Email addresses or phone numbers (use [email-finder](https://apify.com/b2bdata/email-finder))
- Work history, skills lists or education (use [linkedin-profile-by-url](https://apify.com/b2bdata/linkedin-profile-by-url))
- Recruiters at a company (use [recruiter-finder](https://apify.com/b2bdata/recruiter-finder))
- A company's staff list (use [people-at-company](https://apify.com/b2bdata/people-at-company))
- A fit score or a ranking of candidates

***

### Reliable results

**Our data promise.** We work to keep the data current, and we stand behind it. If a candidate has moved on or a row looks wrong, open the Issues tab with your run link. We review every report and sort it out with you, case by case.

- **No match is visible and carries no result charge.** A search with nothing to deliver gives one free notice row and no charge.
- **Repeats are charged once.** The same person under several profile records, in any spelling of the profile URL, is one row.
- **Each row is saved as it is delivered.** A run that stops, or a search that fails halfway, keeps what it already produced.
- **Typos fail early.** An unsupported input field, a word that is too short, a bad country code or a limit above its maximum stops the run before any charge.
- **Bounded pace.** Searches run at about 60 a minute. The run timeout is one hour.

***

### For AI agents (MCP)

This actor runs through the Apify MCP server. Prompt to copy:

> "Use b2bdata/candidate-search with skills=\["python", "kubernetes"], titles=\["software engineer", "devops engineer"], countries=\["gb"] and limit=20. Return fullName, jobTitle, company, matchedSkills and profileUrl."

**When to use it.** You have a role or a skill profile and need people with that skill in given countries.
**When not to.** You need the staff of a named company (use b2bdata/people-at-company), recruiters (use b2bdata/recruiter-finder), emails (use b2bdata/email-finder) or a full profile (use b2bdata/linkedin-profile-by-url).
**Input contract.** `skills` and/or `titles` (at least one; 3-64 characters each, up to 10), optional `countries` (two-letter codes, up to 5), `limit` 1-1,000 (default 25).
**Output contract.** One row per candidate with `fullName`, `jobTitle`, `company`, `matchedSkills`, `profileUrl`. Output is schema-stable. A search without data is a free notice row.
**Smoke test.** `limit: 1` with `skills: ["python"]` returns one row.
**Error cases.** `remove unsupported fields`, a country given without a skill or a title, a word shorter than 3 characters or a bad number ends the run SUCCEEDED with one free `invalid-input` notice row and nothing charged.

***

### Integrations: send results anywhere

1. **API.** Fetch rows from the run's default dataset: `GET /v2/datasets/{datasetId}/items?format=csv`.
2. **Webhook** on run success to push rows to your own endpoint.
3. **n8n, Make, Zapier.** Use the native Apify nodes: run the actor, then read the dataset.
4. **Google Sheets, Airtable, Clay, your ATS.** Map `fullName`, `jobTitle`, `company` and `profileUrl` to candidate fields.

***

### Schedule examples

- **Weekly shortlist.** A schedule with a saved task for one role, read the new rows each Monday.
- **Skill market watch.** A schedule that runs with `limit: 1` and reads the match count in the run status.

***

### Related actors

- `b2bdata/people-at-company`: every person found at a company domain, filtered by seniority. [Open](https://apify.com/b2bdata/people-at-company)
- `b2bdata/recruiter-finder`: recruiters and talent acquisition people by company or country. [Open](https://apify.com/b2bdata/recruiter-finder)
- `b2bdata/linkedin-people-search`: search people across companies by title and location. [Open](https://apify.com/b2bdata/linkedin-people-search)
- `b2bdata/linkedin-profile-by-url`: the full profile for a profile URL. [Open](https://apify.com/b2bdata/linkedin-profile-by-url)
- `b2bdata/email-finder`: a work email for a person at a domain. [Open](https://apify.com/b2bdata/email-finder)

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### FAQ

#### Data and coverage

**How do I find candidates with a skill in a country?**
Put the skill in `skills` and the country code in `countries`, and add job-title words in `titles` to narrow it. You get one row per candidate with name, title, company, location and profile URL.

**Does it search the skills section of a profile?**
No. It matches skill words in the profile headline. People who list a skill only in the skills section are not found.

**Why did I get fewer candidates than the match count?**
The count is the number of profiles the filters match before the checks. Rows that do not carry what you asked for, repeats and people who moved on are left out, and `limit` caps the run.

**How is this different from the recruiter finder and the people search?**
The recruiter finder lists recruiters and talent acquisition people. The people search lists people by title and location. This one adds skills and is built for sourcing: skills, job titles and countries together, with a match count and a fair split across countries.

**Can I search for "Go" or "C#"?**
Words shorter than 3 characters are refused by the data source. Use `golang` for Go. `c#` and `r` cannot be searched on their own.

**Do I get email addresses?**
No. `hasWorkEmail` and `hasPersonalEmail` say whether an address is on record. Use `b2bdata/email-finder` to find one.

#### Pricing

**What do I pay when nothing matches?**
No result is charged: empty searches, failed searches, skipped rows and notices are free.

***

### Support

Use the **Issues** tab on this actor's Apify page for bugs, questions and feature requests. We answer within 48 hours on working days. Please include the run ID and the input you used. Published on Apify by b2bdata. Not affiliated with, endorsed by, or sponsored by any company or person named in the examples above.

# Changelog

This Actor's version history is a separate document: https://apify.com/b2bdata/candidate-search/changelog.md

# Actor input Schema

## `skills` (type: `array`):

Skill words a candidate's profile headline must contain, 3 to 64 characters, up to 10; a person is kept when the headline has at least one of them as a whole word, in any letter case. Example: \["python", "kubernetes"]. "java" does not match "JavaScript". Skills that are only in the skills section of a profile are not searched, and a skill shorter than 3 characters ("go", "r", "c#") is refused: use "golang". Give skills, titles, or both.

## `titles` (type: `array`):

Job-title words, 3 to 64 characters, up to 10; a person is kept when a current job title contains at least one of them as a whole word, in any letter case. Example: \["software engineer", "devops engineer"]. "engineer" does not match "Engineering". Give skills, titles, or both.

## `countries` (type: `array`):

Two-letter country codes of where the person is based, up to 5. Example: \["us", "gb"]. With several countries each gets an equal share of limit, in the order given. People with no country on file never match. Leave empty for anywhere.

## `limit` (type: `integer`):

Most candidates delivered in the run, which also caps what is charged. Default 25, maximum 1000. Free plan: 100 per run. A free count of how many profiles match is shown in the run status.

## `includePhones` (type: `boolean`):

Adds a phone number to each person who has one on file, in phone and phones. Add-on price: $4.996 per 1,000 phone numbers found on the Free plan ($2.996 on Gold), charged once per person and only when a number is found. People without a phone cost nothing extra. Off by default.

## `includeEmails` (type: `boolean`):

Adds the current work email of each person who has one on file, in workEmail. Add-on price: $0.963 per 1,000 work emails found on the Free plan ($0.696 on Gold), charged once per person and only when an email is found. People without a work email cost nothing extra. Off by default.

## `includeAudit` (type: `boolean`):

Adds requestId, latencyMs and inputRaw to each row under audit. Omit for clean rows.

## Actor input object example

```json
{
  "skills": [
    "python",
    "kubernetes"
  ],
  "titles": [
    "software engineer",
    "devops engineer"
  ],
  "countries": [
    "gb"
  ],
  "limit": 25,
  "includePhones": false,
  "includeEmails": false,
  "includeAudit": false
}
```

# Actor output Schema

## `candidates` (type: `string`):

One deduplicated row per candidate: name, title, company, location, profile URL, the skills found in the headline and email flags

## `summary` (type: `string`):

Counts, how many profiles match, rows skipped and stop reason for this run

# 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 = {
    "skills": [
        "python",
        "kubernetes"
    ],
    "titles": [
        "software engineer",
        "devops engineer"
    ],
    "countries": [
        "gb"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2bdata/candidate-search").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 = {
    "skills": [
        "python",
        "kubernetes",
    ],
    "titles": [
        "software engineer",
        "devops engineer",
    ],
    "countries": ["gb"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2bdata/candidate-search").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 '{
  "skills": [
    "python",
    "kubernetes"
  ],
  "titles": [
    "software engineer",
    "devops engineer"
  ],
  "countries": [
    "gb"
  ]
}' |
apify call b2bdata/candidate-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2bdata/candidate-search"
        }
    }
}
```

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/SksDB7XJXUciv341e/builds/JGJuT4fNQEXf01TDh/openapi.json
