# freehire Jobs Scraper (`strelov1/freehire-jobs`) Actor

Pull IT job postings from the freehire catalogue by country, skill, seniority and more.

- **URL**: https://apify.com/strelov1/freehire-jobs.md
- **Developed by:** [Ilya Strelov](https://apify.com/strelov1) (community)
- **Categories:** Jobs, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## freehire Jobs Scraper

Pull IT job postings from the [freehire](https://freehire.me) catalogue — ~4.4M normalised,
deduplicated and AI-enriched vacancies gathered from Greenhouse, Ashby, Workable, Lever,
Recruitee, Workday and hundreds of company boards — filtered by country, skill, seniority,
category, work mode, recency and salary.

Every row comes back with structured fields: canonical skill tags, ISO country codes,
cities, seniority, category, salary when stated, and a link both to the original posting and
to freehire.

### What you get

One dataset item per job, in freehire's own field names:

| field | description |
|---|---|
| `title` | Job title |
| `company` | Company name |
| `company_slug` | Stable company identifier |
| `url` | The original posting on the company's board |
| `freehire_url` | The posting on freehire (tagged `utm_source=apify`) |
| `countries` | ISO 3166-1 alpha-2 codes, lowercase |
| `cities` | Recognised cities |
| `regions` | Region tags, including `remote` variants |
| `skills` | Canonical skill tags (`go`, `kubernetes`, `react`) |
| `source` | Which board it came from |
| `posted_at` | When the posting appeared |
| `is_tech` | Whether the role is a technical one |
| `enrichment` | Seniority, category, employment type, salary, language and more |
| `collections` | Curated groupings the job belongs to |

### Input examples

**Go backends in Germany, freshest first**

```json
{
  "countries": ["de"],
  "skills": ["go"],
  "maxItems": 200
}
```

**Remote senior roles posted this week**

```json
{
  "workMode": ["remote"],
  "seniority": ["senior", "lead"],
  "postedWithinDays": 7
}
```

**Text search with a salary floor**

```json
{
  "query": "machine learning engineer",
  "salaryMin": 120000,
  "countries": ["us", "gb"]
}
```

All fields are optional. With no input at all, you get the freshest postings across the
whole catalogue.

### Limits

This actor returns **at most 1000 jobs per run**. That is deliberate: freehire is a free,
independent project, and a shared catalogue stays fast only if nobody drains it.

Need more? The same data is available through the free
[freehire API](https://freehire.me/api) with no such ceiling — this actor is a convenience
wrapper around its public search endpoint, not a privileged path to it.

### Input reference

| field | type | notes |
|---|---|---|
| `query` | string | Free-text search. Omit it to browse freshest-first. |
| `countries` | string\[] | Lowercase ISO codes: `de`, `pl`, `us`. |
| `skills` | string\[] | Canonical tags: `go`, `kubernetes`, `react`. |
| `seniority` | string\[] | `junior`, `middle`, `senior`, `lead`, `principal`. |
| `category` | string\[] | `backend`, `frontend`, `devops`, `data`, `mobile`, `qa`, … |
| `workMode` | string\[] | `remote`, `hybrid`, `onsite`. |
| `postedWithinDays` | integer | Only jobs posted in the last N days. |
| `salaryMin` | integer | Annual salary floor; only jobs with a stated salary qualify. |
| `maxItems` | integer | Up to 1000. Defaults to 1000. |

Unknown fields fail the run immediately, before any request is made. This is on purpose: the
upstream API ignores parameters it does not recognise, so a typo like `seniorty` would
otherwise return a page of *unfiltered* catalogue that looks like a successful, filtered run.

A single string is accepted wherever a list is expected — `"countries": "de"` works.

### Development

```bash
pnpm install
pnpm test     # unit tests
pnpm build    # typecheck + compile
```

Run it locally against production with a small ceiling:

```bash
mkdir -p storage/key_value_stores/default
echo '{ "countries": ["de"], "skills": ["go"], "maxItems": 20 }' \
  > storage/key_value_stores/default/INPUT.json
node dist/main.js
```

### About freehire

[freehire.me](https://freehire.me) is an open-source IT job aggregator: many source parsers
feed one pipeline that normalises postings into a single schema, deduplicates reposts, and
enriches them with structured facets. Search, filters and the API are free.

# Actor input Schema

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

Free-text search across job titles and descriptions. Leave empty to browse the freshest postings.

## `countries` (type: `array`):

ISO 3166-1 alpha-2 codes, lowercase (de, pl, us).

## `skills` (type: `array`):

Canonical skill tags (go, kubernetes, react).

## `seniority` (type: `array`):

junior, middle, senior, lead, principal.

## `category` (type: `array`):

backend, frontend, devops, data, mobile, qa and similar.

## `workMode` (type: `array`):

remote, hybrid or onsite.

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

Only jobs posted in the last N days.

## `salaryMin` (type: `integer`):

Annual salary floor. Only jobs whose stated salary meets it are returned.

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

How many jobs to collect. Capped at 1000 per run — use the freehire API for the full catalogue.

## Actor input object example

```json
{
  "query": "senior backend",
  "countries": [
    "de"
  ],
  "maxItems": 1000
}
```

# 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": "senior backend",
    "countries": [
        "de"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("strelov1/freehire-jobs").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": "senior backend",
    "countries": ["de"],
}

# Run the Actor and wait for it to finish
run = client.actor("strelov1/freehire-jobs").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": "senior backend",
  "countries": [
    "de"
  ]
}' |
apify call strelov1/freehire-jobs --silent --output-dataset

```

## MCP server setup

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

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/M78qMAgg4N888xo0L/builds/cpIwwniT6p90EDPZD/openapi.json
