{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Scraper Ultra Pro",
    "description": "Clean, validate, deduplicate, and enrich public LinkedIn profile URLs into CRM-ready records. No LinkedIn cookies or login required.",
    "version": "1.0",
    "x-build-id": "ZAelv7HSwLhOljhwr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/qaseemiqbal~linkedin-profile-scraper-ultra-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-qaseemiqbal-linkedin-profile-scraper-ultra-pro",
        "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/qaseemiqbal~linkedin-profile-scraper-ultra-pro/runs": {
      "post": {
        "operationId": "runs-sync-qaseemiqbal-linkedin-profile-scraper-ultra-pro",
        "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/qaseemiqbal~linkedin-profile-scraper-ultra-pro/run-sync": {
      "post": {
        "operationId": "run-sync-qaseemiqbal-linkedin-profile-scraper-ultra-pro",
        "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": [
          "profileUrls"
        ],
        "properties": {
          "profileUrls": {
            "title": "LinkedIn profile URLs",
            "minItems": 1,
            "type": "array",
            "description": "LinkedIn profile URLs to enrich. Use public LinkedIn profile URLs such as https://www.linkedin.com/in/example-profile.",
            "items": {
              "type": "string"
            }
          },
          "costOptimizationMode": {
            "title": "Cost optimization mode",
            "type": "boolean",
            "description": "Use the cheapest defaults: identifier-only profile records, compact output, no skipped duplicate rows, no retries, and short request timeouts unless you explicitly opt into richer settings.",
            "default": true
          },
          "includeEmails": {
            "title": "Find emails",
            "type": "boolean",
            "description": "Attempt to discover and verify email addresses. Contact enrichment is automatically disabled unless contact enrichment consent is enabled.",
            "default": false
          },
          "includePhones": {
            "title": "Find phone numbers",
            "type": "boolean",
            "description": "Attempt to discover mobile or phone numbers. This may use premium enrichment providers and requires contact enrichment consent.",
            "default": false
          },
          "includeCompanyDetails": {
            "title": "Include company details",
            "type": "boolean",
            "description": "Include company name, website, LinkedIn URL, industry, size, and related company fields when available.",
            "default": true
          },
          "includeSkills": {
            "title": "Include skills",
            "type": "boolean",
            "description": "Include public profile skills when available.",
            "default": true
          },
          "includeEducation": {
            "title": "Include education",
            "type": "boolean",
            "description": "Include public education records when available.",
            "default": true
          },
          "includeCertifications": {
            "title": "Include certifications",
            "type": "boolean",
            "description": "Include public certifications and licenses when available.",
            "default": true
          },
          "includeRecommendations": {
            "title": "Include recommendations",
            "type": "boolean",
            "description": "Include public recommendations when available.",
            "default": false
          },
          "outputFormatMode": {
            "title": "Output format mode",
            "enum": [
              "nested",
              "flat",
              "nested_and_flat",
              "crm_flat",
              "compact"
            ],
            "type": "string",
            "description": "Choose how records are shaped in the dataset.",
            "default": "compact"
          },
          "crmPreset": {
            "title": "CRM preset",
            "enum": [
              "generic",
              "salesforce",
              "hubspot",
              "pipedrive",
              "clay",
              "airtable",
              "csv"
            ],
            "type": "string",
            "description": "Optional CRM-friendly field mapping preset.",
            "default": "generic"
          },
          "profileResolverMode": {
            "title": "Profile resolver mode",
            "enum": [
              "identifier_only",
              "public",
              "mock",
              "external"
            ],
            "type": "string",
            "description": "Choose identifier-only enrichment for lowest cost, public page extraction for richer no-cookie data, deterministic mock data for testing, or an external provider endpoint.",
            "default": "identifier_only"
          },
          "externalProfileProviderUrl": {
            "title": "External profile provider URL",
            "type": "string",
            "description": "Optional HTTPS endpoint for a BYO profile provider. The Actor sends the normalized LinkedIn URL and expects JSON profile data."
          },
          "emailProviderUrl": {
            "title": "Email provider URL",
            "type": "string",
            "description": "Optional HTTPS endpoint for a BYO email enrichment provider."
          },
          "phoneProviderUrl": {
            "title": "Phone provider URL",
            "type": "string",
            "description": "Optional HTTPS endpoint for a BYO phone enrichment provider."
          },
          "providerApiKey": {
            "title": "Provider API key",
            "type": "string",
            "description": "Optional API key sent as Bearer token to configured external providers."
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of profiles processed in parallel.",
            "default": 5
          },
          "maxRetries": {
            "title": "Maximum retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum retry attempts per profile.",
            "default": 0
          },
          "requestTimeoutSecs": {
            "title": "Request timeout seconds",
            "minimum": 15,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum time to wait for each profile or provider request.",
            "default": 15
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Use Apify Proxy auto mode unless you need a specific proxy group.",
            "default": {
              "useApifyProxy": true
            }
          },
          "dataMinimizationMode": {
            "title": "Data minimization mode",
            "type": "boolean",
            "description": "Exclude optional contact enrichment and non-essential personal data fields.",
            "default": false
          },
          "allowPartialProfiles": {
            "title": "Allow partial profiles",
            "type": "boolean",
            "description": "Return a partial profile record when only identifier-level public data is available.",
            "default": true
          },
          "emitSkippedRecords": {
            "title": "Emit skipped records",
            "type": "boolean",
            "description": "Write duplicate and suppressed inputs as skipped dataset rows.",
            "default": false
          },
          "saveRunLists": {
            "title": "Save failed and skipped URL lists",
            "type": "boolean",
            "description": "Write FAILED_URLS and SKIPPED_URLS key-value records. Disable for the cheapest runs because the summary already includes counts.",
            "default": false
          },
          "suppressionEmails": {
            "title": "Suppression emails",
            "type": "array",
            "description": "Emails that should be excluded from results.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "suppressionDomains": {
            "title": "Suppression domains",
            "type": "array",
            "description": "Email or company domains that should be skipped or excluded.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "suppressionLinkedinUrls": {
            "title": "Suppression LinkedIn URLs",
            "type": "array",
            "description": "LinkedIn profile URLs to skip.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "targetJobTitles": {
            "title": "Target job titles",
            "type": "array",
            "description": "Optional job titles used for matching and lead scoring.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "targetLocations": {
            "title": "Target locations",
            "type": "array",
            "description": "Optional locations used for matching and lead scoring.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "targetIndustries": {
            "title": "Target industries",
            "type": "array",
            "description": "Optional industries used for matching and lead scoring.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "contactEnrichmentConsent": {
            "title": "Contact enrichment consent",
            "type": "boolean",
            "description": "Confirm that you have a lawful basis to process contact data when enabling email or phone enrichment.",
            "default": false
          },
          "forceRefresh": {
            "title": "Force refresh",
            "type": "boolean",
            "description": "Reprocess profiles even if they were already processed in previous state.",
            "default": false
          },
          "debugMode": {
            "title": "Debug mode",
            "type": "boolean",
            "description": "Save raw provider responses and verbose diagnostic information to the key-value store.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}