{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Email and Phone Finder",
    "description": "Find business emails, personal emails, mobile phones and SHA256 hashes from LinkedIn profile URLs. Bring your own MoltSets API key; you only pay MoltSets for hits.",
    "version": "0.0",
    "x-build-id": "jLBvuuTUwlhxmH5RV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moltsets~linkedin-email-phone-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moltsets-linkedin-email-phone-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/moltsets~linkedin-email-phone-finder/runs": {
      "post": {
        "operationId": "runs-sync-moltsets-linkedin-email-phone-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/moltsets~linkedin-email-phone-finder/run-sync": {
      "post": {
        "operationId": "run-sync-moltsets-linkedin-email-phone-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",
        "properties": {
          "apiKey": {
            "title": "MoltSets API key",
            "type": "string",
            "description": "Required. Your MoltSets API key (starts with <code>ms_</code>). No account yet? <a href=\"https://app.moltsets.com/signup?utm_source=apify&utm_medium=actor&utm_campaign=linkedin-email-phone-finder\" target=\"_blank\">Sign up free</a>, then copy a key from <a href=\"https://app.moltsets.com/dashboard/api_keys\" target=\"_blank\">API keys</a>. MoltSets bills your MoltSets account directly, and only for hits."
          },
          "linkedinUrls": {
            "title": "LinkedIn profile URLs",
            "type": "array",
            "description": "Profile URLs (<code>https://www.linkedin.com/in/...</code>) or bare profile slugs. Duplicates and company pages are filtered out before any lookup.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Read profiles from a dataset",
            "type": "string",
            "description": "Use the results of another run, for example a LinkedIn scraper. Combined with any URLs above."
          },
          "datasetField": {
            "title": "Dataset column with the profile URL",
            "type": "string",
            "description": "Column to read, for example <code>linkedinUrl</code> or <code>author.profileUrl</code> (dot paths work). Leave empty to try common names: linkedinUrl, linkedInUrl, profileUrl, linkedin_url, linkedinProfileUrl, url, publicIdentifier."
          },
          "businessEmail": {
            "title": "Email",
            "type": "boolean",
            "description": "Find an email for each profile.",
            "default": true
          },
          "emailType": {
            "title": "Email type",
            "enum": [
              "business",
              "best"
            ],
            "type": "string",
            "description": "Business only returns work addresses. Best returns a business email when one exists and otherwise a personal one, for the highest match rate.",
            "default": "business"
          },
          "personalEmail": {
            "title": "Personal email (US only)",
            "type": "boolean",
            "description": "Personal addresses such as Gmail, for US profiles. Depends on your MoltSets plan: if your plan does not include personal email, rows are marked <code>restricted</code> and nothing is charged.",
            "default": false
          },
          "mobilePhone": {
            "title": "Mobile phone",
            "type": "boolean",
            "description": "Carrier-verified mobile numbers. Needs a MoltSets phone token subscription (paid plans only); each number found costs one phone token. Numbers are not screened against Do Not Call registries: compliance is your responsibility.",
            "default": false
          },
          "sha256": {
            "title": "SHA256 hashes",
            "type": "boolean",
            "description": "Hashed emails (SHA256 and MD5) for ad platform audience matching. Not available on every MoltSets plan; restricted rows are marked as such.",
            "default": false
          },
          "includeProfile": {
            "title": "Full profile",
            "type": "boolean",
            "description": "Add name, job title, seniority, location and company firmographics. Uses one combined lookup per profile. This is also chosen automatically when you pick two or more of email, personal email and hashes, so you are not charged once per field.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum profiles",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on unique profiles processed in this run.",
            "default": 100
          },
          "maxRetryWaitSecs": {
            "title": "Longest Fair Use wait",
            "minimum": 0,
            "maximum": 3600,
            "type": "integer",
            "description": "If MoltSets asks the run to wait for a Fair Use window up to this long, it waits and carries on. Longer waits stop the run gracefully and keep the results so far.",
            "default": 120
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}