# hh.ru Job Scraper 🎯 (`easyapi/hh-ru-job-scraper`) Actor

Scrape job listings from hh.ru (HeadHunter Russia) - Extract detailed job information including salary, company details, location, and employment conditions. Perfect for job market analysis and recruitment research.

- **URL**: https://apify.com/easyapi/hh-ru-job-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Jobs, Lead generation, Integrations
- **Stats:** 248 total users, 28 monthly users, 74.2% runs succeeded, 9 bookmarks
- **User rating**: 4.09 out of 5 stars

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## hh.ru Job Scraper 🎯

Extract detailed job listings from HeadHunter Russia (hh.ru), one of the largest job boards in Russia and CIS countries. This actor helps you gather comprehensive job market data for analysis, recruitment, or research purposes.

### 🚀 Features

- Scrape unlimited job listings from hh.ru search results
- Extract detailed job information including:
  - Job title and ID
  - Company information (name, website, IT accreditation status)
  - Salary details (when available)
  - Location data
  - Employment conditions (type, schedule, working hours)
  - Experience requirements
  - Publication and update dates
  - Response statistics
- Support for proxy configuration
- Automatic pagination handling
- Built-in anti-blocking mechanisms

### 📊 Output Dataset

The actor stores results in a structured JSON format, including:

- Complete company profile with badges and accreditations
- Detailed employment information
- Comprehensive salary data (when available)
- Geographic location details
- Temporal data (publishing date, updates)
- Response statistics
- URLs for further reference

### 💡 Use Cases

- Market research and analysis
- Salary benchmarking
- Recruitment strategy development
- Job market monitoring
- Competitive analysis
- HR analytics and reporting

### 📝 Input Parameters

The actor accepts the following inputs:

- `searchUrls`: Array of hh.ru search URLs to scrape
- `maxItems`: Maximum number of items to scrape (optional)
- `proxyConfiguration`: Proxy settings (optional)

### 🔍 Sample URL Format

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e"
    ],
    "maxItems": 70
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e",
        "jobId": 115173530,
        "title": "AI Agent Engineer (Исследование данных и AI)",
        "company": {
            "name": "СБЕР",
            "visibleName": "Сбер для экспертов",
            "website": "https://rabota.sber.ru/",
            "isAccreditedIT": false,
            "badges": [
                {
                    "type": "hrbrand",
                    "description": "Победитель Премии HR-бренд"
                }
            ]
        },
        "salary": null,
        "location": {
            "city": "Москва",
            "path": ".113.232.1."
        },
        "employment": {
            "type": "FULL",
            "schedule": "FIVE_ON_TWO_OFF",
            "workingHours": "HOURS_8"
        },
        "experience": "between1And3",
        "publishedAt": "2025-02-05T15:21:00.339+03:00",
        "updatedAt": "2025-02-11T13:26:01.242+03:00",
        "url": "https://hh.ru/vacancy/115173530",
        "responsesCount": 55,
        "totalResponsesCount": 173,
        "scrapedAt": "2025-02-13T13:08:09.376Z"
    },
    ...
]
```

### Related Actors

- 🎯 [Naukri Jobs Scraper](https://apify.com/easyapi/naukri-jobs-scraper) - Extract detailed job listings with comprehensive information for market research and job analysis.
- 🎯 [Shine.com Jobs Scraper](https://apify.com/easyapi/shine-com-jobs-scraper) - Collect job data including titles, company details and recruiter contact information.
- 🌏 [JobStreet Job Scraper](https://apify.com/easyapi/jobstreet-job-scraper) - Extract job listings across 8 Asia-Pacific countries with comprehensive details.
- 🎯 [TotalJobs Scraper](https://apify.com/easyapi/totaljobs-scraper) - Scrape job listings with detailed information for job market analysis.
- 🇳🇴 [Finn.no Jobs Scraper](https://apify.com/easyapi/finn-no-jobs-scraper) - Extract job listings from Norway's leading job portal with comprehensive details.
- 🔍 [FlexJobs Job Search Scraper](https://apify.com/easyapi/flexjobs-job-search-scraper) - Get detailed information about remote and flexible job opportunities.
- 🔍 [BuiltIn Jobs Scraper](https://apify.com/easyapi/builtin-jobs-scraper) - Extract comprehensive job data from tech and startup sectors.
- 🌴 [Jungle Job Scraper](https://apify.com/easyapi/jungle-job-scraper) - Scrape job listings from Welcome to the Jungle with salary and company details.
- 🎯 [Dice.com Job Scraper](https://apify.com/easyapi/dice-com-job-scraper) - Extract tech job listings with detailed information and salaries.
- 🔍 [Indeed Jobs Scraper](https://apify.com/easyapi/indeed-jobs-scraper) - Extract detailed job listings including salaries and company information.
- 🔍 [Foundit Jobs Scraper](https://apify.com/easyapi/foundit-jobs-scraper) - Extract job listings from Foundit.in with comprehensive information.
- 🏥 [PracticeLink Job Scraper](https://apify.com/easyapi/practicelink-job-scraper) - Extract detailed physician and healthcare job postings.
- 🇪🇸 [InfoJobs Job Scraper](https://apify.com/easyapi/infojobs-job-scraper) - Extract job listings from Spain's leading job portal.
- 🔍 [SimplyHired Job Scraper](https://apify.com/easyapi/simplyhired-job-scraper) - Scrape job listings with advanced filtering capabilities.
- 🎯 [Xing Jobs Scraper](https://apify.com/easyapi/xing-jobs-scraper) - Extract detailed job information from Xing.com platform.

# Actor input Schema

## `searchUrls` (type: `array`):

Array of HeadHunter search URLs to scrape

## `maxItems` (type: `integer`):

Maximum number of job listings to scrape (default: unlimited)

## `proxyConfiguration` (type: `object`):

Proxy settings for the scraper

## Actor input object example

```json
{
  "searchUrls": [
    "https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}
```

# 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 = {
    "searchUrls": [
        "https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "RU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/hh-ru-job-scraper").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 = {
    "searchUrls": ["https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e"],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "RU",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/hh-ru-job-scraper").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 '{
  "searchUrls": [
    "https://hh.ru/search/vacancy?text=ai&area=1&page=1&searchSessionId=65047058-cfdf-456b-8e89-c75261512a3e"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "RU"
  }
}' |
apify call easyapi/hh-ru-job-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/hh-ru-job-scraper"
        }
    }
}

```

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/XouwWNB4G2AEWi246/builds/53WcGsgHBeksAw3Ek/openapi.json
