# InfoJobs.net Spain Jobs Scraper (`stone_jadex/infojobs-net-spain-jobs-scraper`) Actor

Public InfoJobs.net (Spain) job listings via search JSON: offer code, title, company, location, structured salary, contract, postedAt, description, URL. Not Brazil InfoJobs. $0.50 per 1,000 jobs, no start fee. Default proxy off.

- **URL**: https://apify.com/stone_jadex/infojobs-net-spain-jobs-scraper.md
- **Developed by:** [Stone Jade](https://apify.com/stone_jadex) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.43 / 1,000 list-tier jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## InfoJobs.net Spain Jobs Scraper

Extract public **InfoJobs.net (Spain)** job listings into structured JSON, CSV, or Excel datasets using Spain's public search JSON endpoint (`/webapp/offers/search`) with optional offer-page enrichment. Filter by keyword, Spanish province or city IDs, sort order, or direct InfoJobs.net search and offer URLs.

> **Spain (`infojobs.net`) only — not Brazil (`infojobs.com.br`).** URLs from `infojobs.com.br` or non-`infojobs.net` domains are rejected before any request is sent.

***

### Overview & Use Cases

InfoJobs.net is one of Spain's largest employment marketplaces, publishing tens of thousands of openings across Madrid, Barcelona, Valencia, Bilbao, Seville, and remote roles nationwide. This Actor reads the public search JSON feed that powers the InfoJobs.net web application, delivering rich listing metadata—including **full job descriptions and structured EUR salary ranges when published**—without requiring browser rendering or default proxy overhead.

#### Key Capabilities

- **Structured search JSON extraction**: Collects offer IDs (`offerId` / `offerCode`), titles, companies, company profile URLs and logos, cities, contract types, workdays, work modes (`Presencial`, `Híbrido`, `Solo teletrabajo`), publication timestamps, and full descriptions directly from `/webapp/offers/search`.
- **Normalized EUR salary parsing**: Converts published salary blocks into both a machine-readable `salary` object (`min`, `max`, `currency`, `period`, `kind`, `text`) and a flat `salaryText` string.
- **Keyword, geographic ID, or URL seeds**: Combine `keyword`, numeric `provinceIds`, numeric `cityIds`, and `sortBy`, or supply public InfoJobs.net search URLs (`/ofertas-trabajo/...` or `/webapp/offers/search?...`) and offer deep links (`.../of-i{code}`).
- **Optional HTML detail & HR apply URL mode**: Set `scrapeDetails: true` to fetch individual public offer pages (`/of-i{code}`) and optionally keep the public apply link (`includeHrContact: true`). If an offer HTML page returns a Distil/Imperva browser challenge, the Actor gracefully falls back to the list-tier record and charges only the list-tier `job` event.
- **Cost-first engineering**: Runs at concurrency `1` with `>=1200 ms` request spacing, `proxyConfiguration` **off** by default (`useApifyProxy: false`), automatic deduplication by `offerId`, and an internal `5 MB` cap on optional residential proxy transfers.

#### Common Use Cases

1. **Spanish Recruitment & Talent Market Intelligence**: Track hiring velocity by role (`python`, `data engineer`, `enfermeria`), city, contract type (`Contrato indefinido`), and hybrid/remote availability across Spain.
2. **Compensation Benchmarking**: Aggregate structured annual and monthly gross/net EUR salary bands (`salary.min` / `salary.max`) across Spanish provinces and tech stacks.
3. **B2B Lead Generation & Employer Monitoring**: Identify companies actively hiring in target Spanish regions along with their InfoJobs company microsites (`companyUrl`) and promotion tags (`upsellings`).
4. **Automated Job Aggregation & Research Pipelines**: Schedule recurring runs via the Apify API or webhooks to ingest clean, deduplicated Spanish job records into data warehouses or analytics dashboards.

***

### Input Parameters & Examples

Configure the Actor using keywords, province/city filters, or public `infojobs.net` URLs. When no `keyword`, `startUrls`, or filter IDs are provided, the Actor defaults to searching `keyword: "python"` on page `1`.

#### All 18 Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `keyword` | `string` | `"python"` (when input is empty) | Search keyword sent to `/webapp/offers/search`. Spain `infojobs.net` only — not Brazil. |
| `startUrls` | `array` | `[]` | Public InfoJobs.net search URLs (`/ofertas-trabajo/...` or `/webapp/offers/search?...`) or offer deep links (`.../of-i{code}`). Tracking parameters such as `applicationOrigin` are stripped automatically. Brazil `infojobs.com.br` URLs are rejected. |
| `provinceIds` | `array` | `[]` | Optional numeric `provinceIds[]` filter strings recognized by InfoJobs.net search (for example `["33"]` for Madrid or `["9"]` for Barcelona). |
| `cityIds` | `array` | `[]` | Optional numeric `cityIds[]` filter strings for finer municipal filtering. |
| `sortBy` | `string` | `"RELEVANCE"` | Search sort order: `"RELEVANCE"` or `"PUBLICATION_DATE"`. |
| `maxItems` | `integer` | `50` | Maximum number of charged jobs to output across the run (`1`–`5000`). Alias: `maxResults`. |
| `maxResults` | `integer` | — | Backward-compatible alias for `maxItems` (`1`–`5000`). |
| `maxPages` | `integer` | `null` | Optional ceiling on search list pages fetched per seed (`1`–`500`). Each search page contains roughly 20–22 offers. |
| `startPage` | `integer` | `1` | First search page to fetch when a start URL does not specify `?page=` (`1`–`500`). |
| `scrapeDetails` | `boolean` | `false` | When `true`, fetches each offer's public HTML page (`/of-i{code}`). Keep `false` for fast, low-cost collection because list JSON already contains description and salary when published. Alias: `includeDetails`. |
| `includeDetails` | `boolean` | — | Backward-compatible alias for `scrapeDetails`. |
| `includeHrContact` | `boolean` | `false` | When `scrapeDetails` succeeds, preserves the public application URL (`hrContact.applyUrl`) from the offer page. Never collects candidate PII. |
| `requestIntervalMs` | `integer` | `1200` | Minimum interval in milliseconds between HTTP request starts (enforced minimum `1200`; raised automatically if `robots.txt` specifies a higher `Crawl-delay`). |
| `concurrency` | `integer` | `1` | In-flight request concurrency (fixed at `1` to preserve cost efficiency and deterministic page ordering). |
| `maxRunSeconds` | `integer` | `3600` | Graceful execution time budget in seconds (minimum `30`). Writes `OUTPUT` and stops cleanly before hitting platform timeout. |
| `proxyConfiguration` | `object` | `{ "useApifyProxy": false }` | Proxy settings. Direct connection is used by default; enable Apify Datacenter proxy only if fallback after `403`/`429` is needed. Residential proxy is opt-in and capped internally at `5 MB`. |
| `useProxyFallback` | `boolean` | `true` | When a proxy is configured, stay direct until repeated `403`/`429` (or immediate Cloudflare JS challenge) responses occur before switching to proxy. |
| `allowDetailOnResidential` | `boolean` | `false` | Keeps HTML detail requests direct when a residential proxy group is configured, unless explicitly enabled. |

#### JSON Input Example 1: Keyword & Province Filter (Recommended Low-Cost List Tier)

Search recent Software Developer jobs in Madrid (`provinceIds: ["33"]`) sorted by publication date using direct search JSON:

```json
{
  "keyword": "software developer",
  "provinceIds": ["33"],
  "sortBy": "PUBLICATION_DATE",
  "maxItems": 100,
  "maxPages": 10,
  "scrapeDetails": false,
  "requestIntervalMs": 1200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### JSON Input Example 2: Start URLs with Optional Detail Enrichment & Datacenter Fallback

Target a specific InfoJobs.net search URL and an individual offer link, requesting detail HTML parsing and public apply URLs:

```json
{
  "startUrls": [
    {
      "url": "https://www.infojobs.net/ofertas-trabajo/python"
    },
    {
      "url": "https://www.infojobs.net/madrid/data-engineer-python-aws/of-i9904283d874146bc28d43a939f7c05"
    }
  ],
  "maxItems": 40,
  "startPage": 1,
  "scrapeDetails": true,
  "includeHrContact": true,
  "requestIntervalMs": 1500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["DATACENTER"]
  },
  "useProxyFallback": true
}
```

***

### Output Format & Dataset Schema Reference

Results are stored in the Actor's default **Dataset**, while a comprehensive execution summary (input echo, seed stats, HTTP and robots metrics, pricing counts, and stop reason) is saved to the default Key-Value Store under the key `OUTPUT`.

#### Illustrative Job Record (Matches `dataset_schema.json`)

The example below uses illustrative data showing how a Spanish offer (such as offer code `9904283d874146bc28d43a939f7c05`) is structured in the dataset:

```json
{
  "offerId": "9904283d874146bc28d43a939f7c05",
  "offerCode": "9904283d874146bc28d43a939f7c05",
  "newBOId": "9000123456789012",
  "title": "Data engineer Python AWS",
  "company": "Example Tech Iberia S.L.",
  "companyUrl": "https://www.infojobs.net/example-tech-iberia/em-i1234567890",
  "companyLogoUrl": "https://multimedia.infojobs.net/portales/ij/app/logo-example.png",
  "salary": {
    "min": 40000,
    "max": 50000,
    "currency": "EUR",
    "period": "year",
    "kind": "gross",
    "text": "40.000€ - 50.000€ Bruto/año"
  },
  "salaryText": "40.000€ - 50.000€ Bruto/año",
  "contractType": "Contrato indefinido",
  "workday": "Jornada completa",
  "workMode": "Híbrido",
  "location": "Madrid",
  "locations": ["Madrid"],
  "description": "Buscamos Data Engineer con experiencia en Python, PySpark y servicios cloud de AWS para proyectos de analítica avanzada en Madrid.",
  "url": "https://www.infojobs.net/madrid/data-engineer-python-aws/of-i9904283d874146bc28d43a939f7c05",
  "postedAt": "2026-10-26T09:30:00Z",
  "publishedAt": "2026-10-26T09:30:00Z",
  "executive": false,
  "states": [],
  "upsellings": ["PROMOTED"],
  "hrContact": {
    "applyUrl": "https://www.infojobs.net/madrid/data-engineer-python-aws/of-i9904283d874146bc28d43a939f7c05/apply",
    "contactPhone": null,
    "formUrl": null
  },
  "page": 1,
  "listUrl": "https://www.infojobs.net/ofertas-trabajo/python",
  "tier": "detail",
  "scrapedAt": "2026-11-23T10:00:00.000Z"
}
```

#### Illustrative Truncation Notice Row (Uncharged)

When a run stops because it reaches `maxItems`, `maxPages`, `run-time-limit`, `max-charge-reached`, `proxy-budget`, or a challenge/error boundary, the Actor appends one uncharged notice row to the dataset:

```json
{
  "recordType": "run-notice",
  "truncatedAfter": 50,
  "reason": "maxItems"
}
```

#### Complete Dataset Field Reference

Every field below corresponds to `.actor/dataset_schema.json`. Absent fields on specific offers remain `null` (or omitted for optional `detailError` / `hrContact` / `run-notice` metadata).

| Field | Type | Description |
| --- | --- | --- |
| `offerId` | `string \| null` | Stable lowercase InfoJobs.net hex offer code used for deduplication (e.g., `9904283d874146bc28d43a939f7c05`). |
| `offerCode` | `string \| null` | Alias of `offerId`, matching the source API's offer-code identifier. |
| `newBOId` | `string \| null` | Internal `newBOId` string when published on the search card. |
| `title` | `string \| null` | Job title as published on the listing. |
| `company` | `string \| null` | Employer or company name shown on the public listing. |
| `companyUrl` | `string \| null` | Public employer profile or microsite URL when published. |
| `companyLogoUrl` | `string \| null` | Public company logo URL when published. |
| `salary` | `object \| null` | Structured salary mapped from search JSON or detail JSON-LD (`min`, `max`, `currency`, `period`, `kind`, `text`); `null` when undisclosed. |
| `salaryText` | `string \| null` | Human-readable formatted salary string (for example `40.000€ - 50.000€ Bruto/año`). |
| `contractType` | `string \| null` | Contract type label from the source (for example `Contrato indefinido`). |
| `workday` | `string \| null` | Workday schedule label (for example `Jornada completa`). |
| `workMode` | `string \| null` | Teleworking label (`Presencial`, `Híbrido`, `Solo teletrabajo`). |
| `location` | `string \| null` | Primary city or workplace name from the listing. |
| `locations` | `string[] \| null` | Array of workplace strings extracted from the listing (empty array when omitted). |
| `description` | `string \| null` | Offer description from search JSON, or merged longer text when detail HTML is parsed. |
| `url` | `string \| null` | Canonical public offer URL on `https://www.infojobs.net/...` with `applicationOrigin` tracking stripped. |
| `postedAt` | `string \| null` | Publication timestamp (UTC ISO-8601) when published. |
| `publishedAt` | `string \| null` | Duplicate of `postedAt` for schema compatibility. |
| `executive` | `boolean \| null` | Whether the search card marks the listing as an executive offer (`null` on detail-only rows). |
| `states` | `string[] \| null` | Source state tags from the public search card (such as `REUSED`). |
| `upsellings` | `string[] \| null` | Source promotion tags from the public search card (such as `PROMOTED`). |
| `hrContact` | `object \| null` | Public apply metadata from a parsed detail page (`applyUrl`, `contactPhone`, `formUrl`). Only present when `scrapeDetails: true` and `includeHrContact: true`. Never contains applicant PII. |
| `page` | `integer \| null` | Search result page number that produced the row (`null` for detail-only seeds). |
| `listUrl` | `string \| null` | Human-facing search or source URL associated with the record. |
| `tier` | `string \| null` | `"list"` when parsed from `/webapp/offers/search` JSON, or `"detail"` when enriched from the offer HTML page. |
| `scrapedAt` | `string \| null` | UTC ISO-8601 timestamp when the record was scraped. |
| `detailError` | `string \| null` | Present when `scrapeDetails: true` encountered a failure (e.g., `distil-challenge`) and fell back to list-tier billing. |
| `recordType` | `string \| null` | Set to `"run-notice"` exclusively on the single uncharged truncation summary row; absent on job rows. |
| `truncatedAfter` | `integer \| null` | Count of charged jobs written before a truncated run stopped (`run-notice` rows only). |
| `reason` | `string \| null` | Stop reason (`maxItems`, `maxPages`, `run-time-limit`, `max-charge-reached`, `proxy-budget`, `distil-challenge`, etc.; `run-notice` rows only). |

##### Nested `salary` & `hrContact` Subfields

- `salary.min` (`number | null`): Lower published salary bound in the offer currency.
- `salary.max` (`number | null`): Upper published salary bound in the offer currency.
- `salary.currency` (`string | null`): Currency code, normally `"EUR"`.
- `salary.period` (`string | null`): Normalized pay period (`"year"`, `"month"`, `"week"`, `"day"`, or `"hour"`).
- `salary.kind` (`string | null`): `"gross"` or `"net"` when disclosed (`null` when omitted on detail JSON-LD).
- `salary.text` (`string | null`): Spanish-formatted salary label (e.g., `30.000€ - 40.000€ Bruto/año`).
- `hrContact.applyUrl` (`string | null`): Public apply link extracted from the offer HTML.
- `hrContact.contactPhone` (`string | null`): Reserved field (always `null` in current parser).
- `hrContact.formUrl` (`string | null`): Reserved field (always `null` in current parser).

***

### Pay-Per-Event Pricing & Tier Discounts

This Actor uses **Pay-Per-Event (PPE)** billing with **zero Actor start fee** and **zero synthetic dataset-item surcharge**. Duplicate offers, empty searches, failed scrapes, and the optional `run-notice` row are **never charged**.

- **List-tier job (`job`)**: `$0.0005` per job (`$0.50` per 1,000 jobs) on the Free tier.
- **Detail-enriched job (`job-detail`)**: `$0.0005` per job (`$0.50` per 1,000 jobs) on the Free tier. When `scrapeDetails: true` succeeds, `job-detail` is charged **instead of** `job`, never in addition to it. If detail HTML hits a Distil/Imperva check, the row falls back to the list-tier `job` event.

#### Apify Store Subscription Tier Discounts

Paid Apify plans automatically receive Store subscription tier discounts on both `job` and `job-detail` events (Free-tier base price remains `$0.0005` / `$0.50` per 1,000 jobs):

| Apify Subscription Tier | Discount Multiplier | Price per `job` / `job-detail` (USD) | Cost per 1,000 Jobs (USD) |
| --- | --- | ---: | ---: |
| **Free** (`FREE`) | 1.00x (base) | `$0.000500` | `$0.500` |
| **Bronze** (`BRONZE`) | 0.95x (5% off) | `$0.000475` | `$0.475` |
| **Silver** (`SILVER`) | 0.90x (10% off) | `$0.000450` | `$0.450` |
| **Gold** (`GOLD`) | 0.85x (15% off) | `$0.000425` | `$0.425` |
| **Platinum** (`PLATINUM`) | 0.85x (15% off) | `$0.000425` | `$0.425` |
| **Diamond** (`DIAMOND`) | 0.85x (15% off) | `$0.000425` | `$0.425` |

#### Price Comparison (1,000 Jobs Benchmark)

| Actor | Per-Job Price (Free Tier) | Start Fee | Total for 1,000 Jobs |
| --- | ---: | ---: | ---: |
| **`Stone_JadeX/infojobs-net-spain-jobs-scraper`** | **$0.0005** | **$0.00** | **$0.50** (down to **$0.425** on Gold+) |
| `igolaizola/infojobs-scraper` | $0.0010 | $0.0010 | $1.001 |

> *Note*: Event figures cover Actor PPE charges; platform compute and optional proxy/storage consumption follow standard Apify account pricing. Always check the live Pricing tab on the Actor's Store page before launching large runs.

***

### Quickstart: JavaScript & Python SDK

You can run `Stone_JadeX/infojobs-net-spain-jobs-scraper` programmatically from Node.js or Python using the official Apify API client.

#### JavaScript (`apify-client`)

Install the client with `npm install apify-client`, export `APIFY_TOKEN`, and run:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: process.env.APIFY_TOKEN,
});

const run = await client.actor('Stone_JadeX/infojobs-net-spain-jobs-scraper').call({
    keyword: 'software developer',
    provinceIds: ['33'],
    sortBy: 'PUBLICATION_DATE',
    maxItems: 50,
    scrapeDetails: false,
    proxyConfiguration: { useApifyProxy: false },
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const job of items) {
    if (job.recordType === 'run-notice') continue;
    console.log(`${job.title} @ ${job.company} (${job.location}) — ${job.salaryText ?? 'Salary undisclosed'}`);
}

const outputRecord = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Stop reason:', outputRecord?.value?.stopReason);
```

#### Python (`apify-client`)

Install the client with `pip install apify-client`, export `APIFY_TOKEN`, and run:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("Stone_JadeX/infojobs-net-spain-jobs-scraper").call(
    run_input={
        "keyword": "python",
        "sortBy": "RELEVANCE",
        "maxItems": 50,
        "scrapeDetails": False,
        "proxyConfiguration": {"useApifyProxy": False},
    }
)

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
jobs = [row for row in items if row.get("recordType") != "run-notice"]
print(f"Fetched {len(jobs)} Spanish InfoJobs offers")

for job in jobs[:5]:
    print(job.get("offerId"), job.get("title"), job.get("salaryText"))
```

***

### FAQ, Legal Notice & Limitations

#### Is it legal to scrape InfoJobs.net?

Collecting publicly visible job postings—such as titles, employer names, locations, contract labels, and published salary ranges—from public web pages without bypassing authentication or collecting personal data of candidates is generally lawful for market research, job aggregation, and business intelligence. This Actor **never** logs in, **never** accesses applicant profiles or CVs, and **never** scrapes candidate PII. However, you remain responsible for complying with applicable laws (including GDPR, EU database rights, and Spanish employment/data-protection rules) and the target website's Terms of Service in your jurisdiction and use case.

#### Does this Actor support Brazil InfoJobs (`infojobs.com.br`)?

No. **Spain (`infojobs.net`) only — Brazil (`infojobs.com.br`) is out of scope.** Any `infojobs.com.br` start URL is rejected during input validation before network requests are made.

#### Why keep `scrapeDetails` off by default?

InfoJobs.net's `/webapp/offers/search` JSON already returns full job descriptions, structured salary ranges, company links, contract types, workdays, and teleworking modes when published. Visiting individual `/of-i{code}` offer HTML pages triggers a Distil/Imperva browser challenge on some responses. When `scrapeDetails: true` hits a challenge shell, the Actor automatically records `detailError: "distil-challenge"` and falls back to the list-tier `job` record without failing the run.

#### How are `robots.txt` rules handled?

At run start, the Actor fetches `https://www.infojobs.net/robots.txt`, parses the first `User-agent: *` rule group, enforces any `Disallow` rules (such as legacy `.cfm` endpoints and `/*applicationOrigin=*` tracking parameters, which are stripped from canonical URLs), and respects any `Crawl-delay`. Disallowed URLs encountered during a run are refused locally, logged as warnings, and counted in `OUTPUT.robotsDisallowedHits` (`robotsDisallowedHits`). Note that InfoJobs.net's `robots.txt` also contains a secondary `User-agent: *` block mentioning `/webapp`, which the Actor documents in `OUTPUT.robots.riskNote`.

#### What happens on empty results, timeouts, or residential proxy limits?

- If a search returns zero jobs and errors occur (for example, an invalid query or blocked requests), the run terminates with an error and charges **$0.00** (`Nothing was charged`).
- A built-in safety deadline (`maxRunSeconds` or 20 seconds before platform timeout) saves `OUTPUT` and pushes an uncharged `run-notice` row cleanly.
- If you supply a residential proxy group, an internal `5 MB` transfer ceiling (`residentialMaxMb = 5`) protects your proxy budget by stopping with `stopReason: "proxy-budget"` before overspending.

***

### Changelog

#### 0.1.1 — 2026-11-23

- Upgraded `README.md` with full 18-parameter input table, 2 JSON input examples, illustrative output JSON matching `dataset_schema.json`, full 28-field dataset reference (+ `salary` & `hrContact` subfields), Store subscription tier discount table (`FREE` through `DIAMOND`), JavaScript & Python `ApifyClient` quickstarts, and expanded FAQ/legal coverage.
- Added explicit `prefill` defaults and `sectionCaption` groupings in `.actor/input_schema.json`, restored `meta.generatedBy` and pricing summary in `.actor/actor.json`, and updated `CHANGELOG.md`.
- Configured Store SEO metadata, `["JOBS", "LEAD_GENERATION"]` categories, Store tier discounts, primary `"job"` event, and Public Task `infojobs-spain-software-developer-jobs`.

#### 0.1.0 — 2026-10-26

- Initial InfoJobs.net **Spain** jobs Actor using public `/webapp/offers/search` JSON + optional `/of-i{code}` HTML detail parsing.
- Published `job` and `job-detail` PPE events at `$0.0005` each (`$0.50` per 1,000 jobs), zero start fee, proxy off by default, concurrency `1`, `>=1200 ms` spacing, Brazil `infojobs.com.br` rejection, and Distil fallback to list-tier billing.

# Changelog

This Actor's version history is a separate document: https://apify.com/stone_jadex/infojobs-net-spain-jobs-scraper/changelog.md

# Actor input Schema

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

Optional. Sent as keyword on /webapp/offers/search. Empty input defaults to python. Spain InfoJobs.net only — not Brazil.

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

Optional. An InfoJobs.net search URL (/ofertas-trabajo/… or /webapp/offers/search?…), or an offer deep link …/of-i{code}. Brazil infojobs.com.br URLs are rejected.

## `provinceIds` (type: `array`):

Optional numeric provinceIds\[] filters as used by the public search API.

## `cityIds` (type: `array`):

Optional numeric cityIds\[] filters.

## `sortBy` (type: `string`):

Search sortBy: RELEVANCE (default) or PUBLICATION_DATE.

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

Stop after this many charged jobs. Alias: maxResults.

## `maxResults` (type: `integer`):

Alias for maxItems.

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

Optional. Each search page has about 20–22 offers.

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

First search page when the start URL does not already set ?page=.

## `scrapeDetails` (type: `boolean`):

Fetches the public offer HTML. List JSON already has full description and salary when published; keep this off for the $0.0665/1k cost gate. Some detail HTML hits a Distil check — those rows stay list-tier. Alias: includeDetails.

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

Alias for scrapeDetails.

## `includeHrContact` (type: `boolean`):

When scrapeDetails succeeds, keep the public apply URL from the offer page. Off by default. Never collects candidate PII.

## `requestIntervalMs` (type: `integer`):

At least 1.2 seconds between request starts. A Crawl-delay in robots.txt can only raise this.

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

Fixed at 1 to keep cost under the $0.0665/1k gate. Rows are still saved in page order.

## `maxRunSeconds` (type: `integer`):

Stops cleanly and writes the OUTPUT record before this limit.

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

Default: proxy off (useApifyProxy false). Enable Apify datacenter if you need fallback after 403/429. Do not set RESIDENTIAL unless cost still ≤ $0.0665/1k at $0.0005/job (5 MB cap).

## `useProxyFallback` (type: `boolean`):

When a proxy is configured: stay direct until 403/429, then switch. Residential groups are opt-in only.

## `allowDetailOnResidential` (type: `boolean`):

Detail pages stay on a direct connection when the proxy group is residential. Turn this on only if those pages should use the residential proxy too.

## Actor input object example

```json
{
  "keyword": "python",
  "startUrls": [
    {
      "url": "https://www.infojobs.net/ofertas-trabajo/python"
    }
  ],
  "sortBy": "RELEVANCE",
  "maxItems": 50,
  "startPage": 1,
  "scrapeDetails": false,
  "includeHrContact": false,
  "requestIntervalMs": 1200,
  "concurrency": 1,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": true,
  "allowDetailOnResidential": false
}
```

# Actor output Schema

## `results` (type: `string`):

Public InfoJobs.net (Spain) job rows saved in the default dataset, followed by one run-notice row when a run is truncated.

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

Run statistics, stop reason, pricing counters, HTTP/robots counters, and the echoed input.

# 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 = {
    "keyword": "python",
    "startUrls": [
        {
            "url": "https://www.infojobs.net/ofertas-trabajo/python"
        }
    ],
    "sortBy": "RELEVANCE",
    "maxItems": 50,
    "startPage": 1,
    "scrapeDetails": false,
    "includeHrContact": false,
    "requestIntervalMs": 1200,
    "concurrency": 1,
    "maxRunSeconds": 3600,
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "useProxyFallback": true,
    "allowDetailOnResidential": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("stone_jadex/infojobs-net-spain-jobs-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 = {
    "keyword": "python",
    "startUrls": [{ "url": "https://www.infojobs.net/ofertas-trabajo/python" }],
    "sortBy": "RELEVANCE",
    "maxItems": 50,
    "startPage": 1,
    "scrapeDetails": False,
    "includeHrContact": False,
    "requestIntervalMs": 1200,
    "concurrency": 1,
    "maxRunSeconds": 3600,
    "proxyConfiguration": { "useApifyProxy": False },
    "useProxyFallback": True,
    "allowDetailOnResidential": False,
}

# Run the Actor and wait for it to finish
run = client.actor("stone_jadex/infojobs-net-spain-jobs-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 '{
  "keyword": "python",
  "startUrls": [
    {
      "url": "https://www.infojobs.net/ofertas-trabajo/python"
    }
  ],
  "sortBy": "RELEVANCE",
  "maxItems": 50,
  "startPage": 1,
  "scrapeDetails": false,
  "includeHrContact": false,
  "requestIntervalMs": 1200,
  "concurrency": 1,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": true,
  "allowDetailOnResidential": false
}' |
apify call stone_jadex/infojobs-net-spain-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stone_jadex/infojobs-net-spain-jobs-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/2Zx0UebtuHs08xxds/builds/MjSiwVwJa298bZ1kx/openapi.json
