# InfoJobs Spain Job Scraper (`scrapeai/infojobs-job-scraper`) Actor

Scrape job listings from InfoJobs Spain (infojobs.net). Extract job titles, descriptions, company details, salary, location, and more. Perfect for job market analysis, recruitment research, and tracking employment opportunities in Spain.

- **URL**: https://apify.com/scrapeai/infojobs-job-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** Jobs, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## InfoJobs Spain Job Scraper

Extract job listings from InfoJobs Spain with detailed information such as job title, company, location, salary, description, employment type, experience requirements, posting date, and job URL. Designed for recruitment research, job-market analysis, and employment monitoring across Spain.

### Features

- **Keyword Search** — Find jobs using titles, skills, keywords, or industry terms.
- **Direct URL Input** — Scrape specific InfoJobs search or listing pages.
- **Location Filtering** — Target jobs by city, province, or region in Spain.
- **Date Filtering** — Focus on recently posted job opportunities.
- **Salary Extraction** — Capture salary and compensation information when available.
- **Detailed Job Data** — Collect descriptions, company information, requirements, and employment details.
- **Pagination Support** — Process multiple pages of job search results automatically.
- **Configurable Limits** — Control the maximum number of job listings collected per run.
- **Cloud Ready** — Runs on Apify with scheduling, proxy support, webhooks, datasets, and API integration.

### Use Cases

- Analyze employment trends across Spanish industries and regions.
- Benchmark salaries for different roles and experience levels.
- Build recruitment datasets and sourcing pipelines.
- Monitor new vacancies from target companies.
- Track hiring demand by location, skill, and job category.
- Compare job-market activity across Spanish cities and sectors.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `search` | `search` — keyword search; `jobUrl` — scrape specific job URLs |
| `keywords` | string | — | Job title or keywords (e.g. `desarrollador Java`, `marketing digital`) |
| `province` | string | — | Province or city in Spain (e.g. `Madrid`, `Barcelona`). Leave empty for all Spain. |
| `contractType` | string | Any | Filter by contract: `1` Indefinido, `2` Fixed-term, `19` Freelance, `13` Internship |
| `workDay` | string | Any | Filter by schedule: `1` Full-time, `2` Part-time, `3` Flexible |
| `experience` | string | Any | Min experience: `0` None, `1`–`4` Years |
| `salaryMin` | integer | — | Minimum annual salary in EUR |
| `datePosted` | integer | `0` | Only jobs posted in the last N days (0 = any) |
| `startUrls` | array | — | Direct InfoJobs job URLs (used when `mode` is `jobUrl`) |
| `scrapeDetails` | boolean | `false` | Visit each job detail page for full description, requirements, and experience |
| `maxJobs` | integer | `50` | Maximum number of job listings to extract (up to 500) |
| `proxyConfiguration` | object | Residential ES | Proxy settings — Spanish residential proxy recommended |

### Output

Each item in the dataset represents one job listing and contains the following fields:

| Field | Type | Description |
|-------|------|-------------|
| `jobId` | string | Unique InfoJobs offer ID extracted from the job URL |
| `title` | string | Full job title as shown on InfoJobs |
| `company` | string | Hiring company or organisation name |
| `companyUrl` | string | URL to the company's InfoJobs profile page |
| `companyLogoUrl` | string | URL to the company logo image |
| `logoUrl` | string | Alias of `companyLogoUrl` |
| `location` | string | City or region where the job is located |
| `province` | string | Spanish province (e.g. `Madrid`, `Barcelona`) |
| `salary` | string | Raw salary description as shown on InfoJobs (e.g. `Más de 30.000 €`) |
| `salaryRange` | string | Same as `salary` — formatted salary range label |
| `salaryMin` | integer|null | Lower bound of parsed salary range in EUR |
| `salaryMax` | integer|null | Upper bound of parsed salary range in EUR |
| `contractType` | string | Contract type (e.g. `Contrato indefinido`, `De duración determinada`) |
| `workDay` | string | Work schedule (e.g. `Jornada completa`, `Media jornada`) |
| `experience` | string | Required experience level (e.g. `Al menos 3 años`) |
| `education` | string | Minimum education required (e.g. `Ciclo Formativo Grado Superior`) |
| `telework` | string | Remote work policy (e.g. `Solo teletrabajo`, `Híbrido`, `Presencial`) |
| `category` | string | Job category (e.g. `Informática y telecomunicaciones`) |
| `subcategory` | string | Job subcategory (e.g. `Programación`) |
| `applicants` | string | Number of applicants or inscription status |
| `postedDate` | string | Date or relative time since the job was posted |
| `expirationDate` | string | Expiration or active status of the listing |
| `description` | string | Full job description text (available when `scrapeDetails` is enabled) |
| `jobUrl` | string | Direct URL to the job listing on InfoJobs |
| `scrapedAt` | string | ISO 8601 timestamp of when the item was scraped |

#### Sample Output

```json
{
	"jobId": "ica4b5ff1794b8c8a2702b5fa1bf95d",
	"title": "Programador/a Java (100% Teletrabajo)",
	"company": "Second Window",
	"companyUrl": "https://secondwindow.ofertas-trabajo.infojobs.net",
	"companyLogoUrl": "https://multimedia-logos.infojobs.net/image/upload/35/35fbfe14-b4f8-42e2-aa8d-157d1820e37b?rule=largeDevice155",
	"logoUrl": "https://multimedia-logos.infojobs.net/image/upload/35/35fbfe14-b4f8-42e2-aa8d-157d1820e37b?rule=largeDevice155",
	"location": "Madrid",
	"province": "Madrid",
	"salary": "Más de 30.000 €",
	"salaryRange": "Más de 30.000 €",
	"salaryMin": 30000,
	"salaryMax": null,
	"contractType": "Contrato indefinido",
	"workDay": "Jornada completa",
	"experience": "Al menos 3 años",
	"education": "Ciclo Formativo Grado Superior",
	"telework": "Solo teletrabajo",
	"category": "Informática y telecomunicaciones",
	"subcategory": "Programación",
	"applicants": "En proceso de inscripción",
	"postedDate": "29 jul",
	"expirationDate": "Activa (30 días desde publicación)",
	"description": "Programador/a Java (100% Teletrabajo)\nGuardar\nSecond Window\n\n4,3 (16)\n\nMadrid (Madrid)\n\nSolo teletrabajo\n\nMás de 30.000€\n\nExperiencia mínima: Al menos 3 años\n\nContrato indefinido, jornada completa\n\nInscribirme en esta oferta\nPublicada 29 jul",
	"jobUrl": "https://www.infojobs.net/madrid/programador-java-100-teletrabajo/of-ica4b5ff1794b8c8a2702b5fa1bf95d?applicationOrigin=search-new&page=3&sortBy=RELEVANCE",
	"scrapedAt": "2026-08-13T11:17:05.853Z"
}
```

### Notes

- **Proxy**: Spanish residential proxy is strongly recommended — set `proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ["RESIDENTIAL"], apifyProxyCountry: "ES" }`
- **Rate limits**: Keep `maxJobs` reasonable (50–200) per run to avoid rate throttling.
- **Detail pages**: Enable `scrapeDetails` for richer data including full descriptions and requirements.
- **Scheduling**: Use Apify Scheduler to run this Actor on a recurring basis for fresh, up-to-date datasets.

# Actor input Schema

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

Search by keyword or scrape specific job URLs

## `keywords` (type: `string`):

Job title or keywords in Spanish or English (e.g. 'desarrollador Java', 'marketing digital', 'enfermera')

## `province` (type: `string`):

Province or city in Spain (e.g. 'Madrid', 'Barcelona', 'Valencia', 'Sevilla'). Leave empty for all Spain.

## `contractType` (type: `string`):

Filter by contract type

## `workDay` (type: `string`):

Filter by work schedule type

## `experience` (type: `string`):

Minimum years of experience required

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

Filter by minimum annual salary in EUR

## `salaryMax` (type: `integer`):

Filter by maximum annual salary in EUR

## `datePosted` (type: `integer`):

Show only jobs posted in the last N days (0 = any date)

## `telework` (type: `string`):

Filter by remote/hybrid work options

## `category` (type: `string`):

Filter by job category

## `subcategory` (type: `string`):

Filter by specific subcategory (e.g. Programming, Data Science)

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

Order results by relevance or posting date

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

Direct InfoJobs job listing URLs. Used when mode is 'jobUrl'.

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

If enabled, visits each job detail page for deep live data (full description, requirements, experience, education)

## `maxJobs` (type: `integer`):

Maximum number of job listings to extract

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

Proxy settings. Spanish residential proxy recommended for best results.

## Actor input object example

```json
{
  "mode": "search",
  "keywords": "desarrollador Java",
  "contractType": "",
  "workDay": "",
  "experience": "",
  "datePosted": 0,
  "telework": "",
  "category": "",
  "sortBy": "relevance",
  "scrapeDetails": false,
  "maxJobs": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

# Actor output Schema

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

Dataset containing all scraped job listings with job details, salaries, requirements, and locations

## `files` (type: `string`):

Key-value store containing debug HTML and screenshots for blocked pages

# 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 = {
    "keywords": "desarrollador Java",
    "province": "",
    "subcategory": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "ES"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/infojobs-job-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 = {
    "keywords": "desarrollador Java",
    "province": "",
    "subcategory": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ES",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/infojobs-job-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 '{
  "keywords": "desarrollador Java",
  "province": "",
  "subcategory": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}' |
apify call scrapeai/infojobs-job-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/infojobs-job-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/QEQo8v1TpHMLuOTHa/builds/1PQD42dxvqswSp9cf/openapi.json
