# Naukri Jobs Scraper - India, Salary & Descriptions (`aigrator/naukri-jobs-api`) Actor

Scrape naukri.com vacancies across India by keyword and city. One JSON row per job with company rating, experience range, INR salary in lakhs, full description, skill tags and apply URL.

- **URL**: https://apify.com/aigrator/naukri-jobs-api.md
- **Developed by:** [Ярослав Литовченко](https://apify.com/aigrator) (community)
- **Categories:** Jobs, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Naukri Jobs Scraper

Scrapes job postings from [naukri.com](https://www.naukri.com/), India's largest job board, and returns one normalized JSON row per posting.

### What you get

For each job: title, company, company rating and review count, city (and every listed city), experience range, structured INR salary with a lakhs-per-annum equivalent, skill tags, the description as text and HTML, publication date, the walk-in flag and the apply URL.

### Input

- **query** - keyword or job title, e.g. `software engineer`, `data analyst`, `sales manager`. Empty runs the demo search.
- **location** - Indian city as the board writes it, e.g. `Bengaluru`, `Mumbai`, `Pune`. Empty means all of India.
- **maxJobs** - row cap and therefore the per-run cost ceiling. Default 100, `0` means no limit.
- **includeFullDescription** - on by default. See below.
- **postedWithinDays** - keep only postings published in the last N days. `0` disables the filter.

### Descriptions

Naukri's search response carries the description only sometimes: on a 200-row sample it was complete for 63 postings and a mid-sentence fragment for 137 (median 344 characters). The page for a single posting answers its own data call with the full text, and that call is the only way in: the same endpoint returns HTTP 406 for any posting whose page has not been opened, because the short-lived token it sends is bound to that page.

So with **includeFullDescription** on, the Actor opens each posting in a real browser tab (3 tabs in parallel) and takes the description from the page's own response. On a 100-job run: 71 postings were filled from the page, 29 already had the complete text in the search response, 0 failed, and the phase took 294 s. Every row ended up with at least 852 characters of description, median 2 436.

With the switch off, a run is list-only: 20 jobs per request, about 1.5 s per request, and `descriptionText` may be a fragment. `descriptionSource` tells you which one you got (`job-page` or `search-snippet`).

### How access works

Naukri answers its listing and posting endpoints only to a browser session that has passed Akamai's browser checks and minted the short-lived `nkparam` token. A headless browser is refused with HTTP 403; a real Chrome under a virtual display is served normally from the same IP address. The block is a client-fingerprint check, not an IP check, so **no proxy is needed** and the Actor does not use one.

The Actor starts Chrome, opens the search page once, reads the token from the page's own request, and then pages through the listing API from inside that page. Measured token lifetime is 90-100 seconds (about 36 pages); the Actor refreshes it every 25 pages and immediately on the first `406`.

### Output

One dataset row per job. When a search returns nothing, a single row with `type = status` explains why. A run summary with page counts, token refreshes and description statistics is stored under the `SUMMARY` key.

### Cost and speed

The Actor charges per returned job. Measured on the platform: 20 jobs in 35 s (17 of them with a full description), 100 jobs in 5.5 minutes with full descriptions and 0.3 s of that per listing request. Compute usage for the 100-job run was $0.031.

### Notes and limits

- Indian employers usually hide pay: on a 200-row sample only 7 rows (3.5%) had a published salary. `salary` is `null` and `salaryLabel` says `Not disclosed` for the rest; the label is kept verbatim.
- The board returns 20 jobs per request and publishes a total under `noOfJobs` (42 623 for `software engineer` across India, 13 080 for Bengaluru when measured).
- Employment type, remote/hybrid status and notice period are not published as structured fields, so they are not guessed. Remote appears as a location value when the employer writes it as one.
- Posting text is HTML in `descriptionHtml` (truncated at 40 000 characters) and plain text in `descriptionText`.

# Actor input Schema

## `query` (type: `string`):

What to search for: software engineer, data analyst, sales manager, accountant. The board matches the keyword on its own side. Empty runs the demo search (software engineer).

## `location` (type: `string`):

Indian city as the board writes it: Bengaluru, Mumbai, Pune, Hyderabad, Chennai, Delhi, Noida, Gurgaon. Leave empty for all of India.

## `maxJobs` (type: `integer`):

Stop after this many jobs. The Actor charges per returned job, so this is also the per-run cost ceiling. Set 0 for no limit, up to 20000. The board returns 20 jobs per request; full descriptions cost one page load per job.

## `includeFullDescription` (type: `boolean`):

Naukri's search response carries only a snippet of the description (median 344 characters, often cut mid-sentence). With this on, the Actor opens each posting on naukri.com and takes the full description from the page's own data call: about 3.5 seconds per job with 3 parallel tabs. With it off, one run returns 20 jobs per request and the snippet stays in descriptionText.

## `postedWithinDays` (type: `integer`):

Keep only jobs published in the last N days. 0 means no date filter. Filtering happens on the returned rows, so a narrow window can return fewer rows than maxJobs.

## Actor input object example

```json
{
  "query": "software engineer",
  "maxJobs": 100,
  "includeFullDescription": true,
  "postedWithinDays": 0
}
```

# Actor output Schema

## `jobs` (type: `string`):

One row per job, plus a status row when the search returns nothing. Fields are described in the dataset schema.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "software engineer"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aigrator/naukri-jobs-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "query": "software engineer" }

# Run the Actor and wait for it to finish
run = client.actor("aigrator/naukri-jobs-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "software engineer"
}' |
apify call aigrator/naukri-jobs-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aigrator/naukri-jobs-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hIC7KrX4qAVY8BIua/builds/4IXBHiwHtpgKygzOC/openapi.json
