# InfoJobs Scraper - Spain Jobs, Salary & Company (`tagadanar/infojobs-scraper`) Actor

Scrape InfoJobs Spain jobs by keyword, province and city: title, company, salary range, contract, workday, teleworking, posting date and description, with paging and total counts. $0.50 per 1,000 jobs + $0.001 per run; platform costs included.

- **URL**: https://apify.com/tagadanar/infojobs-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (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.35 / 1,000 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 Scraper — Spain jobs, salary and company

Collect public InfoJobs Spain job ads by keyword, province and city for recruiting, salary benchmarking and labour-market analysis. Export flat rows to JSON, CSV or Excel.

**$0.50 per 1,000 delivered jobs + $0.001 per run. Platform usage is included.** Bronze: $0.45/1k; Silver: $0.40/1k; Gold: $0.35/1k. Duplicate job IDs are delivered and charged once per run.

### Example

```json
{
  "keywords": ["programador"],
  "province": "33",
  "city": "Madrid",
  "maxResults": 60
}
```

Use province `33` or `Madrid`, `9` or `Barcelona`, or another InfoJobs Spain province name. Omit province and city for a search across Spain. City takes the website's town name. InfoJobs applies these location filters before paging. Keywords can also be pasted as comma-separated or newline-separated text through the API.

| Input | Meaning |
| --- | --- |
| `keywords` | Job keywords; up to 20 searches. |
| `province` | InfoJobs province ID or name; optional. |
| `city` | City or town name; optional. |
| `teleworking` | `any`, `onsite`, `remote`, `hybrid`, `unspecified`. |
| `contractType` | `any`, `permanent`, `temporary`, `other`, `discontinuous`. |
| `workday` | `any`, `full`, `part-morning`, `part-afternoon`, `part-unspecified`, `intensive-morning`, `intensive-unspecified`, `unspecified`. |
| `sortBy` | `relevance` (default) or `date`. |
| `maxResults` | Jobs per keyword; default 100, maximum 1,000. |

### Output

Each unique job has `id`, `title`, `company`, `companyUrl`, `companyLogoUrl`, `city`, `province`, `provinceSource`, `country`, `salaryMin`, `salaryMax`, `salaryPeriod`, `salaryCurrency`, `salaryType`, `contractType`, `workday`, `teleworking`, `datePosted`, `description` and `url`. Query context is in `searchKeyword`, `searchProvince`, `searchCity`, `searchTotal`, `searchPage` and `retrievedAt`.

Salary ranges remain numeric, with their original currency, period (for example YEAR) and gross/net type. Missing salary is null. The description is the search payload's text; it may be shorter than the complete job page. `searchTotal` is the origin's count before the result cap and deduplication.

**Field limits:** the public search response currently omits experience, studies and applicant counts. `experience`, `studies` and `applicants` are null when absent. Job-detail pages returned a Distil CAPTCHA during the platform route proof, so this actor does not fetch them. The search response also omits each offer's province: `province` comes from the origin's acknowledged single-province location filter and is labelled `provinceSource: "search-filter"`; an unfiltered search leaves it null. No province is guessed from a city name.

### Completion and limits

The actor follows the site's page navigation and compares job IDs between pages. It processes keywords sequentially, stops at the requested limit or the bounded page cap, and names interrupted or refused searches in the final status. InfoJobs may return semantic or loosely related matches; the keyword is not an exact title filter. Counts and ads can change during pagination.

A proved zero ends successfully as `PROVEN_EMPTY`. A CAPTCHA, invalid response or failed request with no delivered jobs ends FAILED with a named reason. Invalid input ends SUCCEEDED with `Input error: ...` before any origin request; the run-start charge still applies.

Only public website search data is used. No InfoJobs account, developer credentials, or proxy configuration is required.

# Changelog

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

# Actor input Schema

## `keywords` (type: `array`):

Job keywords in Spanish or another language; up to 20 searches. InfoJobs applies its own relevance matching.

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

InfoJobs province ID or name. Examples: 33 or Madrid, 9 or Barcelona. Omit for all Spain.

## `city` (type: `string`):

City name as used by InfoJobs, for example Madrid or Barcelona. The website filters results before pagination.

## `teleworking` (type: `string`):

Filter or sort on the InfoJobs website.

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

Filter or sort on the InfoJobs website.

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

Filter or sort on the InfoJobs website.

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

Filter or sort on the InfoJobs website.

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

Up to 1,000 jobs per keyword, with duplicate job IDs delivered once across the run.

## Actor input object example

```json
{
  "keywords": [
    "programador"
  ],
  "province": "33",
  "city": "Madrid",
  "teleworking": "any",
  "contractType": "any",
  "workday": "any",
  "sortBy": "relevance",
  "maxResults": 60
}
```

# Actor output Schema

## `dataset` (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 = {
    "keywords": [
        "programador"
    ],
    "province": "33",
    "city": "Madrid",
    "maxResults": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/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 = {
    "keywords": ["programador"],
    "province": "33",
    "city": "Madrid",
    "maxResults": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/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 '{
  "keywords": [
    "programador"
  ],
  "province": "33",
  "city": "Madrid",
  "maxResults": 60
}' |
apify call tagadanar/infojobs-scraper --silent --output-dataset

```

## MCP server setup

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