{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper + Apollo Enrichment",
    "description": "Scrape LinkedIn job listings and automatically enrich company data + find decision makers via Apollo.io. No login required. Outputs job details, company profiles, and contacts in Google Sheets-ready format.",
    "version": "0.0",
    "x-build-id": "QQt0zH9dvAiqbK3t6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goc_706~my-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goc_706-my-actor",
        "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/goc_706~my-actor/runs": {
      "post": {
        "operationId": "runs-sync-goc_706-my-actor",
        "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/goc_706~my-actor/run-sync": {
      "post": {
        "operationId": "run-sync-goc_706-my-actor",
        "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": {
          "searchUrls": {
            "title": "LinkedIn Job Search URLs",
            "type": "array",
            "description": "One or more LinkedIn job search URLs. Go to linkedin.com/jobs, apply your filters, then copy the full URL from the address bar.",
            "items": {
              "type": "string"
            }
          },
          "directJobUrls": {
            "title": "Direct LinkedIn Job URLs",
            "type": "array",
            "description": "Direct LinkedIn job page URLs to scrape specific job postings.",
            "items": {
              "type": "string"
            }
          },
          "maxJobs": {
            "title": "Maximum Number of Jobs",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of jobs to scrape. Keep low (10-50) for daily runs. LinkedIn caps search results at 1,000 per search URL.",
            "default": 25
          },
          "scrapeJobDetails": {
            "title": "Scrape Full Job Details",
            "type": "boolean",
            "description": "Fetch full job description and all metadata. If disabled, only basic info from search results is returned.",
            "default": true
          },
          "includeJobSummary": {
            "title": "Include Job Summary Field",
            "type": "boolean",
            "description": "Adds a pre-formatted jobSummary field to each result — easy to paste into any AI tool for instant analysis.",
            "default": true
          },
          "apolloApiKey": {
            "title": "Apollo API Key (Optional — for Company & Contact Enrichment)",
            "type": "string",
            "description": "Your Apollo.io API key. Required for company intelligence (revenue, tech stack, size) and contact lookup. CREDIT USAGE: 1 credit per company enriched. People Search is FREE. Get your key from apollo.io > Settings > API Keys."
          },
          "enrichContacts": {
            "title": "Enrich Contacts via Apollo People Search (FREE)",
            "type": "boolean",
            "description": "Enable Apollo People Search to find decision makers at each company. FREE - no Apollo credits required. Requires apolloApiKey and contactTitles to be set.",
            "default": false
          },
          "contactTitles": {
            "title": "Contact Job Titles to Find (Apollo)",
            "type": "array",
            "description": "Job titles of decision makers to find at each company via Apollo. Examples: 'VP of Sales', 'CTO', 'Head of Revenue Operations'. Leave empty to return top contacts regardless of title. Apollo People Search is FREE — no credits consumed.",
            "items": {
              "type": "string"
            }
          },
          "contactsPerCompany": {
            "title": "Max Contacts Per Company",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of contacts to find per company. Each contact found via People Search costs 0 credits. Default: 3.",
            "default": 3
          },
          "enrichContactEmails": {
            "title": "Enrich Contact Emails (Apollo — Costs Credits)",
            "type": "boolean",
            "description": "WARNING: Costs 1 Apollo credit per contact email. Only enable if you need verified work emails. The run log will show you the estimated credit cost BEFORE enriching. Default: false (contact names and LinkedIn URLs are always free).",
            "default": false
          },
          "enrichContactPhones": {
            "title": "Enrich Contact Phones (Apollo — Costs Credits)",
            "type": "boolean",
            "description": "WARNING: Costs 1 Apollo credit per contact phone number. Only enable if you need phone numbers for outreach. Default: false.",
            "default": false
          },
          "requestDelayMin": {
            "title": "Minimum Delay Between Requests (ms)",
            "minimum": 1000,
            "maximum": 30000,
            "type": "integer",
            "description": "Minimum milliseconds to wait between each LinkedIn request. Helps avoid rate limiting. Default: 3000ms (3 seconds).",
            "default": 3000
          },
          "requestDelayMax": {
            "title": "Maximum Delay Between Requests (ms)",
            "minimum": 2000,
            "maximum": 60000,
            "type": "integer",
            "description": "Maximum milliseconds to wait between each request. A random delay between min and max is used. Default: 8000ms (8 seconds).",
            "default": 8000
          },
          "notifyEmail": {
            "title": "Notification Email (Optional)",
            "type": "string",
            "description": "Receive an email when the run completes, including jobs scraped and Apollo credits used."
          },
          "proxy": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings. Apify Residential Proxy strongly recommended to avoid LinkedIn blocking.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}