{
  "openapi": "3.0.1",
  "info": {
    "title": "Naukri Job Scraper – India Listings to CSV",
    "description": "Export Naukri.com India jobs as CSV/JSON with title, company, location, salary, skills, ratings, experience, walk-in flags, and optional descriptions. Filter by keyword, city, experience, freshness, and work type. Built for recruiters, staffing & sales—e.g. software engineer Bangalore.",
    "version": "1.7",
    "x-build-id": "hfnb0v7uMv1tL3emW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vamsi-krishna~naukri-job-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vamsi-krishna-naukri-job-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/vamsi-krishna~naukri-job-scraper/runs": {
      "post": {
        "operationId": "runs-sync-vamsi-krishna-naukri-job-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/vamsi-krishna~naukri-job-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-vamsi-krishna-naukri-job-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": {
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Enter a job title or skills (e.g. <code>software engineer</code>, <code>data analyst</code>). Required unless you add Start URLs or Job IDs below."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Filter by city or region (e.g. <code>Bangalore</code>, <code>Mumbai</code>, <code>India</code>). Leave blank for all locations.",
            "default": ""
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap how many jobs to scrape (1–1000). Keep low for quick tests; raise for production runs.",
            "default": 3
          },
          "includeDescriptions": {
            "title": "Include full descriptions",
            "type": "boolean",
            "description": "Open each job detail page for the full JD text. Leave off for a fast listing-card export; turn on when you need full descriptions. When on, also exports <code>descriptionHtml</code> and <code>descriptionMarkdown</code> (unless Compact is on).",
            "default": false
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Keep only core recruiter fields (title, company, location, salary, skills, URL, dates, apply*). Drops logos, ratings, industry/role blocks, and HTML/Markdown description variants. Useful for LLM/ATS pipelines.",
            "default": false
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Run several keyword searches in one Actor run (e.g. <code>react developer</code>, <code>frontend engineer</code>). Uses the same location and filters for every query. Global Maximum jobs applies across all queries; duplicates are removed by job ID.<br/>If <b>Keyword</b> is also set, Keyword wins and this list is ignored.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste Naukri URLs from your browser.<br/>• Search-result pages replace keyword/location URL building.<br/>• Single-job URLs (<code>job-listings</code> / <code>job-details</code> / <code>jobId</code> links) open as detail pages.<br/>Detail URLs and Job IDs can be combined with a keyword search.",
            "items": {
              "type": "string"
            }
          },
          "jobIds": {
            "title": "Job IDs",
            "type": "array",
            "description": "Add numeric Naukri job IDs to open directly (e.g. <code>12345678</code>). Useful for re-scraping known listings without a new search. Can combine with Keyword or Start URLs.",
            "items": {
              "type": "string"
            }
          },
          "experienceMin": {
            "title": "Min experience (years)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Set the minimum years of experience (0–50). Pair with Max experience for fresher or mid-level bands."
          },
          "experienceMax": {
            "title": "Max experience (years)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Set the maximum years of experience (0–50)."
          },
          "freshnessDays": {
            "title": "Posted within (days)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Keep only jobs posted within the last N days (1–30). Also applies Naukri’s nearest job-age filter on the search URL."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Order Naukri search jobs by relevance or date.",
            "default": "relevance"
          },
          "workType": {
            "title": "Work type",
            "enum": [
              "",
              "office",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "Filter office, remote, or hybrid jobs. Leave as Any for all work types.",
            "default": ""
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy settings. On Apify Cloud, <b>RESIDENTIAL</b> is strongly recommended — Naukri often blocks datacenter IPs (empty jobs or Access Denied). Prefill already uses residential.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Set parallel browser tabs (1–4). Keep at 1–2 to reduce blocks on Naukri.",
            "default": 1
          },
          "minDelaySeconds": {
            "title": "Min delay (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Set the minimum random delay between requests (seconds).",
            "default": 1
          },
          "maxDelaySeconds": {
            "title": "Max delay (seconds)",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Set the maximum random delay between requests (must be ≥ min delay).",
            "default": 2
          },
          "blockResources": {
            "title": "Block images & media",
            "type": "boolean",
            "description": "Block images, fonts, and media to speed up scraping and cut bandwidth. Leave on for most runs.",
            "default": true
          },
          "incremental": {
            "title": "Incremental mode",
            "type": "boolean",
            "description": "Monitor mode: first run stores a baseline and emits all jobs; later runs with the same State key emit only <b>NEW</b> or <b>UPDATED</b> jobs (unchanged listings are not pushed — you are not charged for them). Distinct from Resume from saved state (crash recovery).",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Stable id for the incremental baseline in the key-value store (e.g. <code>se-bangalore-daily</code>). When Incremental is on and this is empty, a key is auto-derived from keyword/search queries + location + filters. Required explicitly for jobIds-only monitors.",
            "default": ""
          },
          "strictFreshness": {
            "title": "Strict freshness filter",
            "type": "boolean",
            "description": "When Posted within (days) is set: turn on to drop jobs with unknown posted dates; turn off to keep unknown-date jobs while still dropping known stale ones.",
            "default": true
          },
          "resumeFromState": {
            "title": "Resume from saved state",
            "type": "boolean",
            "description": "Restore deduplication and progress from a previous run’s <code>scraper-state</code> key-value record. Use after an interrupted run.",
            "default": false
          },
          "debugSnapshots": {
            "title": "Save debug snapshots",
            "type": "boolean",
            "description": "Save HTML snapshots when errors occur (for debugging selectors). Leave off for normal runs.",
            "default": false
          },
          "headless": {
            "title": "Headless browser",
            "type": "boolean",
            "description": "Run Chromium headless. Defaults to on for Apify Cloud. Override only if you need headed mode for local debugging."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}