# Get job listings from a company career site via API

**Use case:** 

Turn a company career site into a job listings API. The task crawls the site, follows links to job pages and returns the schema.org JobPosting data each page publishes: title, company, location, employment type, posted date and full description. Point it at your own career site and run it from the Apify API or on a schedule.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://career.teamtailor.com/jobs"
    }
  ],
  "maxItems": 50,
  "crawl": true,
  "maxPagesPerCrawl": 50,
  "linkPattern": "/jobs/[0-9]+-",
  "maxConcurrency": 5
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "company": {
    "label": "Company",
    "format": "text"
  },
  "location": {
    "label": "Location",
    "format": "text"
  },
  "employmentType": {
    "label": "Employment type",
    "format": "text"
  },
  "salaryMin": {
    "label": "Salary from",
    "format": "number"
  },
  "salaryMax": {
    "label": "Salary to",
    "format": "number"
  },
  "datePosted": {
    "label": "Date posted",
    "format": "date"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Job Postings API & Scraper - Any Career Site Actor is ready to run with the inputs already set for "Get job listings from a company career site via API". [Sign up or log in](https://console.apify.com/create-task-from-example/NMLHlOvA9aubku02T) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get job listings from a company career site via API" task

The Job Postings API & Scraper - Any Career Site Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max results, and more, to match your specific use case.

### 3. Receive the "Get job listings from a company career site via API" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, company, location, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get job listings from a company career site via API" task via API](https://apify.com/rocketyard/jobposting-schema-scraper.md).

## FAQ

### How do I call the job listings API from code?

Send the job listings API task's input in a POST to https://api.apify.com/v2/acts/rocketyard~jobposting-schema-scraper/run-sync-get-dataset-items with your Apify API token. The response is the job list as JSON.

### Which career sites does it work on?

The job listings API task works on sites whose job pages publish schema.org JobPosting markup and whose robots.txt allows fetching. Its input crawls the Teamtailor career site as an example.

### What does the link pattern do?

The linkPattern of the job listings API task is a regular expression: the crawl follows only links that match it. Set it to the URL shape of the job pages on your site, for example /jobs/ followed by an ID.

## About this Actor

This example demonstrates how to use [Job Postings API & Scraper - Any Career Site](https://apify.com/rocketyard/jobposting-schema-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rocketyard/jobposting-schema-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/rocketyard/jobposting-schema-scraper.md

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`).
