{
  "openapi": "3.0.1",
  "info": {
    "title": "Public Record Contact Finder: Mobile Numbers & Personal Emails",
    "description": "Resolve a person from a name, email, social profile or lead dataset, then collect public mobile numbers and personal or work emails. Each contact carries its source, match evidence and confidence score; suppression is always honoured.",
    "version": "1.0",
    "x-build-id": "8Q2bBteD7gd47p19I"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~contact-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-contact-finder",
        "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/dataspryva~contact-finder/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-contact-finder",
        "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/dataspryva~contact-finder/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-contact-finder",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Input mode",
            "enum": [
              "person",
              "email",
              "linkedinProfile",
              "facebookProfile",
              "socialHandle",
              "leads"
            ],
            "type": "string",
            "description": "How the people in this run are identified. Pick the mode that matches the field you fill in.",
            "default": "person"
          },
          "people": {
            "title": "People",
            "type": "array",
            "description": "One row per person. Full name is required; city and state or a company domain help disambiguate common names. Optional profile URLs and social handles enrich the identity graph.",
            "items": {
              "type": "object",
              "properties": {
                "fullName": {
                  "title": "Full name",
                  "type": "string",
                  "description": "First and last name, for example Jane Doe.",
                  "editor": "textfield"
                },
                "company": {
                  "title": "Company",
                  "type": "string",
                  "description": "Employer name, used as an identity hint.",
                  "editor": "textfield"
                },
                "companyDomain": {
                  "title": "Company domain",
                  "type": "string",
                  "description": "Company website, for example acme.com. Used to crawl public team and contact pages.",
                  "editor": "textfield"
                },
                "title": {
                  "title": "Job title",
                  "type": "string",
                  "description": "Current job title, used as an identity hint.",
                  "editor": "textfield"
                },
                "city": {
                  "title": "City",
                  "type": "string",
                  "description": "Current city, for example Austin.",
                  "editor": "textfield"
                },
                "state": {
                  "title": "State or region",
                  "type": "string",
                  "description": "US state code or name, for example TX or Texas.",
                  "editor": "textfield"
                },
                "country": {
                  "title": "Country",
                  "type": "string",
                  "description": "ISO country code, for example US or GB.",
                  "editor": "textfield"
                },
                "linkedinUrl": {
                  "title": "LinkedIn profile URL",
                  "type": "string",
                  "description": "Public LinkedIn profile URL, if known.",
                  "editor": "textfield"
                },
                "facebookUrl": {
                  "title": "Facebook profile URL",
                  "type": "string",
                  "description": "Public Facebook profile URL, if known.",
                  "editor": "textfield"
                },
                "githubUsername": {
                  "title": "GitHub username",
                  "type": "string",
                  "description": "Public GitHub username, if known.",
                  "editor": "textfield"
                },
                "xHandle": {
                  "title": "X handle",
                  "type": "string",
                  "description": "Public X (Twitter) handle without the @, if known.",
                  "editor": "textfield"
                }
              },
              "required": [
                "fullName"
              ]
            },
            "default": []
          },
          "emails": {
            "title": "Email addresses",
            "type": "array",
            "description": "Work or personal email addresses. Each address is matched to a public Gravatar profile and public commit history, then to public records when a name is resolved.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "linkedinProfiles": {
            "title": "LinkedIn profile URLs",
            "type": "array",
            "description": "Public LinkedIn profile URLs. The actor reads the public profile page without a login.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "facebookProfiles": {
            "title": "Facebook profile URLs",
            "type": "array",
            "description": "Public Facebook profile URLs. Only information visible without a login is used.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "socialHandles": {
            "title": "Social handles",
            "type": "array",
            "description": "A known handle per person. Handles are resolved directly, not guessed.",
            "items": {
              "type": "object",
              "properties": {
                "platform": {
                  "title": "Platform",
                  "type": "string",
                  "editor": "select",
                  "enum": [
                    "github",
                    "x",
                    "facebook",
                    "threads",
                    "linkedin"
                  ],
                  "enumTitles": [
                    "GitHub",
                    "X (Twitter)",
                    "Facebook",
                    "Threads",
                    "LinkedIn"
                  ],
                  "description": "Public platform for the handle."
                },
                "handle": {
                  "title": "Handle or URL",
                  "type": "string",
                  "description": "Handle without @, or the full public profile URL.",
                  "editor": "textfield"
                }
              },
              "required": [
                "platform",
                "handle"
              ]
            },
            "default": []
          },
          "leads": {
            "title": "Lead rows",
            "type": "array",
            "description": "Rows copied from another actor or a CSV. Columns are mapped automatically by common names such as name, email, company, website, city, state, linkedinUrl, facebookUrl, githubUsername and xHandle.",
            "items": {
              "type": "object"
            },
            "default": []
          },
          "leadsDatasetId": {
            "title": "Lead dataset ID",
            "type": "string",
            "description": "Optional Apify dataset ID to read lead rows from. It is combined with the rows above.",
            "default": ""
          },
          "leadsFieldMapping": {
            "title": "Lead column mapping",
            "type": "object",
            "description": "Optional override when a dataset uses different column names. Example: {\"fullName\": \"contact_name\", \"email\": \"work_email\"}.",
            "properties": {
              "fullName": {
                "type": "string",
                "description": "Column name that contains the fullName value.",
                "editor": "textfield",
                "title": "Full Name"
              },
              "email": {
                "type": "string",
                "description": "Column name that contains the email value.",
                "editor": "textfield",
                "title": "Email"
              },
              "phone": {
                "type": "string",
                "description": "Column name that contains the phone value.",
                "editor": "textfield",
                "title": "Phone"
              },
              "company": {
                "type": "string",
                "description": "Column name that contains the company value.",
                "editor": "textfield",
                "title": "Company"
              },
              "companyDomain": {
                "type": "string",
                "description": "Column name that contains the companyDomain value.",
                "editor": "textfield",
                "title": "Company Domain"
              },
              "city": {
                "type": "string",
                "description": "Column name that contains the city value.",
                "editor": "textfield",
                "title": "City"
              },
              "state": {
                "type": "string",
                "description": "Column name that contains the state value.",
                "editor": "textfield",
                "title": "State"
              },
              "country": {
                "type": "string",
                "description": "Column name that contains the country value.",
                "editor": "textfield",
                "title": "Country"
              },
              "title": {
                "type": "string",
                "description": "Column name that contains the title value.",
                "editor": "textfield",
                "title": "Title"
              },
              "linkedinUrl": {
                "type": "string",
                "description": "Column name that contains the linkedinUrl value.",
                "editor": "textfield",
                "title": "Linkedin Url"
              },
              "facebookUrl": {
                "type": "string",
                "description": "Column name that contains the facebookUrl value.",
                "editor": "textfield",
                "title": "Facebook Url"
              },
              "githubUsername": {
                "type": "string",
                "description": "Column name that contains the githubUsername value.",
                "editor": "textfield",
                "title": "Github Username"
              },
              "xHandle": {
                "type": "string",
                "description": "Column name that contains the xHandle value.",
                "editor": "textfield",
                "title": "X Handle"
              }
            },
            "default": {}
          },
          "contactTypes": {
            "title": "Wanted contact types",
            "type": "array",
            "description": "Only these contact types are returned. anyPhone includes mobiles, landlines, VoIP and toll-free numbers.",
            "items": {
              "type": "string",
              "enum": [
                "mobile",
                "anyPhone",
                "personalEmail",
                "workEmail"
              ],
              "enumTitles": [
                "Mobile numbers",
                "Any phone number",
                "Personal emails",
                "Work emails"
              ]
            },
            "default": [
              "mobile",
              "anyPhone",
              "personalEmail",
              "workEmail"
            ]
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "ISO country codes to search. US public-record people search and the NPI registry run for US people; other countries use profile, website and registry data.",
            "items": {
              "type": "string"
            },
            "default": [
              "US"
            ]
          },
          "minMatchConfidence": {
            "title": "Minimum match confidence",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Contacts below this score (0-100) are dropped. Higher values reduce wrong-person matches.",
            "default": 40
          },
          "websiteCrawl": {
            "title": "Crawl personal and company websites",
            "type": "boolean",
            "description": "Read public contact, about and team pages on the person's own site and the company domain for emails and phones.",
            "default": true
          },
          "crawlDepth": {
            "title": "Website crawl depth",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "1 reads the home and contact pages; 2 also follows contact links found on those pages. Only public pages on the same site are read.",
            "default": 1
          },
          "onlyWithEmail": {
            "title": "Only people with an email",
            "type": "boolean",
            "description": "Drop people for whom no personal or work email passes the filters.",
            "default": false
          },
          "includeNotFound": {
            "title": "Report people with nothing found",
            "type": "boolean",
            "description": "Include a row with the sources checked and a reason when no public contact passes the filters.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of output rows.",
            "default": 20
          },
          "maxMatchesPerPerson": {
            "title": "People-search candidates per person",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many public-record candidates to open when scoring a people-search match. Only the best unambiguous match is used.",
            "default": 3
          },
          "suppressionList": {
            "title": "Suppression list",
            "type": "array",
            "description": "Emails, phone numbers or full names that must never be returned, for opt-outs. Use @domain.com to suppress every email at a domain.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}