# Compare data analyst salaries in New York, Chicago and Austin

**Use case:** 

Compare data analyst jobs and salaries in New York, Chicago and Austin. Salary ranges are parsed into min, max, currency and period when the job post lists them.

## Input

```json
{
  "queries": [
    "data analyst"
  ],
  "locations": [
    "New York, NY",
    "Chicago, IL",
    "Austin, TX"
  ],
  "country": "us",
  "language": "",
  "datePosted": "any",
  "maxResultsPerSearch": 30,
  "jobTypes": [],
  "remoteOnly": false
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "company": {
    "label": "Company",
    "format": "text"
  },
  "location": {
    "label": "Location",
    "format": "text"
  },
  "salary": {
    "label": "Salary",
    "format": "text"
  },
  "salaryMin": {
    "label": "Salary min",
    "format": "number"
  },
  "salaryMax": {
    "label": "Salary max",
    "format": "number"
  },
  "salaryCurrency": {
    "label": "Currency",
    "format": "text"
  },
  "salaryPeriod": {
    "label": "Salary period",
    "format": "text"
  },
  "job_type": {
    "label": "Job type",
    "format": "text"
  },
  "workMode": {
    "label": "Work mode",
    "format": "text"
  },
  "posted": {
    "label": "Posted",
    "format": "text"
  },
  "postedDate": {
    "label": "Posted date",
    "format": "date"
  },
  "apply_options": {
    "label": "Apply options",
    "format": "array"
  },
  "searchQuery": {
    "label": "Search query",
    "format": "text"
  },
  "searchLocation": {
    "label": "Search location",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "job_id": {
    "label": "Job ID",
    "format": "text"
  }
}
```

## How it works

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

The Google Jobs API & Scraper - $0.09 per 10 Jobs, No Login Actor is ready to run with the inputs already set for "Compare data analyst salaries in New York, Chicago and Austin". [Sign up or log in](https://console.apify.com/create-task-from-example/GUPQoedgD4KNCJPyK) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare data analyst salaries in New York, Chicago and Austin" task

The Google Jobs API & Scraper - $0.09 per 10 Jobs, No Login Actor will start running based on the input automatically. You can also change all the input fields, like search queries, locations, and more, to match your specific use case.

### 3. Receive the "Compare data analyst salaries in New York, Chicago and Austin" 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 "Compare data analyst salaries in New York, Chicago and Austin" task via API](https://apify.com/krammer/google-jobs-scraper.md).

## FAQ

### Which cities does this task search?

The "Data analyst salaries in 3 cities" task searches Google Jobs for "data analyst" in New York, Chicago and Austin. Each city is a separate search.

### How do I compare salaries between cities?

The "Data analyst salaries in 3 cities" task gives searchLocation and salary fields for each job. Group the jobs by searchLocation, and compare salaryMin and salaryMax.

### Does every job show a salary?

The "Data analyst salaries in 3 cities" task shows a salary only when the job post has one. Then salaryMin, salaryMax, salaryCurrency and salaryPeriod have values. In a test run, 45 of 90 jobs had a salary.

### What does salaryPeriod mean?

In the "Data analyst salaries in 3 cities" task, salaryPeriod is the pay unit: hour, day, week, month or year. Compare only salaries with the same period.

### Can I get only recent jobs?

The "Data analyst salaries in 3 cities" task has no date filter. Set datePosted to 24h, 3d, 7d or 30d to get only recent jobs.

### How do I run this task from code?

Call the Apify API to run the "Data analyst salaries in 3 cities" task. Then read the jobs from the dataset of the run.

## About this Actor

This example demonstrates how to use [Google Jobs API & Scraper - $0.09 per 10 Jobs, No Login](https://apify.com/krammer/google-jobs-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/krammer/google-jobs-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/krammer/google-jobs-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`).
