# Xing.com Jobs Scraper (`stone_jadex/xing-jobs-scraper`) Actor

Public Xing.com job postings from allowed landing pages (/jobs/berlin, /jobs/t-python) and jobs sitemaps. Title, company, salary, location, employment type, and optional full description. $0.50 per 1,000 jobs. No start fee. Does not use robots-disallowed search or API paths.

- **URL**: https://apify.com/stone_jadex/xing-jobs-scraper.md
- **Developed by:** [Stone Jade](https://apify.com/stone_jadex) (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 $0.43 / 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

## Xing.com Jobs Scraper

Collect structured public job postings from **Xing.com** landing pages (`/jobs/{city}`, `/jobs/t-{skill}`) and Xing jobs sitemaps for DACH recruiting, salary benchmarking, and labor-market analysis.

In default list mode, the Actor reads the embedded Apollo state on each public landing page (~20 structured job postings per URL) without opening individual job pages. Enable `scrapeDetails` to enrich each job with its full description, skills, benefits, career level, company profile metadata, and street-level location — at the exact same per-job price (`job-detail` replaces `job`, never added on top).

***

### Key Features & Use Cases

- **DACH Recruiting & Market Mapping**: Track active hiring across German, Austrian, and Swiss cities (`Berlin`, `München`, `Hamburg`, `Wien`, `Zürich`) and skill/role landing pages (`python`, `data-engineering`, `controlling`, `product-management`).
- **Salary Band Benchmarking**: Capture published and Xing-estimated annual salary bounds (`salaryMin`, `salaryMax`, `salaryMedian`, `salaryCurrency`) alongside the `salaryEstimated` boolean flag so analysts can separate employer-disclosed ranges from platform estimates.
- **Full Job-Page Enrichment on Demand**: Toggle `scrapeDetails: true` (or pass direct `/jobs/{slug}-{id}` URLs) to extract plain-text and HTML job descriptions, structured responsibilities, required skills, employer benefits, career level, discipline, industry, workplace/remote policy, and company size/profile links.
- **Large-Scale Sitemap Discovery**: Because Xing landing pages are not paginated (~20 postings each), enable `useSitemaps: true` to discover hundreds of public location, skill, and role landing pages from `sitemap.xml.gz` while skipping profile sitemaps and individual-job shards.
- **Deduplicated, Typed Output & Run Auditability**: Deduplicates postings by `jobId` within a run, writes a clean JSON run summary to the key-value store (`OUTPUT`), and appends one uncharged `run-notice` row if a run stops early (`maxItems`, `max-charge-reached`, or `run-time-limit`).
- **Scope-Bounded & Polite Fetching**: Runs direct HTTP without residential proxies by default, honours `requestDelayMs` and `robots.txt` `Crawl-delay`, and hard-refuses out-of-scope paths (`/jobs/search`, `/graphql/`, `/xing-one/api`, `/xas/api/`, login/signup, and external-application redirects).

***

### Input Parameters

Configure the Actor in the Apify Console or pass a JSON input object via the API/SDK. If `startUrls`, `locations`, and `skills` are all empty and `useSitemaps` is `false`, the Actor defaults to `https://www.xing.com/jobs/berlin`.

| Parameter | Type | Default | Constraints / Notes | Description |
| :--- | :--- | :--- | :--- | :--- |
| `startUrls` | `array` | `[{"url": "https://www.xing.com/jobs/berlin"}]` (prefill) | Public `/jobs/{slug}`, `/jobs/t-{skill}`, or `/jobs/{slug}-{id}` URLs on `www.xing.com` | Direct landing pages or individual job pages to scrape. Rejects `/jobs/search`, GraphQL/API, login, and apply URLs. Query `?page=` is stripped because landing pages are not paginated. |
| `locations` | `array<string>` | `["Berlin"]` (prefill) | German umlauts auto-slugified (`ä→ae`, `ö→oe`, `ü→ue`, `ß→ss`) | City or region names converted to `/jobs/{slug}` landing pages (e.g., `"München"` → `https://www.xing.com/jobs/muenchen`). |
| `skills` | `array<string>` | `[]` | Prefix `t-` added automatically if omitted | Skill or role slugs converted to `/jobs/t-{slug}` landing pages (e.g., `"python"` → `https://www.xing.com/jobs/t-python`). |
| `useSitemaps` | `boolean` | `false` | Up to 64 sitemap fetches / 500 landing pages per run | Recommended for 1,000+ jobs. Reads `sitemap.xml.gz` and Xing's location, skill, and role jobs landing sitemaps, opening only as many landing pages as `maxItems` requires. Skips profile sitemaps and numbered individual-job shards. |
| `maxItems` | `integer` | `20` (prefill: `20`) | `1` – `100,000` | Maximum number of unique job postings to collect across all seeds before stopping cleanly. |
| `scrapeDetails` | `boolean` | `false` | Same unit price (`job-detail` replaces `job`) | Opens each public job page to populate `description`, `descriptionHtml`, `skills`, `benefits`, `careerLevel`, `discipline`, `industry`, `companyUrl`, `companySize`, `contactInfoText`, and street/postal location fields. |
| `requestDelayMs` | `integer` | `1000` | `500` – `60,000` ms | Minimum pause between HTTP requests. Raised automatically if `robots.txt` specifies a longer `Crawl-delay`. |
| `maxRunSeconds` | `integer` | `3600` | `30` – `86,400` s | Soft/hard runtime ceiling. The Actor stops cleanly, writes `OUTPUT`, and emits one uncharged `run-notice` row before exceeding the limit. |
| `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Standard Apify proxy object | Direct connection is used by default because Xing landing and job pages are public HTML. Configure Apify Proxy if needed. |
| `useProxyFallback` | `boolean` | `false` | Requires `proxyConfiguration.useApifyProxy: true` | Keeps requests direct until repeated HTTP 403/429 blocks occur, then switches to the configured proxy. |

***

### Input Examples

#### Example 1: Targeted DACH Cities & Skills with Detail-Page Enrichment

Collect up to 60 deduplicated postings across three German cities and two technical skill pages, opening every job detail page for full descriptions, skills, benefits, and career level:

```json
{
  "locations": [
    "Berlin",
    "München",
    "Hamburg"
  ],
  "skills": [
    "python",
    "data-engineering"
  ],
  "maxItems": 60,
  "scrapeDetails": true,
  "requestDelayMs": 1000,
  "maxRunSeconds": 1800,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### Example 2: High-Volume Market Discovery via Xing Jobs Sitemaps (Fast List Mode)

Collect up to 1,000 postings using Xing's public location, skill, and role landing sitemaps without visiting detail pages (~50+ landing pages, ~20 jobs per page):

```json
{
  "startUrls": [],
  "locations": [],
  "useSitemaps": true,
  "maxItems": 1000,
  "scrapeDetails": false,
  "requestDelayMs": 1000,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": false
}
```

***

### Output & Dataset Schema

The Actor stores job postings in the **default dataset** (with two built-in Apify Console table views: **Jobs** (`overview`) and **All fields** (`allFields`)) and writes a structured JSON run summary to the **default key-value store** under key `OUTPUT`.

#### Illustrative JSON Output Example

> **Illustrative only:** The JSON objects below use fictional example values matching `.actor/dataset_schema.json` to demonstrate the output structure; they are not live captured postings. Fields that Xing does not publish on a given posting (or detail-only fields when `scrapeDetails` is `false`) are `null` or empty arrays `[]`.

```json
{
  "recordType": "job",
  "jobId": "123456789",
  "globalId": "surn:x-xing:jobs:posting:123456789.abcdef",
  "slug": "example-company-senior-accountant-123456789",
  "url": "https://www.xing.com/jobs/example-company-senior-accountant-123456789",
  "title": "Senior Accountant (m/f/d)",
  "companyName": "Example Company GmbH",
  "companyId": "12345.abcdef",
  "companyNumericId": "12345",
  "companyLogo": "https://example.com/company-logo.png",
  "companyUrl": "https://www.xing.com/pages/example-company",
  "companySize": "51-500 Mitarbeitende",
  "companyIndustry": "Information technology",
  "companyCity": "Berlin",
  "locations": [
    {
      "city": "Berlin",
      "street": "Example Street 1",
      "zipCode": "10115",
      "region": "Berlin",
      "cityId": 12345,
      "countryCode": "DE",
      "country": "Germany"
    }
  ],
  "cities": [
    "Berlin",
    "Potsdam"
  ],
  "salaryMin": 55000,
  "salaryMax": 70000,
  "salaryCurrency": "EUR",
  "salaryMedian": 62500,
  "salaryEstimated": false,
  "employmentType": "Vollzeit",
  "employmentTypeId": "FULL_TIME",
  "careerLevel": "Mit Berufserfahrung",
  "careerLevelId": "3",
  "discipline": "Finanzen, Rechnungswesen und Controlling",
  "disciplineId": "1006",
  "industry": "Information technology",
  "industryId": "60000",
  "remoteOptions": [
    "PARTLY_REMOTE"
  ],
  "workplace": "Home-Office z. T. möglich",
  "refreshedAt": "2026-10-22T11:16:48Z",
  "activatedAt": "2026-10-07T11:16:48Z",
  "publishedAt": "2026-10-07T11:16:48Z",
  "activeUntil": "2026-12-06T11:24:29Z",
  "applicationType": "UrlApplication",
  "applyUrl": "https://example.com/apply/123456789",
  "applyEmail": null,
  "redirectsToThirdPartyUrl": false,
  "paid": true,
  "topJob": false,
  "prioritized": true,
  "jobCode": "EXAMPLE-123",
  "language": "de",
  "serviceOfferingGroup": 3,
  "summaryResponsibilities": [
    "Prepare monthly financial reports",
    "Support the annual audit"
  ],
  "introduction": "Example Company is hiring a Senior Accountant for its Berlin office.",
  "description": "Example plain-text description of the role and its responsibilities.",
  "descriptionHtml": "<section data-section=\"about\"><p>Example description of the role.</p></section>",
  "responsibilities": [
    "Prepare monthly financial reports",
    "Support the annual audit"
  ],
  "skills": [
    "Financial reporting",
    "Excel"
  ],
  "skillsHtml": "<ul><li>Financial reporting</li><li>Excel</li></ul>",
  "keywords": [
    "accounting",
    "finance"
  ],
  "benefits": [
    "Flexible working hours",
    "Public transport ticket"
  ],
  "benefitsHtml": "<ul><li>Flexible working hours</li><li>Public transport ticket</li></ul>",
  "contactInfoText": "Questions? Contact jobs@example.com.",
  "contactInfoHtml": "<p>Questions? Contact jobs@example.com.</p>",
  "headerImage": "https://example.com/job-header.jpg",
  "tier": "detail",
  "listUrl": "https://www.xing.com/jobs/berlin",
  "sourceUrl": "https://www.xing.com/jobs/example-company-senior-accountant-123456789",
  "scrapedAt": "2026-11-21T09:00:00.000Z"
}
```

When a run stops early (for example, reaching `maxItems`, `max-charge-reached`, or `run-time-limit`), one final **uncharged** `run-notice` row is appended to the dataset so downstream pipelines can detect truncation:

```json
{
  "recordType": "run-notice",
  "truncatedAfter": 60,
  "reason": "maxItems",
  "charged": false
}
```

***

#### Full Dataset Field Reference

Every field emitted by the Actor is declared in `.actor/dataset_schema.json`:

| Field | Type | Tier | Description |
| :--- | :--- | :--- | :--- |
| `recordType` | `string \| null` | Both / Notice | `"job"` for a public job posting, or `"run-notice"` on a truncation notice row. |
| `jobId` | `string \| null` | List & Detail | Numeric Xing job ID parsed from the posting ID or URL. |
| `globalId` | `string \| null` | List & Detail | Xing global posting URN (`surn:x-xing:jobs:posting:...`), when exposed. |
| `slug` | `string \| null` | List & Detail | URL slug of the public job page. |
| `url` | `string \| null` | List & Detail | Canonical public Xing job page URL. |
| `title` | `string \| null` | List & Detail | Job title as published by Xing. |
| `companyName` | `string \| null` | List & Detail | Hiring company name (including display override when provided). |
| `companyId` | `string \| null` | List & Detail | Xing company identifier (e.g., `"12345.abcdef"`). |
| `companyNumericId` | `string \| null` | List & Detail | Numeric prefix of the Xing company identifier. |
| `companyLogo` | `string \| null` | List & Detail | Public company logo URL, when shown. |
| `companyUrl` | `string \| null` | Detail | Public Xing company profile URL (`/pages/...`), when shown. |
| `companySize` | `string \| null` | Detail | Published company size range label, when shown. |
| `companyIndustry` | `string \| null` | Detail | Published company industry label, when shown. |
| `companyCity` | `string \| null` | Detail | City from the company address, when shown. |
| `locations` | `array<object>` | List & Detail | Deduplicated location objects containing `city`, `street`, `zipCode`, `region`, `cityId`, `countryCode`, and `country` (street/ZIP typically populated on detail pages). |
| `cities` | `array<string>` | List & Detail | Deduplicated city names extracted from `locations`. |
| `salaryMin` | `number \| null` | List & Detail | Lower bound of the published or estimated annual salary band. |
| `salaryMax` | `number \| null` | List & Detail | Upper bound of the published or estimated annual salary band. |
| `salaryCurrency` | `string \| null` | List & Detail | Currency code of the salary band (e.g., `"EUR"`, `"CHF"`). |
| `salaryMedian` | `number \| null` | List & Detail | Median value of the salary band, when shown. |
| `salaryEstimated` | `boolean \| null` | List & Detail | `true` when Xing labels the salary range as a Xing estimate; `false` when employer-disclosed. |
| `employmentType` | `string \| null` | List & Detail | Published employment type label (e.g., `"Vollzeit"`, `"Teilzeit"`). |
| `employmentTypeId` | `string \| null` | List & Detail | Xing employment type code (e.g., `"FULL_TIME"`). |
| `careerLevel` | `string \| null` | Detail | Published career level label (e.g., `"Mit Berufserfahrung"`). |
| `careerLevelId` | `string \| null` | Detail | Xing career level code, when shown. |
| `discipline` | `string \| null` | Detail | Published functional discipline label, when shown. |
| `disciplineId` | `string \| null` | Detail | Xing discipline code, when shown. |
| `industry` | `string \| null` | Detail | Published job industry label, when shown. |
| `industryId` | `string \| null` | Detail | Xing industry code, when shown. |
| `remoteOptions` | `array<string>` | List & Detail | Raw Xing remote-work option codes (e.g., `["PARTLY_REMOTE"]`). |
| `workplace` | `string \| null` | List & Detail | Human-readable remote-work summary derived from `remoteOptions`. |
| `refreshedAt` | `string \| null` | List & Detail | ISO timestamp when Xing last refreshed the posting. |
| `activatedAt` | `string \| null` | Detail | ISO timestamp when the posting was activated. |
| `publishedAt` | `string \| null` | List & Detail | Publication timestamp (mirrors `activatedAt` when only that value is exposed). |
| `activeUntil` | `string \| null` | List & Detail | ISO timestamp until which the posting remains active, when shown. |
| `applicationType` | `string \| null` | List & Detail | Xing application flow type (`UrlApplication`, `EmailApplication`, `JobXingApplication`). |
| `applyUrl` | `string \| null` | List & Detail | Public external application URL, when exposed (omitted for in-platform Xing apply). |
| `applyEmail` | `string \| null` | List & Detail | Public application email address, only when exposed in the public page JSON. |
| `redirectsToThirdPartyUrl` | `boolean \| null` | List & Detail | Whether Xing marks the application as redirecting to a third-party site. |
| `paid` | `boolean \| null` | List & Detail | Whether Xing marks the posting as a paid listing. |
| `topJob` | `boolean \| null` | List & Detail | Whether Xing marks the posting as a top job. |
| `prioritized` | `boolean \| null` | List & Detail | Whether Xing marks the posting as prioritized. |
| `jobCode` | `string \| null` | List & Detail | Employer internal reference/job code, when shown. |
| `language` | `string \| null` | List & Detail | Posting language code (e.g., `"de"`, `"en"`). |
| `serviceOfferingGroup` | `number \| null` | List & Detail | Xing service offering group numeric code, when shown. |
| `summaryResponsibilities` | `array<string>` | List & Detail | Responsibility bullet lines from the landing-page summary. |
| `introduction` | `string \| null` | List & Detail | Short introductory paragraph from the posting summary. |
| `description` | `string \| null` | Detail | Plain-text full description assembled from the detail-page sections. |
| `descriptionHtml` | `string \| null` | Detail | Sanitized HTML description assembled from the detail-page sections. |
| `responsibilities` | `array<string>` | Detail (fallback List) | Responsibility items from the detail page, falling back to `summaryResponsibilities`. |
| `skills` | `array<string>` | Detail | Required skills parsed from the detail page. |
| `skillsHtml` | `string \| null` | Detail | Raw HTML of the detail-page skills section. |
| `keywords` | `array<string>` | List & Detail | Posting keyword tags, when published. |
| `benefits` | `array<string>` | Detail | Employer benefit items parsed from the detail page. |
| `benefitsHtml` | `string \| null` | Detail | Raw HTML of the detail-page benefits section. |
| `contactInfoText` | `string \| null` | Detail | Plain-text recruiter/contact block from the detail page, when shown. |
| `contactInfoHtml` | `string \| null` | Detail | HTML recruiter/contact block from the detail page, when shown. |
| `headerImage` | `string \| null` | Detail | Detail-page header image URL, when shown. |
| `tier` | `string \| null` | List & Detail | `"list"` for landing-page rows, or `"detail"` for rows enriched from a job detail page. |
| `listUrl` | `string \| null` | List & Detail | Landing page URL where the posting was discovered (`null` for direct detail seeds). |
| `sourceUrl` | `string \| null` | List & Detail | Exact page URL from which the record fields were parsed. |
| `scrapedAt` | `string \| null` | List & Detail | ISO 8601 timestamp when the row was parsed. |
| `detailError` | `string \| null` | Detail fallback | Error message if the optional detail page failed (e.g., `"HTTP 404"`); the row keeps its list-tier data and is charged as `job`. |
| `truncatedAfter` | `number \| null` | Run notice | Number of job rows saved before an early stop. |
| `reason` | `string \| null` | Run notice | Early-stop reason (`"maxItems"`, `"max-charge-reached"`, `"run-time-limit"`, `"proxy-budget"`, `"cloudflare-challenge"`, `"errors"`). |
| `charged` | `boolean \| null` | Run notice | Always `false` on `run-notice` rows (never billed). |

#### Key-Value Store `OUTPUT` Run Summary

Every run — including partial runs and rejected invalid inputs — writes a JSON audit summary to key `OUTPUT` in the default key-value store containing:

- `startedAt`, `finishedAt`, `stopReason`, `truncated`
- `pushed` (`{ "job": N, "job-detail": M }`), `duplicatesSkipped`, `pagesFetched`, `sitemapFetches`
- `seeds` (per-seed status, `pagesFetched`, `itemsPushed`), `errors`
- `robots` (`status`, `crawlDelaySec`, `disallowRules`), `robotsDisallowedHits`, `http` stats (`requests`, `ok`, `errors`, `bytes`)
- `pricing`, `unavailableFields`, `notes`, and normalized `input`

***

### Pricing (Pay-Per-Event)

This Actor uses **Apify Pay-Per-Event (PPE)** pricing in **USD** with **no Actor start fee** and **no separate dataset-item event**. You pay only for delivered public job postings; `run-notice` rows are never charged, and if a detail fetch fails, the row falls back to list-tier `job`.

- **`job`**: One public Xing.com job posting extracted from a landing page (no detail-page visit).
- **`job-detail`**: One public Xing.com job posting enriched from its public detail page. **Charged instead of `job`, never in addition — at the exact same price.**

#### Live Tiered Pricing & Apify Store Subscription Discounts

Subscribers on paid Apify Store plans automatically receive volume tier discounts (5% to 15% off the Free-tier base rate). Always verify the live **Pricing** tab on the Actor's Store page before launching large runs.

| Apify Subscription Tier | Discount | `job` (per event) | `job-detail` (per event) | Effective Cost per 1,000 Jobs |
| :--- | ---: | ---: | ---: | ---: |
| **Free** | — | `$0.000500` | `$0.000500` | **$0.500** |
| **Bronze** | 5% off | `$0.000475` | `$0.000475` | **$0.475** |
| **Silver** | 10% off | `$0.000450` | `$0.000450` | **$0.450** |
| **Gold** | 15% off | `$0.000425` | `$0.000425` | **$0.425** |
| **Platinum** | 15% off | `$0.000425` | `$0.000425` | **$0.425** |
| **Diamond** | 15% off | `$0.000425` | `$0.000425` | **$0.425** |

For example, collecting 1,000 jobs on the Free tier incurs **$0.50** in Actor event charges (whether list mode or detail mode), or **$0.425** on Gold/Platinum/Diamond plans. Check the Pricing tab for any separately listed Apify platform usage or long-term dataset storage charges.

***

### Quickstart: API & SDK Integration

#### JavaScript / Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('Stone_JadeX/xing-jobs-scraper').call({
    locations: ['Berlin', 'München'],
    skills: ['python'],
    maxItems: 50,
    scrapeDetails: true,
    requestDelayMs: 1000,
});

// Fetch dataset items and exclude any uncharged run-notice row
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const jobs = items.filter((row) => row.recordType !== 'run-notice');
console.log(`Collected ${jobs.length} Xing jobs`);
console.log(jobs[0]);

// Optional: inspect the OUTPUT run summary
const summaryRecord = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Stop reason:', summaryRecord?.value?.stopReason);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("Stone_JadeX/xing-jobs-scraper").call(
    run_input={
        "locations": ["Berlin", "München"],
        "skills": ["python"],
        "maxItems": 50,
        "scrapeDetails": True,
        "requestDelayMs": 1000,
    }
)

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
jobs = [row for row in items if row.get("recordType") != "run-notice"]
print(f"Collected {len(jobs)} Xing jobs")
if jobs:
    print(jobs[0]["title"], "-", jobs[0]["companyName"], jobs[0].get("salaryMin"), jobs[0].get("salaryMax"))

summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
print("Stop reason:", summary["value"]["stopReason"] if summary else None)
```

***

### Compliance, `robots.txt` & Scope Boundaries

- **Live `robots.txt` Check**: At the start of every run, the Actor fetches `https://www.xing.com/robots.txt`, honours any `Crawl-delay`, and logs and counts any `User-agent: *` Disallow hit in `OUTPUT.robotsDisallowedHits` (including redirect hops).
- **Hard Scope Allow-List**: Independently of `robots.txt`, the Actor strictly refuses `/jobs/search`, `/jobs/search?*`, `/graphql/`, `/xing-one/api`, `/xas/api/`, `/jobs/posting_clicks`, `*/external-application`, `/r/`, `/img/users`, `/go/login`, signup/auth flows, and profile sitemaps.
- **Public Job Data Only**: No login, no account cookies, no candidate/applicant profiles, and no viewer-specific bookmarks or match scores are collected.
- **Affiliation**: This Actor is an independent tool and is **not affiliated with, endorsed by, or sponsored by Xing or New Work SE**. You are responsible for ensuring your downstream use of collected public data complies with applicable laws (including GDPR) and site terms.

***

### FAQ & Limitations

**Why does one location or skill URL only return around 20 jobs?**
Public Xing landing pages (`/jobs/berlin`, `/jobs/t-python`) embed about 20 postings in their initial page payload and are not paginated (`?page=2` returns the same batch). To collect 100–1,000+ jobs, pass multiple `locations`, `skills`, or `startUrls`, or enable `useSitemaps: true` to discover additional public landing pages automatically.

**Are salary figures guaranteed to be official employer offers?**
No. Xing publishes both employer-disclosed salary bands and Xing-estimated ranges. Always check the `salaryEstimated` boolean (`true` = Xing estimate, `false` = disclosed) before using salaries in compensation models.

**Why is `applyEmail` sometimes `null` even when `applicationType` is `EmailApplication`?**
Landing-page summaries often expose only the application type without an email address. `applyEmail` is populated only when the public page JSON explicitly contains it; when `scrapeDetails: true` is enabled, any public contact block on the job page is also preserved in `contactInfoText` and `contactInfoHtml`.

**What happens if a run hits `maxItems` or a budget/time cap?**
The Actor stops cleanly, writes the complete run audit to `OUTPUT` in the default key-value store, and pushes one final uncharged `run-notice` row (`recordType: "run-notice"`, `charged: false`) to the dataset. Filter `recordType !== "run-notice"` before loading rows into downstream tables.

**Is this a real-time feed or alerting service?**
No. Each run captures a point-in-time snapshot of the public pages available during execution. For recurring job monitoring or change detection, attach an Apify Schedule and compare datasets across runs in your own workflow.

**Does setting `maxItems` guarantee that exact count?**
`maxItems` is an upper ceiling, not a guarantee. Final counts depend on how many unique postings exist across the configured landing pages or sitemaps, deduplication across overlapping locations/skills, and site availability.

***

### Changelog

#### 2026-11-21

- Organized `.actor/input_schema.json` into clear Console sections (`Target pages & discovery`, `Limits & enrichment`, `Pacing & proxy settings`) and added explicit `prefill` on `maxItems`.
- Upgraded documentation with full input parameter table, two JSON input examples, illustrative detail-tier JSON output record, complete 66-field dataset reference, tiered PPE pricing (Free through Diamond subscription discounts), JavaScript & Python `ApifyClient` SDK quickstarts, and expanded FAQ/limitations.

#### 2026-10-26

- Initial release (`0.1.0`): public Xing.com landing-page and jobs-sitemap scraper with optional detail-page enrichment (`job` and `job-detail` at `$0.0005` per job), hard scope allow-list, and warn-and-count `robots.txt` reporting (`OUTPUT.robotsDisallowedHits`).

# Changelog

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

# Actor input Schema

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

Public Xing jobs landing pages such as https://www.xing.com/jobs/berlin or https://www.xing.com/jobs/t-python, or a single job URL https://www.xing.com/jobs/{slug}-{id}. /jobs/search and API URLs are disallowed by robots.txt and rejected. Empty uses Berlin, unless useSitemaps is on. Xing landing pages are not paginated: one URL gives about 20 jobs (?page=2 returns the same batch). For 1,000+ jobs pass 50+ locations/skills/startUrls or turn on useSitemaps.

## `locations` (type: `array`):

Each value becomes a landing page /jobs/{slug}, for example Berlin → https://www.xing.com/jobs/berlin. Xing landing pages are not paginated: one URL gives about 20 jobs (?page=2 returns the same batch). For 1,000+ jobs pass 50+ locations/skills/startUrls or turn on useSitemaps.

## `skills` (type: `array`):

Each value becomes /jobs/t-{slug}, for example python → https://www.xing.com/jobs/t-python.

## `useSitemaps` (type: `boolean`):

Recommended for 1,000+ jobs. Reads sitemap.xml.gz and the jobs location, skill, and role sitemaps, then opens only as many landing pages as maxItems needs (about 20 jobs each). Does not open individual-job sitemap shards.

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

Stop after this many jobs. One landing page already contains about 20. Landing pages are not paginated, so 1,000 jobs need about 50+ entry pages or useSitemaps.

## `scrapeDetails` (type: `boolean`):

Adds description, skills, benefits, career level, and company profile fields. Charged as job-detail instead of job, at the same price. Off by default so a run stays on landing pages.

## `requestDelayMs` (type: `integer`):

Pause between requests in milliseconds. Higher values are gentler on the site.

## `maxRunSeconds` (type: `integer`):

Stops cleanly and writes OUTPUT before this limit.

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

Direct connection by default. Xing landing pages are public HTML.

## `useProxyFallback` (type: `boolean`):

If direct requests get blocked, retry through Apify Proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.xing.com/jobs/berlin"
    }
  ],
  "locations": [
    "Berlin"
  ],
  "useSitemaps": false,
  "maxItems": 20,
  "scrapeDetails": false,
  "requestDelayMs": 1000,
  "maxRunSeconds": 3600,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "useProxyFallback": false
}
```

# Actor output Schema

## `results` (type: `string`):

Public Xing job postings saved in the default dataset. A run that stops early also adds one uncharged run-notice row. Detail fields depend on the input and source availability.

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

Run totals, seeds, robots and HTTP statistics, errors, the stop reason, and the input used for the run, stored as OUTPUT.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.xing.com/jobs/berlin"
        }
    ],
    "locations": [
        "Berlin"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("stone_jadex/xing-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 = {
    "startUrls": [{ "url": "https://www.xing.com/jobs/berlin" }],
    "locations": ["Berlin"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("stone_jadex/xing-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 '{
  "startUrls": [
    {
      "url": "https://www.xing.com/jobs/berlin"
    }
  ],
  "locations": [
    "Berlin"
  ],
  "maxItems": 20
}' |
apify call stone_jadex/xing-jobs-scraper --silent --output-dataset

```

## MCP server setup

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