{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Fast Scraper (Clean Markdown + Salary)",
    "description": "Cookieless, ultra-low-bandwidth LinkedIn Jobs scraper with two-stage pricing (fast cards vs full details), clean Markdown descriptions, normalized salaries, Easy Apply filter, and optional BYOK AI scoring.",
    "version": "0.1",
    "x-build-id": "bvQHMjkZTcEQwbKcr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ak_scrapers~linkedin-jobs-fast-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ak_scrapers-linkedin-jobs-fast-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/ak_scrapers~linkedin-jobs-fast-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ak_scrapers-linkedin-jobs-fast-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/ak_scrapers~linkedin-jobs-fast-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ak_scrapers-linkedin-jobs-fast-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": {
          "searchUrls": {
            "title": "Direct LinkedIn Job Search URLs (Optional)",
            "type": "array",
            "description": "Paste full LinkedIn job search URLs from your browser (preserves all URL filters like geoId, distance, salary, etc.). If provided, keyword fields below are optional.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Job Keywords",
            "type": "string",
            "description": "Search keywords or boolean query (e.g., 'Python Engineer' or 'AI AND Backend').",
            "default": "Python Backend Engineer"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, region, or country (leave empty for worldwide).",
            "default": ""
          },
          "geoId": {
            "title": "LinkedIn Geo ID (Optional)",
            "type": "string",
            "description": "Numeric LinkedIn geoId for exact geographic targeting (e.g., 103644278 for US).",
            "default": ""
          },
          "distance": {
            "title": "Search Radius (Miles, Optional)",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Radius in miles around location/geoId (e.g., 25)."
          },
          "mode": {
            "title": "Scraping Mode",
            "enum": [
              "full_details",
              "fast_cards"
            ],
            "type": "string",
            "description": "Choose 'fast_cards' for ultra-cheap search listing extraction or 'full_details' for full descriptions, salary, Easy Apply, and criteria.",
            "default": "full_details"
          },
          "maxJobs": {
            "title": "Max Jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of unique job listings to return (1–5000).",
            "default": 100
          },
          "timePosted": {
            "title": "Time Posted",
            "enum": [
              "any",
              "1h",
              "24h",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Filter jobs by publication recency.",
            "default": "any"
          },
          "workTypes": {
            "title": "Workplace Type",
            "type": "array",
            "description": "Filter by onsite, remote, or hybrid.",
            "items": {
              "type": "string",
              "enum": [
                "onsite",
                "remote",
                "hybrid"
              ]
            },
            "default": []
          },
          "jobTypes": {
            "title": "Employment Type",
            "type": "array",
            "description": "Filter by full-time, part-time, contract, temporary, or internship.",
            "items": {
              "type": "string",
              "enum": [
                "full_time",
                "part_time",
                "contract",
                "temporary",
                "internship"
              ]
            },
            "default": []
          },
          "experienceLevels": {
            "title": "Experience Level",
            "type": "array",
            "description": "Filter by seniority level.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "mid_senior",
                "director",
                "executive"
              ]
            },
            "default": []
          },
          "companyIds": {
            "title": "Company IDs (Optional)",
            "type": "array",
            "description": "Filter by specific LinkedIn numeric company IDs (f_C).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "under10Applicants": {
            "title": "Under 10 Applicants (Search Filter)",
            "type": "boolean",
            "description": "Apply LinkedIn's low-applicant filter (f_JIYN=true) in the search query.",
            "default": false
          },
          "maxApplicants": {
            "title": "Max Applicants (Post-Filter)",
            "minimum": 1,
            "type": "integer",
            "description": "In full_details mode, only return jobs with <= N applicants."
          },
          "autoShard": {
            "title": "Auto-Shard Large Searches (>1,000 results)",
            "type": "boolean",
            "description": "Automatically splits broad queries across experience/time buckets to bypass LinkedIn's 1,000-result cap.",
            "default": true
          },
          "easyApplyOnly": {
            "title": "Easy Apply Only",
            "type": "boolean",
            "description": "In full_details mode, return only jobs with LinkedIn Easy Apply.",
            "default": false
          },
          "detailTitleInclude": {
            "title": "Title Must Include (Cost Saver)",
            "type": "array",
            "description": "Only fetch full details if job title matches at least one keyword (saves credits in full_details mode).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "detailTitleExclude": {
            "title": "Title Must Exclude (Cost Saver)",
            "type": "array",
            "description": "Skip fetching full details if job title contains any of these terms.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeMarkdown": {
            "title": "Include Markdown Description",
            "type": "boolean",
            "description": "Include clean LLM/RAG-ready Markdown alongside plain text.",
            "default": true
          },
          "includeRawHtml": {
            "title": "Include Raw HTML",
            "type": "boolean",
            "description": "Include raw description HTML.",
            "default": false
          },
          "concurrency": {
            "title": "Detail Concurrency",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Parallel job detail requests (3–6 recommended).",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Residential proxies are strongly recommended to avoid LinkedIn HTTP 429 blocks.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "aiApiKey": {
            "title": "AI API Key (Optional BYOK)",
            "type": "string",
            "description": "Optional OpenAI-compatible API key for AI relevance scoring."
          },
          "aiTargetProfile": {
            "title": "AI Target Profile / ICP",
            "type": "string",
            "description": "Candidate resume summary or B2B ideal customer profile for AI scoring."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}