{
  "openapi": "3.0.1",
  "info": {
    "title": "TruePeopleSearch — People Search Scraper",
    "description": "Scrape US people from TruePeopleSearch by name, phone or address. Each row: full phone numbers, emails, current + past addresses with geo, relatives, associates, aliases, age and property details (beds, baths, value, year built). Cloudflare handled. Bulk lists, CSV & webhook. JSON or CSV out.",
    "version": "1.0",
    "x-build-id": "zlQAtgzIMp8GYRzQg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~truepeoplesearch-people-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-truepeoplesearch-people-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~truepeoplesearch-people-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-truepeoplesearch-people-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~truepeoplesearch-people-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-truepeoplesearch-people-search-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "names": {
            "title": "Names",
            "type": "array",
            "description": "Full names to look up. Optionally append a location after a comma to narrow results, e.g. \"Jane Doe, Irving, TX\" or \"John Smith, 75060\".",
            "items": {
              "type": "string"
            }
          },
          "phones": {
            "title": "Phone numbers (reverse lookup)",
            "type": "array",
            "description": "US phone numbers in any format — \"(972) 917-9873\", \"972-917-9873\", \"+1 972 917 9873\". Returns the likely owner and their full record.",
            "items": {
              "type": "string"
            }
          },
          "addresses": {
            "title": "Addresses (reverse lookup)",
            "type": "array",
            "description": "Street addresses with city, state and ZIP, e.g. \"935 Turtle Cv, Irving, TX 75060\". Returns the people associated with the address.",
            "items": {
              "type": "string"
            }
          },
          "emails": {
            "title": "Email addresses (reverse lookup)",
            "type": "array",
            "description": "Email addresses to look up on TruePeopleSearch, e.g. \"jane@example.com\". Empty lookups are not billed.",
            "items": {
              "type": "string"
            }
          },
          "flattenedOutput": {
            "title": "Flattened spreadsheet columns (Email-1, Phone-1, …)",
            "type": "boolean",
            "description": "When enabled, each row also gets CRM-style columns (`Email-1`…`Email-5`, `Phone-1`, `Street Address`, `Input Given`, `Person Link`) so a CSV export drops into Sheets the same way skip-trace tools do. Nested arrays stay on the row.",
            "default": false
          },
          "resumeCursor": {
            "title": "Resume cursor",
            "type": "string",
            "description": "Paste the cursor from a previous run (logged as RESUME_CURSOR and saved in the key-value store) to continue without fetching or billing people you already received. Leave empty for a fresh crawl."
          },
          "maxItemsPerSearch": {
            "title": "Maximum records per search",
            "minimum": 1,
            "type": "integer",
            "description": "Cap on person records kept for each name / phone / address / email. Default is 5 when you pass more than one lookup, otherwise the global Maximum person records applies."
          },
          "startUrls": {
            "title": "Direct TruePeopleSearch URLs",
            "type": "array",
            "description": "Direct truepeoplesearch.com URLs to scrape as-is.",
            "items": {
              "type": "string"
            }
          },
          "csvUrl": {
            "title": "Bulk CSV URL",
            "type": "string",
            "description": "Link to a raw CSV whose header names Name / Phone / Address columns (City/State/Zip fold into the name). Each row's cells become lookups."
          },
          "webhookUrl": {
            "title": "CRM webhook URL (Zapier / Make / GoHighLevel)",
            "type": "string",
            "description": "Each person record is HTTP POSTed here as JSON as soon as it's found. Best-effort; a failed webhook never fails the run."
          },
          "demoMode": {
            "title": "Demo mode (preview output free — no lookup, no charge)",
            "type": "boolean",
            "description": "Return a single sample record so you can see the exact output format without running a lookup or being charged.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum person records to return",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of person records pushed to the dataset across all lookups. You are billed per record.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "How many profile pages to fetch in parallel.",
            "default": 8
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}