# InfoJobs Job Scraper 🇪🇸 (`easyapi/infojobs-job-scraper`)

Scrape job listings from InfoJobs Spain - Extract detailed job information including titles, descriptions, company details, and more. Perfect for job market analysis, recruitment research, and tracking employment opportunities in Spain.

- **URL**: https://beta-securitybyobscurity.apify.com/easyapi/infojobs-job-scraper.md
- **Developed by:** [EasyApi](https://beta-securitybyobscurity.apify.com/easyapi) (community)
- **Categories:** Jobs, Integrations
- **Stats:** 19 total users, 3 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

## InfoJobs Job Scraper 🇪🇸

### 🤖 What does InfoJobs Spain Scraper do?

This actor scrapes detailed job listings from InfoJobs.net, Spain's leading job search platform. It extracts comprehensive information about job postings, including:

- 📋 Job title and detailed description
- 🏢 Company information (name, logo, profile link)
- 📍 Location details
- 💼 Contract type and working conditions
- ⏰ Publication date
- 🔍 Original search URL and listing URL
- 🏷️ Job categories and tags

### ✨ Features

- 🚀 High-performance scraping with Puppeteer
- 🔄 Automatic pagination handling
- 🛡️ Built-in proxy support
- ⚡ Stealth browsing capabilities
- 📊 Structured JSON output
- ⚙️ Configurable search parameters
- 🎯 Maximum items limit control

### 💡 Use Cases

- 📊 Job market analysis and research
- 💼 Recruitment and HR intelligence
- 📈 Salary trends monitoring
- 🎯 Competitive analysis
- 🔍 Job opportunity tracking
- 📱 Job aggregation platforms

### 🔧 Input Configuration

The actor accepts the following input parameters:

- `searchUrls`: Array of InfoJobs search URLs to scrape
- `maxItems`: Maximum number of items to scrape (optional)
- `proxyConfiguration`: Proxy settings (optional)

### 📦 Output

The actor outputs detailed job listings in JSON format, including:

- Complete job descriptions
- Company details
- Location information
- Contract terms
- Publication timestamps
- Search metadata

### 💪 Benefits

- Save hours of manual data collection
- Get structured, ready-to-use data
- Access comprehensive job market insights
- Monitor employment trends in real-time
- Make data-driven recruitment decisions

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.infojobs.net/ofertas-trabajo/espana?keyword=puesto&segmentId=&page=1&sortBy=RELEVANCE&onlyForeignCountry=false&countryIds=17&sinceDate=ANY"
    ],
    "maxItems": 30
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.infojobs.net/ofertas-trabajo/espana?keyword=puesto&segmentId=&page=1&sortBy=RELEVANCE&onlyForeignCountry=false&countryIds=17&sinceDate=ANY",
        "scrapedAt": "2025-01-26T01:28:10.349Z",
        "offer": {
            "code": "a969ab33da418da5101cbdc12e8c5f",
            "title": "TÉCNICO/A DE INSTRUMENTACIÓN | PUESTA EN MARCHA",
            "description": "Iprocel, empresa internacional española especializada en proyectos de generación y transporte eléctrico, precisa de técnicos/as de instrumentación para la puesta en marcha de una planta de generación de energía localizada en Extremadura.\r\n\r\nRequisitos:\r\n\r\n-Experiencia mínima de tres años realizando puesta en marcha de equipos y elementos de instrumentación y control en plantas industriales de generación.\r\n-Deseable formación relacionada con actividades eléctricas o electrónicas industriales.\r\n-Disponibilidad para incorporación inmediata durante el mes de febrero.\r\n-Carnet de conducir tipo B.\r\n-Disponibilidad para trabajar de lunes a sábado.\r\n\r\nFunciones:\r\n\r\n-Comprobación de esquemas y planos tanto eléctricos como de instrumentación y control.\r\n-Megado y timbrado de cables.\r\n-Calibración de instrumentos y verificación de equipos y elementos de control.\r\n-Asistencia a la operación de equipos.\r\n\r\nTe ofrecemos:\r\n\r\n-Contrato de ocho (8) meses, prorrogables según necesidad de obra y continuidad en otros proyectos tanto a nivel nacional como internacional.\r\n-Desarrollo profesional en una empresa internacional y en constante crecimiento.",
            "city": "Cáceres",
            "link": "//www.infojobs.net/caceres/tecnico-instrumentacion-puesta-marcha/of-ia969ab33da418da5101cbdc12e8c5f?applicationOrigin=search-new&page=2&sortBy=RELEVANCE",
            "contractType": "Contrato fijo discontinuo",
            "workday": "Jornada completa",
            "teleworking": "Presencial",
            "publishedAt": "2025-01-23T11:07:55Z",
            "companyName": "IPROCEL",
            "companyLogo": "https://multimedia.infojobs.net/api/v1/tenants/c7e2b9c1-8480-43b0-ad9e-000c17aa2cbb/domains/718302b6-5343-43d3-a8a3-829dc3da0893/buckets/6f3ab1cc-5920-4f4e-b131-46a4587a0e1f/images/15/15312054-259c-4d5d-b726-2c5d667c5f39?jwt=eyJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE1NTM1OTgwMTEsInJxcyI6IkdFVFxcL3RlbmFudHMvYzdlMmI5YzEtODQ4MC00M2IwLWFkOWUtMDAwYzE3YWEyY2JiL2RvbWFpbnMvNzE4MzAyYjYtNTM0My00M2QzLWE4YTMtODI5ZGMzZGEwODkzL2J1Y2tldHMvNmYzYWIxY2MtNTkyMC00ZjRlLWIxMzEtNDZhNDU4N2EwZTFmL2ltYWdlcy8xNS8xNTMxMjA1NC0yNTljLTRkNWQtYjcyNi0yYzVkNjY3YzVmMzkiLCJtZXRhZGF0YSI6eyJydWxlIjp7InZlcnNpb24iOiIyMDE2LTEwIiwiYWN0aW9ucyI6W119fX0.SVSU8Rg4QM3x1Jeh0Q8HKNo88sdNuJIwmsFBwGTx4e2MvE7D0lTSLvPqLWVc1yNzxxY-HHHPEpDzT-iP8Op_f3E-ZSIp3jc-pOEnvSGnU3hanaXk6JR2-U4hy_DKa_qw7ySRwgnR1oWvcvlSoAmhXCTkp4ZhRQ5TemN5UurEzl3xF1hIwPa6F5opkMGquDYQLCW8kdHlQ_lSbZAXcbYSp5Ga01hPSlujdXlePCe-kCIlzF7uDHfkxy5MWziaMWvyFa4Q4EKpIj4cXDkrdDQ0jeg5PRhjvedZOxuH_KJPE4-5CwnWDxLErH5hVq3GqkcB4KyITPO-0volRvVH--XVqQ&AccessKeyId=d724d9a53d95a810",
            "companyLink": "https://www.infojobs.net/iprocel/em-i66515351525350738082795007035854804536",
            "states": [],
            "upsellings": [
                "PROMOTED"
            ],
            "executive": false
        }
    },
    ...
]
```

# Actor input Schema

## `searchUrls` (type: `array`):

List of InfoJobs search URLs to scrape

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

Maximum number of job listings to scrape

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

Proxy settings - It is recommended to use proxies

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.infojobs.net/ofertas-trabajo/espana?keyword=puesto&segmentId=&page=1&sortBy=RELEVANCE&onlyForeignCountry=false&countryIds=17&sinceDate=ANY"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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("easyapi/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/infojobs-job-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 easyapi/infojobs-job-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=easyapi/infojobs-job-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "InfoJobs Job Scraper 🇪🇸",
        "description": "Scrape job listings from InfoJobs Spain - Extract detailed job information including titles, descriptions, company details, and more. Perfect for job market analysis, recruitment research, and tracking employment opportunities in Spain.",
        "version": "0.0",
        "x-build-id": "PGuOYoU9cFkc3QhXh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easyapi~infojobs-job-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easyapi-infojobs-job-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/easyapi~infojobs-job-scraper/runs": {
            "post": {
                "operationId": "runs-sync-easyapi-infojobs-job-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/easyapi~infojobs-job-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-easyapi-infojobs-job-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchUrls"
                ],
                "properties": {
                    "searchUrls": {
                        "title": "Search URLs",
                        "type": "array",
                        "description": "List of InfoJobs search URLs to scrape",
                        "default": [
                            "https://www.infojobs.net/ofertas-trabajo/espana?keyword=puesto&segmentId=&page=1&sortBy=RELEVANCE&onlyForeignCountry=false&countryIds=17&sinceDate=ANY"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Maximum Items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of job listings to scrape",
                        "default": 30
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings - It is recommended to use proxies",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
