# Lavoro CdT.ch Scraper: Ticino Jobs from Corriere del Ticino (`santamaria-automations/lavoro-cdt-ch-scraper`) Actor

Scrape jobs from lavoro.cdt.ch (Corriere del Ticino portal, Italian Swiss). Returns title, company logo, Ticino region, work percentage, workfield, posted date, Cloudflare-decoded emails, full Italian description (HTML+MD).

- **URL**: https://apify.com/santamaria-automations/lavoro-cdt-ch-scraper.md
- **Developed by:** [NanoScrape](https://apify.com/santamaria-automations) (community)
- **Categories:** Jobs, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 job serp results

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

## Lavoro CdT.ch Scraper: Ticino Jobs from Corriere del Ticino

Extract structured job listings from [lavoro.cdt.ch](https://lavoro.cdt.ch), the **Corriere del Ticino** jobs portal for Italian-speaking Switzerland. Covers Ticino regions Lugano, Bellinzona, Locarno, Mendrisio, and Chiasso across all workfields (Amministrazione, Energia, Ristorazione, Sociale, Servizi, and more). Cloudflare-obfuscated email addresses are decoded automatically so contact info comes out clean.

### What you get

- **Job fields**: title, job\_url, company\_name, company\_logo\_url
- **Location**: location, country (`CH`), region, city (Ticino regions)
- **Dates**: posted\_at\_text (Italian dd.mm.yyyy), posted\_at\_datetime (ISO 8601)
- **Employment**: employment\_type, work\_percentage (Swiss % - 100%, 80%, 80%-100%), job\_category (Italian workfield)
- **Salary**: salary\_min, salary\_max, salary\_currency (`CHF`), salary\_period, salary\_text
- **Description quartet**: description (snippet), description\_full (plain text), description\_html, description\_md
- **Contacts**: contact\_emails (Cloudflare-decoded), contact\_phones, contact\_urls, apply\_url

### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | string\[] | Italian keywords, e.g. `sviluppatore`, `contabile`, `infermiere`. Leave empty to crawl the whole active board (typically 15-25 active listings). |
| `searchUrls` | string\[] | Direct lavoro.cdt.ch search URLs to crawl |
| `startUrls` | string\[] | Direct job detail page URLs (`/announces/{id}/{slug}`) |
| `region` | string enum | Ticino region filter: Lugano, Mendrisio, Locarno, Chiasso |
| `workfield` | string | Workfield category (Italian) - Amministrazione, Energia, Servizi, etc. |
| `sortBy` | string enum | Sort order. lavoro.cdt.ch only exposes its native newest-first order (no server-side sort dropdown or URL parameter). Only supported value: `"newest"` (default). Present for fleet consistency. |
| `includeJobDetails` | boolean | Fetch full job detail page per listing (description, work percentage, contacts). Charges `job-detail-result` PPE event. Default `true`. |
| `includeCompanyDetails` | boolean | Include company logo and sidebar contacts from detail page |
| `maxResults` | integer | Total cap (default 10, max 500) |
| `maxResultsPerQuery` | integer | Cap per search query |

### Sample output

```json
{
  "_type": "job",
  "id": "2725",
  "title": "Asssistente marketing",
  "job_url": "https://lavoro.cdt.ch/announces/2725/asssistente-marketing",
  "source_platform": "lavoro.cdt.ch",
  "company_name": null,
  "company_logo_url": "https://assets.gruppocdt.ch/lavoro/agencies/88422452-1ffc-4653-922e-48a184363e1a.jpg",
  "location": "Lugano",
  "country": "CH",
  "region": "Lugano",
  "city": "Lugano",
  "posted_at_text": "24.08.2026",
  "posted_at_datetime": "2026-08-24T00:00:00Z",
  "employment_type": "full-time",
  "work_percentage": "100%",
  "job_category": "Amministrazione",
  "salary_min": null,
  "salary_max": null,
  "salary_currency": null,
  "salary_period": null,
  "salary_text": null,
  "description": "Outdoor Enterprise SA, appartenente al Gruppo Beretta Holding SA, e attiva nel settore della distribuzione di armi da caccia, sport e accessoriato...",
  "description_full": "Outdoor Enterprise SA...\n\nASSISTENTE MARKETING (junior) - 100%\n\nLa risorsa si dovra occupare...",
  "description_html": "<p><b>Outdoor Enterprise SA,</b> appartenente al Gruppo Beretta Holding SA...</p>",
  "description_md": "**Outdoor Enterprise SA,** appartenente al Gruppo Beretta Holding SA...",
  "contact_emails": ["marketing@outdoor-enterprise.ch"],
  "contact_phones": [],
  "contact_urls": [],
  "apply_url": null,
  "search_query": "sviluppatore",
  "scraped_at": "2026-09-03T21:30:00Z"
}
```

### Pricing

Charges **3 PPE events** per run:

| Event | Cost | When |
|---|---|---|
| `actor-start` | $0.001 | Once per run |
| `job-serp-result` | $0.003 | Per job (SERP data only) |
| `job-detail-result` | $0.005 | Per job when `includeJobDetails: true` |

10 results with details = $0.001 + (10 x $0.005) = **$0.051**. lavoro.cdt.ch is a small niche board with typically 15-25 active ads at any time, so full-board crawls stay very cheap.

New Apify accounts include **$5 free monthly credit** - enough for hundreds of runs.

### Tips

- **Small active board**: lavoro.cdt.ch is a focused Ticino board that typically has 15-25 active listings at any given time. Note: the site's "Annunci sul Sito" counter (currently ~2703) reflects all listings ever posted in the database, not current active ads. Pass `https://lavoro.cdt.ch/` as a `searchUrls` entry to crawl the full active board across all pages.
- **Best full-board approach**: set `searchUrls: ["https://lavoro.cdt.ch/"]` with `maxResults: 100`. This crawls the homepage pagination and returns all active listings (typically 15-25).
- **Italian keywords work best**: `sviluppatore`, `contabile`, `infermiere`, `venditore`, `ingegnere`, `giardiniere`, `assistente`.
- **Ticino regions**: use the `region` filter for Lugano, Mendrisio, Locarno, or Chiasso.
- **Cloudflare email decoding**: every ad hides its contact email behind Cloudflare's `data-cfemail` obfuscation. This actor decodes them automatically - no post-processing needed.
- **Company name is often null**: many ads on lavoro.cdt.ch only show an agency logo, not a company name. When present, the logo URL points to `assets.gruppocdt.ch`.
- **Newest-first**: lavoro.cdt.ch is natively sorted newest-first; there is no sort dropdown to override this.

### Related Actors

- [Jobs.ch Scraper](https://apify.com/santamaria-automations/jobs-ch-scraper): German-speaking Swiss job board (jobs.ch, JobCloud)
- [Jobup.ch Scraper](https://apify.com/santamaria-automations/jobup-ch-scraper): French-speaking Swiss job board (JobCloud)
- [Carriera.ch Scraper](https://apify.com/santamaria-automations/carriera-ch-scraper): Italian-speaking Swiss job board
- [Arbeit Swiss Scraper](https://apify.com/santamaria-automations/arbeit-swiss-scraper): Swiss federal job board (arbeit.swiss)
- [SwissDevJobs Scraper](https://apify.com/santamaria-automations/swissdevjobs-ch-scraper): Swiss developer jobs
- [ICTjobs.ch Scraper](https://apify.com/santamaria-automations/ictjobs-ch-scraper): Swiss ICT and tech jobs
- [ZentralJob.ch Scraper](https://apify.com/santamaria-automations/zentraljob-ch-scraper): Central Switzerland jobs
- [OstJob.ch Scraper](https://apify.com/santamaria-automations/ostjob-ch-scraper): Eastern Switzerland jobs
- [JobBasel.ch Scraper](https://apify.com/santamaria-automations/jobbasel-ch-scraper): Basel region jobs
- [JobBern.ch Scraper](https://apify.com/santamaria-automations/jobbern-ch-scraper): Bern region jobs
- [JobMittelland.ch Scraper](https://apify.com/santamaria-automations/jobmittelland-ch-scraper): Mittelland region jobs
- [JobZueri.ch Scraper](https://apify.com/santamaria-automations/jobzueri-ch-scraper): Zurich region jobs
- [MyJob.ch Scraper](https://apify.com/santamaria-automations/myjob-ch-scraper): Swiss jobs (myjob.ch)
- [Schaffu.ch Scraper](https://apify.com/santamaria-automations/schaffu-ch-scraper): Swiss jobs (schaffu.ch)
- [NiceJob.de Scraper](https://apify.com/santamaria-automations/nicejob-de-scraper): German jobs
- [Subito.it Jobs Scraper](https://apify.com/santamaria-automations/subito-it-jobs-scraper): Italian jobs

### Issues

Found a bug or a field that is not populating? Open an issue at the [Issues tab](https://console.apify.com/actors/WfU1w4d9fggEeJllf/issues).

### Support

Questions? Contact us at <contact@nanoscrape.com>.

# Actor input Schema

## `searchQueries` (type: `array`):

One or more Italian job titles or keywords to search on lavoro.cdt.ch. Each entry runs as a separate search. Examples: 'sviluppatore', 'contabile', 'infermiere'. Leave empty to crawl the whole active board (typically 15-25 active listings).

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

Direct lavoro.cdt.ch search URLs to crawl. Example: https://lavoro.cdt.ch/search?qs=marketing\&search=true or the homepage https://lavoro.cdt.ch/ to get the whole active board across all pages.

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

Direct lavoro.cdt.ch job detail page URLs to scrape. Example: https://lavoro.cdt.ch/announces/2725/asssistente-marketing

## `region` (type: `string`):

Filter by Ticino region. Values: Lugano, Mendrisio, Locarno, Chiasso. Leave empty for all of Ticino.

## `workfield` (type: `string`):

Filter by workfield category (Italian labels). Examples: 'Amministrazione', 'Energia', 'Ristorazione/Catering', 'Servizi', 'Settore verde', 'Sociale'. Leave empty for all categories.

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

How to order results. lavoro.cdt.ch only exposes a single native order (newest posted first) - the site has no sort dropdown or sort URL parameter. This field is present for fleet consistency; the sole supported value is 'newest'.

## `includeJobDetails` (type: `boolean`):

When enabled, fetches the full job detail page for each listing to populate description\_full, description\_html, description\_md, work\_percentage, employment\_type, company\_logo\_url, apply\_url, salary, and contact fields. Charges the job-detail-result PPE event instead of job-serp-result.

## `includeCompanyDetails` (type: `boolean`):

Surface company logo URL and contact info from the job detail page. Requires a detail-page fetch per listing.

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

Total cap across all search queries. lavoro.cdt.ch is a small niche board with typically 15-25 active listings at any time, so values above 50 are effectively unlimited for a full-board crawl.

## `maxResultsPerQuery` (type: `integer`):

Maximum results per individual search keyword or URL.

## `maxConcurrency` (type: `integer`):

Maximum parallel detail-page fetches (when includeJobDetails=true).

## Actor input object example

```json
{
  "searchQueries": [
    "sviluppatore"
  ],
  "region": "",
  "workfield": "Amministrazione",
  "sortBy": "newest",
  "includeJobDetails": true,
  "includeCompanyDetails": false,
  "maxResults": 10,
  "maxResultsPerQuery": 10,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `jobListings` (type: `string`):

Dataset containing scraped lavoro.cdt.ch Ticino job listings. Each row includes title, company logo, region, workfield category, work percentage, posted date, contact emails, and Italian 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 = {
    "searchQueries": [
        "sviluppatore"
    ],
    "region": "",
    "sortBy": "newest",
    "includeJobDetails": true,
    "includeCompanyDetails": false,
    "maxResults": 10,
    "maxResultsPerQuery": 10,
    "maxConcurrency": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/lavoro-cdt-ch-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 = {
    "searchQueries": ["sviluppatore"],
    "region": "",
    "sortBy": "newest",
    "includeJobDetails": True,
    "includeCompanyDetails": False,
    "maxResults": 10,
    "maxResultsPerQuery": 10,
    "maxConcurrency": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/lavoro-cdt-ch-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 '{
  "searchQueries": [
    "sviluppatore"
  ],
  "region": "",
  "sortBy": "newest",
  "includeJobDetails": true,
  "includeCompanyDetails": false,
  "maxResults": 10,
  "maxResultsPerQuery": 10,
  "maxConcurrency": 3
}' |
apify call santamaria-automations/lavoro-cdt-ch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/lavoro-cdt-ch-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/WfU1w4d9fggEeJllf/builds/J4R003NDg2M03Ne1o/openapi.json
