# InfoJobs Scraper (`axlymxp/infojobs-scraper`) Actor

Scrape InfoJobs, Spain's largest job board, by keyword, province, category, contract type and remote/hybrid: title, company, city, contract, salary range, date, plus optional full detail (description, requirements, skills, applications, company rating). Pay per offer.

- **URL**: https://apify.com/axlymxp/infojobs-scraper.md
- **Developed by:** [axly](https://apify.com/axlymxp) (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.00 / 1,000 job offers

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 Scraper

Scrape job offers from **InfoJobs**, Spain's largest job board — search by keyword, province, category, contract type and remote/hybrid/onsite, and optionally pull the full offer detail (description, requirements, skills, applications count, company info). Pay only for the offers you get.

### Output fields

`code`, `title`, `url`, `company_name`, `company_url`, `city`, `contract_type`, `workday`, `teleworking`, `salary_text`, `salary_min`, `salary_max`, `salary_period`, `salary_currency`, `published_at`, `executive`, `promoted`, `summary`, `total_results`.
With **Fetch full offer detail**: `description`, `description_html`, `applications`, `vacancies`, `province`, `category`, `subcategory`, `level`, `industry`, `minimum_studies`, `minimum_experience`, `minimum_requirements`, `desired_requirements`, `required_skills`, `required_languages`, `contract_duration`, `working_hours`, `social_benefits`, `normalized_job_title`, `company_code`, `company_description`, `company_industry`, `company_employees`, `company_website`.

### Use cases

Job-market and salary analysis for Spain, recruiting/sourcing pipelines, competitor hiring monitoring, lead generation (companies actively hiring), job aggregators and alerts.

### Input

| Field | Description |
|---|---|
| `mode` | search / offers |
| `keyword` | Search terms |
| `provinceIds` | e.g. 33 Madrid, 9 Barcelona, 49 Valencia, 34 Málaga, 43 Sevilla, 51 Vizcaya, 53 Zaragoza |
| `categoryIds` | e.g. 150 IT & telecom, 80 Engineering, 10 Business admin, 110 Marketing, 70 Finance |
| `teleworking` | remote, hybrid, onsite |
| `contractTypeIds` | 1 Indefinido, 3 Formativo, 8 Duración determinada, 4 Tiempo parcial |
| `sort` / `since` | RELEVANCE or PUBLICATION_DATE; last 24h / 7d / 15d |
| `offerUrls` | Offer URLs or codes (offers mode) |
| `fetchDetails` | Add the full offer detail per offer |
| `maxItems` | Max offers |

#### Example

```json
{ "keyword": "data engineer", "provinceIds": ["33", "9"], "teleworking": ["remote", "hybrid"], "since": "_7_DAYS", "fetchDetails": true, "maxItems": 200 }
```

### Scheduling & integration

Schedule daily runs with `since: _24_HOURS` for a fresh-offers feed; use webhooks to push into your ATS or Slack. Results via the Apify API, dataset exports and the MCP server for AI agents.

### FAQ

**Which countries?** InfoJobs Spain (infojobs.net). Province IDs are InfoJobs' own numeric IDs (the actor's input hints list the main ones).
**Do I need a proxy?** No — it works from Apify's default IPs.

# Actor input Schema

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

search = job search with filters; offers = specific offer URLs/codes (full detail).

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

Search terms (job title, skill, company). Empty = all offers.

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

InfoJobs province IDs, e.g. 33 Madrid, 9 Barcelona, 49 Valencia, 34 Málaga, 43 Sevilla, 51 Vizcaya, 53 Zaragoza, 26 Baleares, 4 Alicante. Empty = all of Spain.

## `categoryIds` (type: `array`):

e.g. 150 Informática y telecomunicaciones, 80 Ingenieros y técnicos, 10 Administración de empresas, 110 Marketing, 70 Finanzas, 30 Calidad/producción, 160 Turismo, 90 Inmobiliario, 40 Logística.

## `teleworking` (type: `array`):

remote, hybrid, onsite (any combination).

## `contractTypeIds` (type: `array`):

1 Indefinido, 3 Formativo, 8 Duración determinada, 4 Tiempo parcial, 9 Fijo discontinuo.

## `sort` (type: `string`):

Relevance or newest first.

## `since` (type: `string`):

Only offers published in the last 24 hours / 7 days / 15 days.

## `offerUrls` (type: `array`):

InfoJobs offer URLs (…/of-i<code>) or codes (offers mode).

## `fetchDetails` (type: `boolean`):

Add full description, requirements, skills, languages, applications count, vacancies and company info (one extra request per offer; charged per detail).

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

Maximum offers to return.

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

Optional. The InfoJobs API works from datacenter IPs.

## Actor input object example

```json
{
  "mode": "search",
  "keyword": "python",
  "provinceIds": [],
  "categoryIds": [],
  "teleworking": [],
  "contractTypeIds": [],
  "sort": "RELEVANCE",
  "since": "ANY",
  "offerUrls": [],
  "fetchDetails": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "keyword": "python",
    "provinceIds": [],
    "categoryIds": [],
    "teleworking": [],
    "contractTypeIds": [],
    "offerUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/infojobs-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",
    "provinceIds": [],
    "categoryIds": [],
    "teleworking": [],
    "contractTypeIds": [],
    "offerUrls": [],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/infojobs-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",
  "provinceIds": [],
  "categoryIds": [],
  "teleworking": [],
  "contractTypeIds": [],
  "offerUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call axlymxp/infojobs-scraper --silent --output-dataset

```

## MCP server setup

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