# Jobnet.dk Scraper (`jobsapi/jobnet-jobs-search-scraper`) Actor

Extract public Jobnet.dk job postings and employer/location fields.

- **URL**: https://apify.com/jobsapi/jobnet-jobs-search-scraper.md
- **Developed by:** [Jobs API](https://apify.com/jobsapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 jobnet job records

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?

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

## Jobnet.dk Jobs Search Scraper

Extracts complete public Jobnet.dk job records, including title, employer, location, posting date, an 80+ character description, official job URL, and source URL. Search and searchMultiple modes use Jobnet's own public BFF JSON search route (`/bff/FindJob/Search`, no credentials, `x-csrf: 1` header) because the `/find-job` HTML is client-rendered and exposes no server-side `JobPosting` markup; each search result already contains the full published description. single, multiple and startUrls modes resolve official `/find-job/{jobAdId}` detail URLs through the matching public BFF detail route, with page/JSON-LD parsing retained for other official URLs. All modes are bounded by item, page, request, and timeout limits. Reachable pages without complete jobs produce KVS diagnostics, never listing-only dataset rows.

The default search uses the current public `https://jobnet.dk/find-job?searchString=...` route. The Actor restricts requests and redirects to official HTTPS Jobnet hosts and does not log in, submit private forms, or bypass access controls.

The Actor uses only ordinary public routes: the site's no-auth BFF JSON API and official HTTPS page routes. It does not log in, solve challenges, or use proxies, cookies, fingerprints or header/identity evasion. HTTP 401/403/429/451 (or source-authored denial/challenge text on HTML routes) stops the run as `SUCCEEDED`/`SKIPPED` and discards buffered rows. Redirects, other non-success HTTP responses, and transport errors stop requests as `DEFERRED`; a zero-row deferred run remains platform `SUCCEEDED`, while already-stored rows are preserved as `SUCCEEDED`/`LIMITED`. Fatal non-block zero-row failures use `Actor.fail()` and `FAILED`/`FAILED`. `status` is the platform outcome (`SUCCEEDED`/`FAILED`), while `resultStatus` describes data (`COMPLETE`/`LIMITED`/`SKIPPED`/`DEFERRED`/`NO_DATA`/`FAILED`). Every request receipt includes the source URL, stage, response status, and response-body hash when available. Diagnostics and receipts are saved in the key-value store, never mixed into dataset rows.

```powershell
npm test
npm run lint
apify validate-schema
npm run validate
```

Before a local Actor run, preserve any existing `apify_storage`, confirm a new relative `APIFY_LOCAL_STORAGE_DIR` does not exist, and use `--resurrect` without `--purge` per the root `AGENTS.md` instructions.

Inventory row: 1224 — `blackfalcondata/jobnet-jobs-search-scraper`.

# Actor input Schema

## `mode` (type: `string`):

Bounded public search, multiple-search, single, multiple, or startUrls mode.

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

Keyword for Jobnet FindWork search mode.

## `queries` (type: `array`):

Up to five keywords for searchMultiple mode.

## `url` (type: `string`):

Official public Jobnet URL for single mode.

## `urls` (type: `array`):

Official public Jobnet URLs for multiple mode.

## `startUrls` (type: `array`):

Public jobnet.dk URLs.

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

Maximum public job records.

## `maxPages` (type: `integer`):

Maximum bounded search pages per query.

## `maxRequests` (type: `integer`):

Maximum official HTTP requests for the run.

## `timeoutSecs` (type: `integer`):

Seconds per request.

## Actor input object example

```json
{
  "mode": "search",
  "query": "software",
  "startUrls": [
    {
      "url": "https://jobnet.dk/"
    }
  ],
  "maxItems": 25,
  "maxPages": 1,
  "maxRequests": 10,
  "timeoutSecs": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

## `diagnostics` (type: `string`):

No description

## `requestReceipts` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("jobsapi/jobnet-jobs-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("jobsapi/jobnet-jobs-search-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 '{}' |
apify call jobsapi/jobnet-jobs-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobsapi/jobnet-jobs-search-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/sGVR2YSyYa0NCOfeR/builds/tC8oIUz5PGNxnsvyR/openapi.json
