# InfoJobs Jobs Scraper — Spain Jobs, Salaries & Contracts (`ocrad/infojobs-jobs-scraper`) Actor

Scrape InfoJobs.net (Spain) job offers from any search URL: title, company, city, salary range, contract type, workday, remote/hybrid, posting date and full description. Export JSON/CSV/Excel.

- **URL**: https://apify.com/ocrad/infojobs-jobs-scraper.md
- **Developed by:** [Ocrad](https://apify.com/ocrad) (community)
- **Categories:** Jobs, Lead generation, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Jobs Scraper

***

Scrape **job offers from InfoJobs.net**, Spain's largest job board. Provide any InfoJobs search URL with your filters (keyword, province, category, remote, contract type, salary …) and the Actor returns the offers on each result page as structured data — including the **full description**, salary range, contract type, workday and teleworking mode — straight from the data embedded in the search page. No login, no detail-page requests.

***

#### **📋 Example Output**

```json
{
  "id": "15dd4aea17489c9822b23b7163af6c",
  "url": "https://www.infojobs.net/alcobendas/ap-fullstack-react-python-fastapi/of-i15dd4aea17489c9822b23b7163af6c",
  "title": "AP fullstack React Python FastAPI",
  "company": "Aubay",
  "companyUrl": "https://aubay.ofertas-trabajo.infojobs.net",
  "location": "Alcobendas",
  "salary": "33,000 - 54,000 EUR / year gross",
  "salaryMin": 33000,
  "salaryMax": 54000,
  "salaryCurrency": "EUR",
  "salaryPeriod": "YEAR",
  "contractType": "Contrato indefinido",
  "workday": "Jornada completa",
  "workplaceType": "Híbrido",
  "postedAt": "2026-10-13T08:46:23Z",
  "isNew": true,
  "executive": false,
  "descriptionText": "Aubay precisa incorporar para proyecto estable en cliente de sector financiero 1 Full Stack Developer con experiencia en React y Python / FastAPI para participar en el de…",
  "scrapedAt": "2026-10-13T17:56:27.853Z"
}
```

#### ⚙️ **Configuration**

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `url` | String | *(required)* | InfoJobs search results URL with filters applied, e.g. `https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python`. |
| `maxPages` | Integer | `1` | Number of result pages to scrape (1–1000, 20–25 offers each). Stops early at the site's last page. |
| `proxyConfiguration` | Object | Apify Proxy (auto) | Proxy settings; switch to RESIDENTIAL if results are empty. |

##### Example Input

```json
{
  "url": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python",
  "maxPages": 3
}
```

##### Getting your search URL

1. Open [infojobs.net](https://www.infojobs.net/) and search with the keyword, location and filters you need
2. Copy the full URL from your browser address bar (it starts with `https://www.infojobs.net/jobsearch/search-results/list.xhtml?`)
3. Paste it as the `url` input

Notes: `contractType`, `workday` and `workplaceType` are returned in Spanish exactly as InfoJobs shows them (e.g. "Contrato indefinido", "Jornada completa", "Híbrido"). Salary is null when the company does not disclose it. The individual offer pages on InfoJobs sit behind a bot-protection captcha, so this Actor deliberately reads everything from the search pages, which already contain the complete description.

***

#### 💬 **Support and Feedback**

Reach out via Apify support channels or leave feedback on the Actor's page.

#### **Is it legal to scrape InfoJobs data?**

It is legal to scrape publicly available job data such as titles, locations, salaries and descriptions. Results may contain personal data (e.g. contact names inside descriptions); scrape personal data only with a legitimate reason. Personal data is protected by the GDPR and Spanish data-protection law (LOPDGDD) — consult your legal advisor if unsure.

# Actor input Schema

## `url` (type: `string`):

An InfoJobs search results URL with your filters applied, e.g. https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python (keyword, province, category, teleworking, contract and salary filters are all kept).

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

How many result pages to scrape (20-25 offers each, full description included). Pagination via the ?page= query parameter (1-based); stops early at the site's last page.

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

Proxy settings. Defaults to Apify Proxy (auto). Switch to RESIDENTIAL only if results are empty.

## Actor input object example

```json
{
  "url": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python",
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `id` (type: `string`):

InfoJobs offer code (hex string, the part after /of-i in the URL)

## `url` (type: `string`):

Public offer URL on infojobs.net

## `title` (type: `string`):

Offer title

## `company` (type: `string`):

Company name

## `companyUrl` (type: `string`):

Company page URL on InfoJobs

## `location` (type: `string`):

City / province of the job

## `salary` (type: `string`):

Salary as text, e.g. '33,000 - 54,000 EUR / year gross' (null when not disclosed)

## `salaryMin` (type: `string`):

Minimum salary (numeric)

## `salaryMax` (type: `string`):

Maximum salary (numeric)

## `salaryCurrency` (type: `string`):

Salary currency, e.g. EUR

## `salaryPeriod` (type: `string`):

Salary period, e.g. YEAR, MONTH

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

Contract type in Spanish, e.g. 'Contrato indefinido', 'Contrato de duración determinada'

## `workday` (type: `string`):

Workday in Spanish, e.g. 'Jornada completa', 'Jornada parcial'

## `workplaceType` (type: `string`):

Teleworking mode in Spanish: 'Presencial', 'Híbrido' or 'Sólo teletrabajo'

## `postedAt` (type: `string`):

Publication timestamp (ISO 8601)

## `isNew` (type: `string`):

True when the offer is flagged as new on the listing

## `executive` (type: `string`):

True for executive (management) offers

## `descriptionText` (type: `string`):

Full offer description as plain text

## `scrapedAt` (type: `string`):

ISO 8601 timestamp when the record was scraped

# 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 = {
    "url": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ocrad/infojobs-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 = {
    "url": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("ocrad/infojobs-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 '{
  "url": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=python",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call ocrad/infojobs-jobs-scraper --silent --output-dataset

```

## MCP server setup

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