# JobHound Malta Jobs Scraper (`jobsapi/jobhound-mt-jobs-search-scraper`) Actor

Collect public JobHound.mt Malta job listings through its paginated public API, with local keyword, workplace and contract-type filters.

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

## JobHound Malta Scraper

This Actor collects complete public Malta job listings from JobHound's official https://api.jobhound.mt/api/jobs endpoint. It supports bounded search, single-ID, and multiple-ID modes without guessing private detail endpoints.

Each dataset row has stable identity, title, employer, at least 80 description characters, location or workplace context, source URL, and timestamps. Available languages, industries, benefits, tags, salary, employment/experience type, company metadata, application URL, and repost signals are preserved. Optional fields are omitted when the source does not expose them; application and company URLs must use HTTPS. Request receipts are kept in KVS, never duplicated into job rows.

Normal rows must contain more than 20 populated, distinct source facts to pass the dataset validator. Duplicate representations, IDs, URLs, provenance, request receipts, and generic quality counters do not satisfy this threshold.

Diagnostics never enter the dataset. `OUTPUT.status` is the Apify platform run state (`SUCCEEDED` or `FAILED`); `OUTPUT.resultStatus` separately reports `COMPLETE`, `LIMITED`, `SKIPPED`, `DEFERRED`, `NO_DATA`, or `FAILED`. Generic HTTP/network/transport unavailability is `SUCCEEDED` / `DEFERRED` with zero stored rows; if real rows were stored before a later error, they are retained as `SUCCEEDED` / `LIMITED`. Zero-row fatal failures persist the failure summary best-effort and use the SDK failure lifecycle. A confirmed source block discards every staged normal row and is `SUCCEEDED` / `SKIPPED` only when the skip state can be persisted. OUTPUT and RUN_HEALTH contain summary/provenance, DIAGNOSTICS contains rejected or failed requests, and SOURCE_RECEIPTS contains safe page URL/status/hash/timing evidence.

### Local checks

```powershell
npm test
npm run lint
apify validate-schema
## After Chrome comparison and only while ordinary public access is available:
$env:APIFY_LOCAL_STORAGE_DIR = 'storage/validation-jobhound'
apify run --resurrect --input-file INPUT.json
npm run validate -- storage/validation-jobhound
```

The Actor uses ordinary direct requests and bounded delays. HTTP 401, 403, 429, 451, or a visible source-authored denial/challenge is terminal: the run stops without retrying, discards any staged job rows, and reports `SKIPPED` with the request receipt. HTTP 407, redirects not followed by the Actor, and generic transport failures are not source-block evidence; they yield `DEFERRED` when no rows were stored or `LIMITED` after a stored prefix. The Actor does not accept user-agent, proxy, cookie, or header overrides and does not follow redirects.

# Actor input Schema

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

Use search for matching listings, single for one numeric JobHound job ID, or multiple for several numeric IDs.

## `apiUrl` (type: `string`):

The official public JobHound jobs endpoint. Only the official API host and /api/jobs path are accepted.

## `jobIds` (type: `array`):

Numeric JobHound IDs used by single and multiple mode. The actor finds them through the official paginated public API.

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

Optional official jobhound.mt URL containing a numeric job ID; the ID is extracted and looked up through the public API.

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

Maximum number of public API pages to request. Direct ID modes may need more pages for older jobs.

## `perPage` (type: `integer`):

Page size requested from the public API.

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

Maximum number of unique complete job records to store.

## `keyword` (type: `string`):

Optional case-insensitive substring matched against title, description, employer, industries and tags.

## `workplace` (type: `string`):

Optional JobHound workplace value.

## `employmentType` (type: `string`):

Optional exact JobHound employment type, such as full_time, part_time or contract.

## `experienceLevel` (type: `string`):

Optional exact JobHound experience-level value.

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

Maximum time to wait for each public API page.

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

Bounded retries for transient public API failures.

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

Small polite delay between public API requests in milliseconds.

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

Hard cap on public API requests for this local run.

## Actor input object example

```json
{
  "mode": "search",
  "apiUrl": "https://api.jobhound.mt/api/jobs",
  "maxPages": 3,
  "perPage": 24,
  "maxItems": 50,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "requestDelayMs": 100,
  "maxRequests": 100
}
```

# Actor output Schema

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

No description

## `keyValueStore` (type: `string`):

No description

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

No description

## `sourceReceipts` (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/jobhound-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/jobhound-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/jobhound-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/jobhound-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/UNxVo2JwzRrmCAbn8/builds/dLI9KjWn7CvaUzrLh/openapi.json
