DEV Community

Алексей Спинов
Алексей Спинов

Posted on

How to Scrape Glassdoor Salary Data and Company Reviews

Glassdoor has salaries, reviews, and interview data for millions of companies.

The Challenge

Glassdoor requires login for most data and actively blocks scrapers.

What Works

1. Google Cache

site:glassdoor.com "software engineer" "salary" "San Francisco"
Enter fullscreen mode Exit fullscreen mode

Google indexes Glassdoor pages — use Google to search them.

2. Alternative Salary Data Sources

Source Data Access
levels.fyi Tech salaries Public website
Payscale Salary ranges Public API
Indeed Salary estimates Search results
LinkedIn Salary insights Limited API
BLS.gov Government wage data Free API

3. BLS API (Free, Official)

async function getBLSSalary(seriesId) {
  const url = "https://api.bls.gov/publicAPI/v2/timeseries/data/";
  const res = await fetch(url, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ seriesid: [seriesId] })
  });
  return res.json();
}
Enter fullscreen mode Exit fullscreen mode

Use Cases

  1. Salary benchmarking
  2. Employer branding research
  3. Job market analysis
  4. Interview preparation data
  5. Competitor employer comparison

Resources


Need salary or company review data? $20-50. Email: Spinov001@gmail.com | Hire me

Top comments (0)