# Skip Trace (`twoapi/skip-trace`) Actor

- **URL**: https://apify.com/twoapi/skip-trace.md
- **Developed by:** [twoapi](https://apify.com/twoapi) (community)
- **Categories:** Lead generation, Real estate, SEO tools
- **Features:** Limited permissions
- **Stats:** 555 total users, 13 monthly users, 100.0% runs succeeded, 7 bookmarks
- **User rating**: 2.90 out of 5 stars

## Pricing

from $10.00 / 1,000 results

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

## Skip Trace - People Search Actor

Batch skip tracing actor that performs **name**, **phone**, **address**, and **email** lookups. Returns full profiles with addresses, phone numbers, emails, relatives, associates, and confidence scoring.

### Features

- **4 search types**: Name, Address, Phone Number, Email
- **Batch processing**: Submit multiple queries across all search types in a single run
- **Automatic fallback**: If the primary source returns no results, a secondary source is tried automatically
- **Confidence scoring**: Each result gets a confidence level (high / medium / low) based on match quality
- **Convenience fields**: `best_phone` and `best_email` as top-level fields for easy integration with n8n, Make, or Zapier

### Input

| Field | Type | Description |
|-------|------|-------------|
| `max_results_per_query` | integer | Max profile results per query (default: 1, max: 10) |
| `name` | string\[] | Name searches. Format: `Full Name` or `Name; City, ST Zip` |
| `street_citystatezip` | string\[] | Address searches. Format: `Street; City, ST Zip` |
| `phone_number` | string\[] | Phone searches. Any format accepted |
| `email` | string\[] | Email searches |

#### Example Input

```json
{
    "max_results_per_query": 1,
    "name": [
        "James E Whitsitt",
        "Amalia Castillo; Dallas, TX 75228"
    ],
    "street_citystatezip": [
        "3828 Double Oak Ln; Irving, TX 75061",
        "2334 Falcon Rd, Charleston, SC 29406"
    ],
    "phone_number": [
        "(214)349-3972",
        "(956) 536-1441"
    ],
    "email": [
        "nakialove6@gmail.com"
    ]
}
```

### Output

Each result is pushed to the default dataset with the following fields:

| Field | Type | Description |
|-------|------|-------------|
| `query` | object | The original search input |
| `source` | string | Data source used |
| `profile_url` | string | URL of the profile page |
| `first_name` | string | First name |
| `last_name` | string | Last name |
| `full_name` | string | Full name |
| `age` | string | Age |
| `addresses` | array | List of addresses (street, city, state, zip_code, full_address) |
| `phones` | array | List of phone numbers (number, phone_type) |
| `emails` | array | List of email addresses (address, provider) |
| `relatives` | array | List of relatives (name, relation) |
| `associates` | array | List of associates (name, relation) |
| `best_phone` | string|null | First/most relevant phone number |
| `best_email` | string|null | First/most relevant email address |
| `confidence` | string | Match confidence: "high", "medium", or "low" |
| `error` | string|null | Error message if the query failed |

#### Example Output

```json
{
    "query": {
        "search_type": "name",
        "first_name": "James",
        "last_name": "Whitsitt"
    },
    "source": "truepeoplesearch",
    "profile_url": "https://www.truepeoplesearch.com/find/person/pnr264490294u6460962",
    "first_name": "James",
    "last_name": "Whitsitt",
    "full_name": "James Whitsitt Jr",
    "age": "82",
    "addresses": [
        {
            "full_address": "8705 Aldwick Dr, Dallas, TX, 75238",
            "street": "8705 Aldwick Dr",
            "city": "Dallas",
            "state": "TX",
            "zip_code": "75238"
        }
    ],
    "phones": [
        {
            "number": "(214) 349-3972",
            "phone_type": "landline"
        },
        {
            "number": "(214) 707-3872",
            "phone_type": "mobile"
        }
    ],
    "emails": [],
    "relatives": [
        { "name": "Mallary Whitsitt", "relation": "relative" },
        { "name": "James Whitsitt", "relation": "relative" }
    ],
    "associates": [
        { "name": "John Smith", "relation": "associate" }
    ],
    "best_phone": "(214) 349-3972",
    "best_email": null,
    "confidence": "high",
    "error": null
}
```

### Confidence Scoring

- **High**: Exact first + last name match with age or location confirmation
- **Medium**: Partial name match, location match, or reverse lookup (phone/address/email) with a result
- **Low**: No strong match signals — result may be a different person

### Pricing

**$10 per 1,000 results** — simple, flat-rate pricing with no hidden fees.

### Integrations

The `best_phone` and `best_email` convenience fields make it easy to use results directly in:

- **n8n** workflows
- **Make** (Integromat) scenarios
- **Zapier** zaps
- Any tool that calls the Apify API

No array parsing needed for the most common use case of getting the primary phone/email.

# Actor input Schema

## `max_results_per_query` (type: `integer`):

Maximum number of profile results to return per search query.

## `name` (type: `array`):

Full_Name(James E Whitsitt) or Name; Citystatezip(Amalia Castillo; Dallas, TX 75228), Separated by semicolon(;)

## `street_citystatezip` (type: `array`):

Enter Street and Citystatezip(3828 Double Oak Ln; Irving, TX 75061), separated by semicolon(;)

## `phone_number` (type: `array`):

Phone number in any format, e.g. (214)349-3972 or 214-349-3972.

## `email` (type: `array`):

Email address to search, e.g. nakialove6@gmail.com.

## Actor input object example

```json
{
  "max_results_per_query": 1,
  "name": [
    "James E Whitsitt",
    "Amalia Castillo; Dallas, TX 75228"
  ],
  "street_citystatezip": [
    "3828 Double Oak Ln; Irving, TX 75061",
    "2334 Falcon Rd, Charleston, SC 29406"
  ],
  "phone_number": [
    "(214)349-3972",
    "(956) 536-1441"
  ],
  "email": [
    "nakialove6@gmail.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Person profiles matching your search queries.

# 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 = {
    "max_results_per_query": 1,
    "name": [
        "James E Whitsitt",
        "Amalia Castillo; Dallas, TX 75228"
    ],
    "street_citystatezip": [
        "3828 Double Oak Ln; Irving, TX 75061",
        "2334 Falcon Rd, Charleston, SC 29406"
    ],
    "phone_number": [
        "(214)349-3972",
        "(956) 536-1441"
    ],
    "email": [
        "nakialove6@gmail.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("twoapi/skip-trace").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 = {
    "max_results_per_query": 1,
    "name": [
        "James E Whitsitt",
        "Amalia Castillo; Dallas, TX 75228",
    ],
    "street_citystatezip": [
        "3828 Double Oak Ln; Irving, TX 75061",
        "2334 Falcon Rd, Charleston, SC 29406",
    ],
    "phone_number": [
        "(214)349-3972",
        "(956) 536-1441",
    ],
    "email": ["nakialove6@gmail.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("twoapi/skip-trace").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 '{
  "max_results_per_query": 1,
  "name": [
    "James E Whitsitt",
    "Amalia Castillo; Dallas, TX 75228"
  ],
  "street_citystatezip": [
    "3828 Double Oak Ln; Irving, TX 75061",
    "2334 Falcon Rd, Charleston, SC 29406"
  ],
  "phone_number": [
    "(214)349-3972",
    "(956) 536-1441"
  ],
  "email": [
    "nakialove6@gmail.com"
  ]
}' |
apify call twoapi/skip-trace --silent --output-dataset

```

## MCP server setup

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

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/Ts951UmWt2NyLug84/builds/xNXDJSWzyUFQCGFGd/openapi.json
