# InfoJobs Scraper (Spain jobs) (`hexagone-data/infojobs-scraper`) Actor

Scrape InfoJobs Spain job searches in date order, completeness checked in numbers, sponsored jobs never duplicated, big searches split. Title, company, city, salary numbers, contract, workday, remote work, dates, full description. Pay per job.

- **URL**: https://apify.com/hexagone-data/infojobs-scraper.md
- **Developed by:** [Hexagone Data](https://apify.com/hexagone-data) (community)
- **Categories:** Jobs, Automation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.53 / 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) — infojobs.net searches read to the last page, in date order

Collect job offers from **InfoJobs Spain (www.infojobs.net)**, the largest job board in Spain. Type search words with the form filters, or paste the search results URL you built on the site, and get one clean record per job: title, company and its InfoJobs page, city, contract, workday, remote work, **salary as numbers** (min, max, period, gross/net), publication date, full description, sponsored / republished / new flags and link.

### Why this one: date order, completeness checked in numbers

- **Read in date order.** In InfoJobs' default order ("relevance") the same job shows up on two pages and another one is never shown: on 9 November 2026 our own measurement script read `enfermera` (1,063 jobs announced) and got only 1,060 different jobs, on two readings out of two, and `contable` 2,111 for 2,117; in date order the same script read 1,063 of 1,063, 2,117 of 2,117, and 12 searches of 12 in full. **This Actor on the Apify platform**, the same day: every announced job was delivered in the 12 new searches it read to their end (7 on build 0.1.4: `ingeniero industrial` 824 of 824, `teleoperador` 774 of 774, `pintor` 238 of 238, and 4 more from 72 to 137 jobs; 5 on build 0.1.5, from 26 to 876 jobs), and `contable` 2,115 of 2,115 on an earlier build; one other search gave 444 of its 445 announced jobs (1 missing, within the tolerance, see below).
- **A completeness check per search, in numbers**: distinct jobs read versus the total the site announces, at the start and at the end of the run. A page the site refuses is read again at the end of the pass, when the time left in the run allows it. A second and a third pass run when more than 2 jobs and 3 % are missing, or when the total went down while the search was read (a job removed meanwhile shifts the next pages up, so one job at a page edge can be skipped; the next pass reads it). `done` allows a gap within 2 jobs or 3 %, said in numbers in `detail`; beyond it you get `partial_collection` with the count, never a silent "done".
- **Sponsored jobs never duplicated.** Result pages can start with up to 2 sponsored slots that repeat a job of the list (20 of 20 found again further down on `enfermera`; some searches show none). They are not counted as results, and a job is delivered (and charged) **once**; a sponsored job that never appears in the list itself is delivered once at the end (`promotedOnly`).
- **Searches over the site's limit of 59,980 jobs are split.** InfoJobs refuses page 3,000 and beyond (2,999 pages of 20); the whole site holds 59,465 to 60,311 jobs depending on the hour (9 November 2026). A bigger search is split by country, then by province, duplicates removed (`slices` in the Run summary). This split is **tested offline only** (see Known limits).
- **Checked field by field against the real pages**: 7 searches rendered by a real browser on 9 November 2026 (the cards as shown): **150 of 150 records identical**; on the Apify platform, pages 1 and 2 of the 7 new searches above: **291 of 291 jobs identical** to the rendered cards. Two overlapping search URLs: the second one was read to its end, **444 of its 445** announced jobs (1 missing, within the tolerance).

### What this Actor does NOT return

InfoJobs refuses its job pages to Apify servers (measured, see Known limits), so this Actor returns only what the search results pages show. **Not returned**: applicants count, minimum experience, minimum studies (beyond the level, see below), requirements, languages, skills, category and subcategory, province, job level, number of vacancies, benefits, company rating, company sector, job reference, HTML description. **Exception, with an option that is off by default**: the category, the minimum education level and the province can be added without job pages (`includeFilterFields`, see [Category, minimum education and province](#category-minimum-education-and-province-option)); the subcategory, the experience and the rest of this list stay out. **A pasted job URL**, including the address you get after clicking a job in the results, is refused before any request is sent: nothing is read for it and no job is charged for it.

**Returned instead**, as shown in the search results: title, company and its InfoJobs page, job link, city, remote work, contract, workday, salary as numbers (min, max, period, gross/net), the full description as text, publication date, and the sponsored, republished and executive flags (see Output).

### Try it with 20 jobs

1. Keep **Search words** at `enfermera` (the form's prefill), or type your own words.
2. Keep **Max jobs** at `20`.
3. Start the Actor, then read the **Run summary** before exporting JSON, CSV or Excel.

```json
{
  "searchTerms": ["enfermera"],
  "maxItems": 20
}
```

`maxItems` defaults to 20, in the form and in API calls; `0` means no limit.

### What to paste

- **Search words** (`searchTerms`): one search per line, as typed in the InfoJobs search box. The form filters **Province**, **Published within** (any time, 24 hours, 7 days, 15 days), **Remote work** and **Contract type** apply to these words only.
- **A search results URL** copied from your browser (`startUrls`), with every filter you chose on the site, e.g. `https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=camarero&provinceIds=9&provinceIds=33`. **Every parameter of the URL is sent to InfoJobs as it is**, in its order: province, city, country, remote work, category, subcategory, studies, workday, contract, publication date, foreign jobs, and also the left-column filters such as minimum salary (`salaryMin`, `salaryPeriod`, `salaryType`), experience (`experienceMin`, `experienceMax`) or the distance around a city (`cityId`, `radius`). Only these are changed: `sortBy` and `page` are replaced by the date order and this Actor's own paging (said in the Run summary, `orderNote`), and ad tracking parameters (`utm_…`, `gclid`, `fbclid`) are not sent (`droppedParams`). `segmentId` is sent but InfoJobs ignores it (`ignoredByInfoJobs`). A URL whose values are not UTF-8 text (e.g. `M%E1laga` typed by hand instead of `M%C3%A1laga`) is refused with that reason. `https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=` reads the whole site.
- **Not accepted**:

  - **a job URL** (`https://www.infojobs.net/<city>/<job>/of-i<code>`), including **the address you get after clicking a job** in the results (`…?applicationOrigin=search-new&page=1&sortBy=RELEVANCE`): InfoJobs blocks its job pages from Apify servers, so the URL is refused with this reason, without any request: *"InfoJobs job pages cannot be read from Apify servers (the site blocks them); paste the search results address (…/jobsearch/search-results/list.xhtml?keyword=…) instead"*. Go back to the results page and paste its address;
  - pages under `/ofertas-trabajo/…` (some show no data at all), company pages (`<company>.ofertas-trabajo.infojobs.net`), the candidate area. Run the search on infojobs.net and paste the address of the results page.

  A refused address is listed with its reason (`rejectedUrls` in the Run summary, and the log); the other addresses of the run go on.

### Output

One record per job. A real record (search `cajero`, published within 7 days, read on the Apify platform on 9 November 2026; the description is shortened here):

```json
{
  "jobId": "0315f015794860b24a8fc7493d53da",
  "url": "https://www.infojobs.net/lleida/cajero/of-i0315f015794860b24a8fc7493d53da",
  "title": "Cajero/a",
  "company": "FARMACIA BAQUERO C.B.",
  "companyUrl": "https://www.infojobs.net/farmacia-baquero-c.b./em-i10150535648495370658274023244888700332",
  "companyLogoUrl": null,
  "city": "Lleida",
  "remoteWork": "Presencial",
  "contractType": "Contrato indefinido",
  "workday": "Jornada completa",
  "salaryMin": 17000,
  "salaryMax": 19000,
  "salaryPeriod": "YEAR",
  "salaryCurrency": "EUR",
  "salaryType": "GROSS",
  "description": "¡Buscamos Cajera / Auxiliar de Farmacia para un Proyecto Innovador!\nEn nuestra farmacia estamos impulsando un proyecto innovador y dinámico enfocado en la atención integral y la salud de nuestros clientes. Para ello, buscamos inco…",
  "publishedAt": "2026-11-08T23:47:18Z",
  "isPromoted": false,
  "republished": false,
  "isNew": true,
  "isExecutive": false,
  "upsellings": [],
  "states": ["NEW"],
  "source": "search",
  "searchUrl": "https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=cajero&sinceDate=_7_DAYS&sortBy=PUBLICATION_DATE",
  "scrapedAt": "2026-11-09T01:21:59+00:00"
}
```

- Values are the site's own: double spaces in a title stay (the page merges them on display), contract and workday read as on the card (`Contrato indefinido`, `Jornada completa`).
- **Salary**: numbers as served; `salaryMax` is null for "Más de N €" (minimum only); all five salary fields are null without a salary.
- `description`: the full text served with the search results (150 of 150 complete on the measured cards).
- `isPromoted`: the "Destacada" badge. `republished`: "(Publicada de nuevo)". `isNew`: marked new by the site. `isExecutive`: from the search results.
- `source` is `search` (every record comes from a search results page); `searchUrl` is the start URL (or the search built from your words).
- Unknown values are `null`, never an invented empty text, zero or false.

### Category, minimum education and province (option)

Tick **Add category, minimum education and province** (`"includeFilterFields": true`, **off by default**) to get three more fields on every job, read without opening any job page:

- `category`: the InfoJobs category, e.g. `Sanidad y salud`;
- `minEducation`: the minimum education level asked, e.g. `Grado` or `Ciclo Formativo Grado Superior`;
- `province`: the Spanish province, e.g. `Madrid` (for a job abroad, the region InfoJobs files it under, e.g. `Lisboa` or `Bayern`).

**How**: before reading your search, the Actor reads it again once per value of each InfoJobs filter (category, education level, province), with the values and names taken from the filter counts of the search's page 1, and gives each job the value of the filter it appears in. A filter already in your URL is kept in every extra read; a URL that filters one province (or one category, one education level) gives that value to every job without extra read.

**Measured** on the Apify platform on 9 November 2026 (build 0.1.7, 9 runs with the option and 1 without): every value delivered was compared with the real job pages of the same jobs (captured on 8 and 9 November by a real browser): **149 of 150 values identical, 0 different, 1 left empty** (50 jobs with a captured job page, in 6 searches: category, minimum education and province each; the empty one is the province of a job abroad). On the 9 runs with the option, the category and the education level were filled for all 2,773 jobs, the province for 2,758 (15 left empty: found in two provinces, or in none, e.g. abroad without a region). After corrections from our review (build 0.1.8, 6 more runs, among them two overlapping URLs with Max jobs): 71 of 72 values identical to the job pages, 0 different, 1 left empty (the same job abroad).

**Never guessed**: a field stays `null` when the job is found in no filter (for example a job published while the run reads the filters), in two values of the category or the education level, or in two provinces (some jobs are listed in several provinces); `province` is also `null` for every job of the search when one of the province reads could not be read to its end (a job could then be in a province not read): a refused page, the time left, or a province read twice that still serves fewer jobs than it announces or whose total goes down meanwhile (a job removed during the read shifts the next pages up, so one job at a page edge is skipped). The Run summary says how many jobs got each field (`filterFields`) and a Check `FILTER_FIELDS_INCOMPLETE` tells when filter pages were refused, the tagging was stopped, or a province was left empty for every job.

**Extra pages and time**: one more read of the search per field, plus page 1 of each filter value. With **Max jobs** above 0 (or a maximum charge per run), each value is read at most up to page (Max jobs / 20) + 1, Max jobs counted for the whole run (a job delivered by your second URL can be deeper in its list when your first URL already delivered the jobs before it); with Max jobs up to 200 the Actor first reads pages 1 to Max jobs / 20 of the search (read again afterwards to deliver the jobs), and the category and education reads stop as soon as each of these jobs has its value (the province is read for every value with jobs: a job may be in two). Measured on the platform (pages of the search itself / extra pages / run time):

| Search | Jobs | Search pages | Extra pages | Time with the option |
|---|---|---|---|---|
| `enfermera`, Max jobs 20 | 20 | 1 | 77 | 154 s |
| `programador`, remote only | 91 | 5 | 32 | 69 s |
| `camarero`, Barcelona | 207 | 11 | 31 | 135 s |
| `conductor`, Madrid | 345 | 18 | 50 | 122 s |
| `fisioterapeuta`, Madrid + Barcelona | 145 | 8 | 42 | 145 s |
| `enfermera`, all Spain | 1,085 | 55 | 220 | 506 s |
| `director`, Max jobs 300 | 300 | 15 | 212 | 452 s |
| `electricista`, Max jobs 100 | 100 | 5 | 145 | 320 s (17 s without the option) |
| jobs abroad, Max jobs 100 | 100 | 5 | 150 | 294 s |
| `contable`, Max jobs 400 | 400 | 21 | 266 | 677 s |

So with Max jobs from 20 to 400 the option read 77 to 266 extra pages (mostly page 1 of each province, category and education level with jobs), and a search read to its end about 3 to 6.5 times its own pages. Before each extra page the Actor checks the time left: it stops the tagging (fields then `null`, said in the Run summary) when it would no longer leave time to read this search (at the slowest request seen) and page 1 of each start URL still to read; when other start URLs follow, it also stops once it has used half of the time that was left when it started. Their length is not known in advance: a run that already comes close to its timeout without the option (several long searches) can reach it with the option; split such runs.

**What it costs you**: nothing more per job. The extra pages are never charged; only delivered jobs are, once each, at the usual price (see Pricing). The run takes longer (above).

**Limit**: with a province filter in your URL, a job also listed in a province outside your filter gets the province of your filter (the province reads use your filter's values only; not seen in the measured searches).

### Run summary

The **Run summary** (key-value store `SUMMARY`, and `OUTPUT` as JSON) gives one line per start URL:

- `status`: `done`, `partial_collection`, `stopped_at_limit`, `no_results`, `rejected_by_site` (InfoJobs answers with its error page, e.g. a `sinceDate` value it does not accept), `blocked_by_site`, …
- `totalAnnounced` (the site's total at the start), `totalAtEnd` (re-read at the end), `jobsDistinct` (different jobs read in the list itself), `missing`, `passes` and `passReasons` (why a search was read again), `promotedOnly`, `pagesFailed` (result pages never read, after 6 IPs each; the Checks say whether each was tried again at the end of the pass, or not because the time left in the run or your limit stopped it first), `pagesReadAgain` (refused at first, then read), `slices` (the parts of a search over 59,980 jobs), `orderNote`, `droppedParams`, `ignoredByInfoJobs`, `detail` (the reason for any gap, in words and numbers). A page whose total is far from the total of page 1 is checked by reading page 1 again before its total is used.
- With `includeFilterFields`: `filterFields` (extra pages and requests, jobs filled and left empty per field, why the tagging stopped, if it did).
- Run totals: `jobs`, `requests`, `ipRotations`, `maxChargeReached`, `rejectedUrls` (each refused address and why), and a **Checks** list of warnings (pages refused, unexpected values delivered as null…). A warning never stops the run; a run where no address delivers anything fails with a message that tells why (empty search, or refused by the site — never confused).

### Pricing

Pay per result, plus a start fee:

- **Job** (`apify-default-dataset-item`): $0.00075 per delivered job — $0.75 per 1,000 jobs.
- **Actor start** (`apify-actor-start`): $0.005 per run (once per GB of memory; the default is 1 GB).

Apify subscribers pay less automatically: 10% off on the Bronze plan, 20% on Silver, 30% on Gold and above.

| Run | Price |
|---|---|
| 20 jobs | $0.02 |
| 1,000 jobs | $0.755 |

These totals include the $0.005 start fee.

**A job is charged once**, even when it is seen in a sponsored slot, in two of your searches, in two parts of a split search, in a second pass or in the extra reads of `includeFilterFields` (those pages are never charged, and the price per job is the same with or without the option). **Maximum charge per run**: the run stops cleanly when your limit is reached (`stopped_at_limit`).

### Known limits

- **Job pages are not read.** InfoJobs blocks them from cloud servers: measured on 9 November 2026, in 8 test runs on the Apify platform a browser got the site's access cookie 45 times and **0 job pages** were served (captcha, HTTP 405), with the browser hidden or shown; a diagnostic run that checked that the browser and the request used the same IP got the cookie 3 more times and was refused too; the search results pages of the same runs were read in full. So there is **no applicants count, no requirements, skills or languages, no subcategory, no experience and no number of vacancies**: only what the search results show (above); the category, the minimum education level and the province only with the option `includeFilterFields` (off by default, read from the search filters, see above).
- **Pasted job URLs are refused**, including the address you get after clicking a job: paste the search results URL instead (see What to paste).
- **The order is by date** (newest first), whatever the URL asks: in our measurements it is the order in which InfoJobs does not repeat or hide jobs between pages (see Why this one).
- **Form filters apply to search words, not to pasted URLs** (a pasted URL keeps its own filters).
- **Pages under `/ofertas-trabajo/…` are refused**: paste the results URL instead.
- **No contact data**: the ad text is delivered as published, nothing is extracted from it; no login.
- **Proxy**: Spanish residential IPs are needed (InfoJobs refuses datacenter IPs from the first page, measured); a new IP is used every 4 result pages and after each refusal.
- **Searches over 59,980 jobs: tested offline only.** The split by country, then by province, is tested with simulated pages and a limit reduced to 40 jobs; it has not run on the real site. The duration of a whole-site run (about 3,000 result pages; 2.1 to 3.5 s per page measured on the platform) is not measured and may come close to the default timeout of 3 hours (a second pass is not started when it cannot end in time, see below). A part still over the limit with no filter left is read up to the limit and reported as `partial_collection` (not measured: no such part on 9 November 2026). A pasted URL that already has its own country or province filters is split by the dimensions left only.
- **Long searches and the 3-hour timeout**: at 2.1 to 3.5 s per result page (measured on the platform), 3 passes no longer fit in the default timeout of 3 hours from about 1,030 pages (about 20,000 jobs), 2 passes from about 1,540 pages (about 30,000 jobs); so before a new pass or a second reading of refused pages, the Actor estimates its duration from the pass before (a refused page counted as 6 tries with the pauses between them, at the slowest request seen), keeps time for page 1 of each start URL still to read, and does not start it if it cannot end 5 minutes before the run's timeout (`detail` then says "verification pass skipped: not enough time left in the run", and the status follows the real gap: `done` within the tolerance, otherwise `partial_collection`; when the skipped pass would have checked a total that went down, the Checks say it: `TOTAL_WENT_DOWN`). Only page 1 of the start URLs still to read is kept: a first pass that is longer than the time left (one very long search, or long searches after it) still reaches the timeout, and the run then ends TIMED-OUT without a Run summary; split such searches into several runs.
- **A search read again costs time, not money**: a refused page, a gap beyond the tolerance or a total that goes down while the search is read means more requests (up to 3 passes); each job is still charged once.
- Not measured: net salaries, decimal salaries, "Hasta N €" (maximum only); the Actor delivers whatever the site serves.

### Support

Questions, a search that does not come back complete, a field you need: open an issue on the Actor's page. Please include the run ID and the Run summary line.

This Actor is not affiliated with InfoJobs or Adevinta, and is not endorsed or sponsored by them. It reads public pages of infojobs.net as any visitor can, without login.

# Actor input Schema

## `searchTerms` (type: `array`):

One InfoJobs search per line, as typed in the InfoJobs search box (e.g. enfermera, camarero, programador java). The filters below apply to these words. To read the whole site, paste https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword= in InfoJobs URLs.

## `province` (type: `array`):

Spanish provinces, as on the InfoJobs form. Several = jobs in any of them. Applies to the search words, not to pasted URLs.

## `publishedWithin` (type: `string`):

Only jobs published in this period (the periods InfoJobs accepts). Applies to the search words, not to pasted URLs.

## `remoteWork` (type: `array`):

On-site, remote only, hybrid, not specified. Several = any of them. Applies to the search words, not to pasted URLs.

## `contractType` (type: `array`):

Contract types of the InfoJobs form. Several = any of them. Applies to the search words, not to pasted URLs.

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

InfoJobs search results URLs exactly as your browser shows them, filters included (https://www.infojobs.net/jobsearch/search-results/list.xhtml?keyword=enfermera\&provinceIds=33): every parameter is sent to InfoJobs as it is (salary, experience, distance filters included), except ad tracking (utm\_, gclid, fbclid). The order is by date: a sortBy in the URL is replaced (said in the run summary). Job URLs (…/of-i<code>, also the address you get after clicking a job) are refused: InfoJobs blocks job pages from Apify servers. Pages under /ofertas-trabajo/ are refused: run the search and paste the results URL.

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

Maximum number of jobs for the whole run (0 = no limit). Searches over 59,980 jobs are split only when this is 0 or above 59,980.

## `includeFilterFields` (type: `boolean`):

Off by default. Fills category, minEducation and province on each job without opening job pages: before reading your search, the Actor reads it again once per value of the InfoJobs filters (category, education level, province) and gives each job the value of the filter it appears in. This reads extra result pages (about one more read of the search per field, plus page 1 of each filter value with jobs; with Max jobs > 0, at most Max jobs / 20 + 1 pages per value), so a run takes longer: measured 1 to 11 minutes per search, e.g. 320 s instead of 17 s for 100 jobs. The price per job does not change: these extra pages are never charged. A job found in no filter (for example published during the run), in two categories, education levels or provinces keeps the field empty (null), never guessed.

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

Spanish residential IPs (default): InfoJobs refuses datacenter IPs from the first page. A new IP is used every 4 result pages and after each refusal.

## Actor input object example

```json
{
  "searchTerms": [
    "enfermera"
  ],
  "publishedWithin": "ANY",
  "maxItems": 20,
  "includeFilterFields": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

All job records, one per job offer, with every field.

## `jobsOverview` (type: `string`):

Title, company, city, contract, salary, date, link.

## `summary` (type: `string`):

Readable per-URL summary: status, distinct jobs read vs announced, passes, slices, reason for anything missing.

## `summaryJson` (type: `string`):

The same summary as JSON (OUTPUT record).

# 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 = {
    "searchTerms": [
        "enfermera"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "ES"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hexagone-data/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 = {
    "searchTerms": ["enfermera"],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ES",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hexagone-data/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 '{
  "searchTerms": [
    "enfermera"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}' |
apify call hexagone-data/infojobs-scraper --silent --output-dataset

```

## MCP server setup

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