# Jobsplus Malta Job Scraper (`jobsapi/jobsplus-mt-jobs-search-scraper`) Actor

- **URL**: https://apify.com/jobsapi/jobsplus-mt-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 jobsplus malta 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

## Jobsplus Malta Job Scraper

This Actor reads public vacancy results from [Jobsplus Malta](https://jobsplus.gov.mt), follows each selected public detail endpoint, and emits structured job records. It does not log in, submit applications, or access private employer information.

It supports `search`, `single`, and `multiple` modes. Search uses the public list endpoint; direct modes accept public numeric IDs through `vacancyIds`/`vacancyId` or public vacancy URLs through `jobUrls`/`jobUrl`.

The collector supports the public search parameters `searchText`, `localities`, `industry`, `jobType`, `vacancyRef`, and `closesOn`. Use `maxItems` and `maxPages` to bound a run. Detail records can include the title, public reference, work schedule, location, workload, closing date, salary range/currency, public description, image URL, and canonical links.

The entrypoint is intentionally small. HTTP fetching, pagination, direct IDs, and bounded detail concurrency live in `src/vacancies.js`; defaults and public endpoints are in `src/config.js`; record metadata and diagnostics are in `src/records.js`; and recursive undefined/placeholder removal is in `src/sanitize.js`. Schemas describe the input and rich vacancy dataset.

Run locally with:

```text
apify validate-schema
apify run --purge --input-file INPUT.json
npm ci
npm test
npm run validate
```

Only public website requests are made. Ordinary Chrome-compatible headers, bounded retries, timeouts, a small polite delay, request/response limits, and bounded concurrency are used; no stealth bypass is attempted. Cloud runs use Apify Proxy when available, and safe request receipts plus diagnostics are stored in the linked key-value records.

# Actor input Schema

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

Search public vacancies, fetch one vacancy, or fetch several vacancies.

## `searchText` (type: `string`):

Optional keyword used by the public Jobsplus vacancy search.

## `localities` (type: `string`):

Optional public locality filter.

## `industry` (type: `string`):

Jobsplus industry filter ID, or 0 for all industries.

## `jobType` (type: `string`):

Jobsplus job type filter ID, or 0 for all job types.

## `vacancyRef` (type: `string`):

Optional exact public vacancy reference filter.

## `closesOn` (type: `string`):

Optional public closing-date filter.

## `vacancyIds` (type: `array`):

Public Jobsplus vacancy IDs for single or multiple mode.

## `vacancyId` (type: `string`):

Backward-compatible alias for one public vacancy ID.

## `jobUrls` (type: `array`):

Public Jobsplus vacancy URLs containing an id query parameter.

## `jobUrl` (type: `string`):

Backward-compatible alias for one public vacancy URL.

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

Optional URL aliases accepted for direct modes.

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

Optional {url} objects accepted for compatibility with Apify inputs.

## `startPage` (type: `integer`):

First public result page to request.

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

Maximum public result pages to read.

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

Maximum unique vacancy records to emit.

## `includeDetails` (type: `boolean`):

Fetch public detail payloads for salary, dates, tags, and descriptions.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each ordinary public Jobsplus request.

## `requestDelayMs` (type: `integer`):

Small polite delay before each public request.

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

Hard upper bound on listing and detail requests, including retries.

## `maxResponseBytes` (type: `integer`):

Reject public responses larger than this many bytes.

## `maxRetries` (type: `integer`):

Retries for transient public HTTP failures.

## `concurrency` (type: `integer`):

Number of public detail requests fetched concurrently.

## `listEndpoint` (type: `string`):

Optional official Jobsplus endpoint override for testing an approved public endpoint.

## `detailEndpoint` (type: `string`):

Optional official Jobsplus endpoint override for testing an approved public endpoint.

## `vacancyPageUrl` (type: `string`):

Optional official Jobsplus vacancy page base URL.

## `currentPageContentId` (type: `string`):

Public Jobsplus page content ID used by the detail endpoint.

## `userAgent` (type: `string`):

Optional transparent browser-like User-Agent for ordinary public requests; it does not bypass access controls.

## `acceptLanguage` (type: `string`):

Optional language preference for ordinary public requests.

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

Apify Proxy configuration for public Jobsplus Malta requests. The default uses Apify Proxy when available.

## Actor input object example

```json
{
  "mode": "search",
  "searchText": "manager",
  "localities": "",
  "industry": "0",
  "jobType": "0",
  "vacancyRef": "",
  "closesOn": "",
  "startPage": 1,
  "maxPages": 1,
  "maxItems": 20,
  "includeDetails": true,
  "requestTimeoutSecs": 30,
  "requestDelayMs": 100,
  "maxRequests": 120,
  "maxResponseBytes": 10485760,
  "maxRetries": 2,
  "concurrency": 8,
  "currentPageContentId": "1244",
  "acceptLanguage": "en-GB,en;q=0.9",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

## `health` (type: `string`):

No description

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

No description

## `receipts` (type: `string`):

No description

## `requests` (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/jobsplus-mt-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/jobsplus-mt-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/jobsplus-mt-jobs-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobsapi/jobsplus-mt-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/baQpb6wr32C6ORvYQ/builds/M6bIEA2rYL2jrzdrr/openapi.json
