# Benchmark Tech Role Pay by Location

**Use case:** 

Scrape Levels.fyi market benchmarks for a job family across locations: median base, stock, bonus and total comp by level and city. Export to CSV.

## Input

```json
{
  "mode": "roleComp",
  "companies": [
    "Google",
    "Stripe"
  ],
  "jobFamilies": [
    "Software Engineer"
  ],
  "locations": [
    "san-francisco-bay-area",
    "new-york-city-area"
  ],
  "maxJobFamiliesPerCompany": 6,
  "includeSamples": true,
  "maxSamplesPerRole": 50,
  "monitorMode": false,
  "monitorStoreName": "levels-fyi-monitor",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "jobFamily": {
    "label": "Job family"
  },
  "location": {
    "label": "Location"
  },
  "locationType": {
    "label": "Type"
  },
  "totalSubmissions": {
    "label": "Submissions"
  },
  "medianTotalCompensation": {
    "label": "Median total comp"
  },
  "currency": {
    "label": "Currency"
  },
  "marketUrl": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Levels.fyi Scraper — Tech Salaries, Compensation & Leveling](https://apify.com/scrapesage/levels-fyi-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/levels-fyi-scraper) to learn more, explore other use cases, and run it yourself.