# SAPO Emprego Scraper · Jobs in Portugal (`bibian/sapo-emprego-jobs-scraper`) Actor

SAPO Emprego scraper and API: job postings from one of Portugal's main job boards, by keyword, district, category or pasted search URL, with employer, location, contract, work model, salary bracket and full description. JSON, CSV or Excel, no login.

- **URL**: https://apify.com/bibian/sapo-emprego-jobs-scraper.md
- **Developed by:** [Vivien MORVAN](https://apify.com/bibian) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 job postings

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

## SAPO Emprego Scraper · Jobs in Portugal

Scrape SAPO Emprego job postings in Portugal: title, employer, district, contract, remote or hybrid, salary bracket and full description. Filter by keyword, district, category, work model or a pasted search URL, and get clean JSON, CSV or Excel. No login, no proxy, no browser: the pre-filled run returns 50 postings in about 30 seconds.

### At a glance

| | |
|---|---|
| **What you get** | Job postings from [SAPO Emprego](https://emprego.sapo.pt), Portugal's SAPO job portal (about 24,000 live postings): title, employer, place, district, contract hours, remote / hybrid / on-site, salary bracket when the employer gives one, dates and full description. |
| **Price** | Charged per result; see the Actor's page for the current rate. |
| **Speed** | 50 postings in about 30 seconds on 1 GB. Plain HTTP requests, nothing to configure. |
| **Try it** | Click **Try for free**: the form is already filled with Lisboa and 50 postings. |
| **Search URL** | Paste a search copied from emprego.sapo.pt and get exactly that list. |
| **Keep it fresh** | Schedule it daily and keep only the new postings: see "Only new results" below. |

### What you can do with it

- **Monitor the Portuguese job market**: new postings by job title, district, category or employer, every day.
- **Feed a job alert or an aggregator**: tick "Only new results" and each scheduled run returns, and charges, only what is new.
- **Follow who is hiring**: count postings per company and category, spot staffing agencies and large employers expanding.
- **Study remote and hybrid work in Portugal**: filter on the work model the employer declared and compare districts.
- **Paste a search URL**: run the exact search you built on emprego.sapo.pt, for example `https://emprego.sapo.pt/offers?pesquisa=motorista&local=porto`.

### Input

| Field | What it does |
|---|---|
| Keywords | Job title or skill, as typed in the site's search box, for example `motorista` or `enfermeiro`. The site matches any of the words, so one distinctive word works best. Empty means every posting. |
| Location | A district or island (`Lisboa`, `Porto`, `Faro`, `Madeira`, `Açores`...) is filtered by the site; a town or municipality (`Cascais`, `Matosinhos`) is matched by the Actor on each posting's own place names. Separate several with commas. Empty means all of Portugal. |
| Categories | One or more of the site's 34 job categories (Saúde, Informática e Tecnologias, Comercial e Vendas...). |
| Work model | Any, remote (teletrabalho), hybrid (híbrido) or on-site (presencial), as the employer set it. |
| Published within | Any time, last 24 hours, 7 days or 15 days. |
| Sort by | Automatic (best match with a keyword, newest first otherwise), newest first, or best match. |
| Search URLs | One or more searches copied from emprego.sapo.pt. Each URL is its own search, run before the fields above; results are merged without duplicates. |
| Maximum number of postings | The run stops once this many postings are saved (default 50). |
| Only new results | For scheduled runs: skip the postings an earlier run of this same search already delivered. It reads the list newest first. |
| Include full descriptions | Add the full job description as plain text (default on). |

### Output

One record per posting, mapped to the field names shared by every job-board Actor in this collection (schema.org `JobPosting`). Three real postings from a default run (abridged, `description` left out here):

```json
[
  {
    "id": "sapo-emprego:210f5591-1474-4b2a-8a29-903449fc438a",
    "url": "https://emprego.sapo.pt/offers/operador-de-restauracao-mf-aboboda-part-time-18h-01h?id=210f5591-1474-4b2a-8a29-903449fc438a",
    "title": "Operador de Restauração (M/F) | Abóboda | Part-Time (18H - 01H)",
    "companyName": "McDonald's Portugal",
    "locationLabel": "Lisboa",
    "city": "Lisboa",
    "region": "Lisboa",
    "country": "PT",
    "remote": "onsite",
    "employmentType": "part_time",
    "salaryMin": null,
    "salaryMax": null,
    "datePosted": "2026-11-19",
    "validThrough": "2026-12-19T23:59:59+00:00",
    "industry": "Hotelaria, Restauração e Turismo",
    "source": "emprego.sapo.pt"
  },
  {
    "id": "sapo-emprego:7ccea1ad-7cc6-477b-badc-058b7023a9ca",
    "url": "https://emprego.sapo.pt/offers/buyer-claim-support-agent-french-speaker-mfx?id=7ccea1ad-7cc6-477b-badc-058b7023a9ca",
    "title": "Buyer Claim Support Agent - French Speaker (M/F/X)",
    "companyName": "Randstad Portugal",
    "locationLabel": "Lisbon (Hybrid)",
    "city": "Lisboa",
    "region": "Lisboa",
    "country": "PT",
    "remote": "hybrid",
    "employmentType": "full_time",
    "salaryMin": null,
    "salaryMax": null,
    "datePosted": "2026-11-21",
    "validThrough": "2026-11-21T23:59:59+00:00",
    "industry": "Call-Center, Helpdesk e Telemarketing",
    "source": "emprego.sapo.pt"
  },
  {
    "id": "sapo-emprego:aade9f58-9e75-47e9-922d-4c17f152f0e0",
    "url": "https://emprego.sapo.pt/offers/consultor-imobiliario-mf-com-ou-sem-experiencia?id=aade9f58-9e75-47e9-922d-4c17f152f0e0",
    "title": "Consultor Imobiliário (m/f) COM ou SEM experiência",
    "companyName": "IOR - Parque das Nações",
    "locationLabel": "Lisboa, Parque das Nações",
    "city": "Lisboa",
    "region": "Lisboa",
    "country": "PT",
    "remote": "onsite",
    "employmentType": "full_time",
    "salaryMin": 50000,
    "salaryMax": null,
    "salaryCurrency": "EUR",
    "salaryPeriod": "year",
    "salaryLabel": "Mais de 50.000€",
    "datePosted": "2026-11-21",
    "validThrough": "2026-12-21T23:59:59+00:00",
    "industry": "Administrativo e Secretariado",
    "source": "emprego.sapo.pt"
  }
]
```

Every record also carries `confidentialCompany`, `companyUrl`, `postalCode`, `experienceLevel`, `skills`, `sourceId`, `scrapedAt`, the site's own `reference`, `category` and `salaryLabel`, `searchUrl` (set when the posting came from a pasted URL) and, unless you turn it off, `description`. Export the dataset as JSON, CSV or Excel, or read it through the Apify API.

### Why this one

- **No login, no API key, no browser.** It reads the same public list and offer pages a visitor sees, with plain HTTP requests: a 50-posting run costs a fraction of a cent of platform usage.
- **Keyword, district, category, work model and search URL**, the filters the site itself offers, so what you get matches what you see on emprego.sapo.pt.
- **Built for daily monitoring.** Every posting has a stable `id`, a `datePosted` and a `validThrough`; "Only new results" returns, and charges, only what changed since the last run.
- **No personal data.** Only the employer's company name is kept; phone numbers and personal e-mail addresses found in a description are removed, and an employer that reads as a private person is left out.
- **Same fields as the other job Actors** in this collection (Spain, Germany, France, Latin America...), so Portugal slots into an existing pipeline.

### Good to know

- **The site stops at 9,999 postings per search** (1,111 pages of 9). To go deeper than that, split the work with the filters: one run per district, category or work model.
- **A keyword matches any of its words**, the way the site's own search box does ("técnico de informática" also finds postings that only say "técnico"). With a keyword the Actor keeps the site's best-match order; without one, or with "Only new results", it reads newest first.
- **Towns and municipalities** have no filter on the site: the Actor reads the district lists and keeps the postings whose place names mention the town. A small town can be slow to fill, so the Actor gives up after 40 list pages in a row without a match.
- **Salary is published on only a small share of postings** (under one in ten in the postings checked). When it is, the site shows one of its own brackets ("De 15.000€ a 25.000€", "Mais de 50.000€"), always in euros and, in every posting checked, in the tens of thousands, so read as yearly amounts: the Actor turns it into `salaryMin`, `salaryMax`, `EUR` and `year`, and keeps the original wording in `salaryLabel`. "A definir" (to be defined) leaves every salary field empty.
- **Work model** comes from the employer's own "presencial / híbrido / teletrabalho" choice, which does not always match the title (a posting titled "Híbrido" can be declared on-site). `remote` is `unknown` when the posting declares nothing.
- **Place fields**: `locationLabel` is the place text shown on the page. `city` (the municipality when the site knows it) and `region` (the district) come from the structured address the employer picked, and now and then disagree with the label. `postalCode` is filled when the employer wrote one in the place name.
- **Promoted postings** pinned at the top of the lists by paid highlights are included like any other posting, and so can repeat a few employers on the first page of an unfiltered run: add a keyword, a category or a district to spread the results.
- **Hidden employers**: `companyName` is `null` and `confidentialCompany` is `true` when the posting is anonymous or the employer is named like a private person.
- **Closed postings** that are still listed are read from the page itself; their `validThrough` is then empty.
- **Midnight rebuild**: around midnight (Lisbon time) the site rebuilds its search index, and for roughly half an hour its lists come back empty or partial. The Actor waits up to about two minutes, then stops with a clear message instead of returning a misleading empty result. Schedule your runs outside that window.
- Only public list pages (`/offers`) and offer pages are read, at a polite pace; the site's search endpoint, which its robots.txt disallows, is never called.
- **Descriptions are cleaned of contact details**: a sentence that carries a phone number or a personal e-mail address is removed whole (so a recruiter's name signed next to it goes too), and a generic company mailbox loses only its address. The dataset contains job postings only, never a recruiter's or candidate's personal contact details.

### FAQ

**Can I paste a search from the site?**\
Yes. Build the search on emprego.sapo.pt, copy the address (`https://emprego.sapo.pt/offers?...`) into "Search URLs". Its keyword, district, category, work model and date window are applied; a page number or an unknown parameter is ignored with a warning in the log.

**How do I get only today's new postings?**\
Schedule the run daily with "Published within: last 24 hours", or tick "Only new results" to skip anything an earlier run of the same search already delivered.

**Why are most salaries empty?**\
Most employers on SAPO Emprego choose "A definir" (to be defined) or write the pay in the description text, which is returned as is in `description`.

**Does it collect any individual's personal data?**\
No. Only company names are kept; phone numbers and personal e-mail addresses found in a description are removed before saving.

**Need another site, a missing field or a new filter?**\
Open an issue in the Issues tab and say what you need, with an example URL if you have one. Requests are read, and the most asked ones are built next.

### Em português

Este extrator recolhe as ofertas de emprego publicadas no SAPO Emprego: título, empresa, local, distrito, horário, teletrabalho, híbrido ou presencial, escalão salarial quando existe e descrição completa, em JSON, CSV ou Excel. Pesquise por palavra-chave, distrito, categoria, modelo de trabalho ou cole o endereço de uma pesquisa feita no site. Útil para alertas diários de emprego, agregadores e estudos do mercado de trabalho em Portugal. Não precisa de conta, proxy nem navegador.

# Actor input Schema

## `keywords` (type: `string`):

Job title or skill, as typed in the SAPO Emprego search box, for example "motorista" or "enfermeiro". The site matches any of the words you type, so one distinctive word works best. Leave empty to get every posting.

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

District or island ("Lisboa", "Porto", "Faro", "Madeira", "Açores"), or a town or municipality ("Cascais", "Matosinhos"); several separated by commas. Districts are filtered by the site, towns by the actor on each posting's own place name. Leave empty for all of Portugal.

## `categories` (type: `array`):

Only postings in these SAPO Emprego job categories. Leave empty for all categories.

## `workMode` (type: `string`):

On-site, hybrid or remote work, as the employer set it on the posting.

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

Keep only recent postings. Use "Last 24 hours" for a daily monitoring run.

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

Automatic: best match when you type a keyword, newest first otherwise (and always newest first with "Only new results"). The site stops listing after 9,999 postings per search.

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

Paste one or more search result URLs copied from emprego.sapo.pt (e.g. https://emprego.sapo.pt/offers?pesquisa=motorista\&local=porto). Their filters (keywords, district, category, work model, published-within window) are applied as if you had typed them below, each URL as its own search, in addition to the fields above.

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

The run stops once this many postings are saved.

## `onlyNew` (type: `boolean`):

For scheduled runs. Skip the results that an earlier run of this same search already delivered, so each run returns, and charges, only what is new. The memory is kept in a key-value store of your account named "only-new-memory-bibian-" followed by the ID of this Actor.

## `includeDescriptions` (type: `boolean`):

Add the full job description as plain text (phone numbers and personal e-mail addresses removed).

## Actor input object example

```json
{
  "keywords": "enfermeiro",
  "location": "Lisboa",
  "workMode": "any",
  "publishedWithin": "any",
  "sortBy": "auto",
  "searchUrls": [
    "https://emprego.sapo.pt/offers?pesquisa=motorista&local=porto"
  ],
  "maxItems": 50,
  "onlyNew": false,
  "includeDescriptions": true
}
```

# Actor output Schema

## `postings` (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 = {
    "location": "Lisboa",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("bibian/sapo-emprego-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 = {
    "location": "Lisboa",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("bibian/sapo-emprego-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 '{
  "location": "Lisboa",
  "maxItems": 50
}' |
apify call bibian/sapo-emprego-jobs-scraper --silent --output-dataset

```

## MCP server setup

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