How to scrape Indeed jobs with parsed salaries into Python and pandas

2026-11-30来源 dev.toEnglish
How to scrape Indeed jobs with parsed salaries into Python and pandas

If you have ever tried to pull Indeed results into a spreadsheet by hand, you know the problem. A logged-out visitor sees one page of results per search, about 15 jobs, and salary text comes in every format you can think of: per hour, per day, per annum, sometimes a single number, sometimes a range.

This walkthrough uses the Indeed Scraper on Apify to get structured job data, with salaries already parsed into numbers. I ran it for "data analyst" in London on the UK Indeed site, limited to jobs posted in the last week, so every number below comes from that run.

The short version of the run: 38 jobs, 81 seconds, no login, no cookies.

Indeed data analyst jobs in London, sample of the scraped dataset

What data you get

Each job is one row. These are the fields I actually used from the London run:

Field What it holds Example from the run
title Job title as posted Research Data Analyst
company Employer name Chelsea and Westminster Hospital NHS Foundation Trust
companyRating Indeed company rating (1 to 5) 3.7 (median of the run)
companyReviewCount Number of company reviews 1692
city, region, country Parsed location London, ENG
salaryMin, salaryMax Salary range as numbers 57528, 64750
salaryCurrency, salaryPeriod Currency and period GBP, year
salaryYearlyMinEur, salaryYearlyMaxEur Range converted to yearly EUR 68893, 77541
remote remote, hybrid or onsite when detected hybrid
seniority Detected level senior, lead, director
departmentGroup Detected function data, engineering
skills Skills found in the posting SQL, Snowflake, Excel
daysSincePosted Age of the posting 3
url, applyUrl Job page and apply link uk.indeed.com/viewjob?jk=...

If you switch on the details add-on you also get the full description as text and HTML, benefits, job types and shifts, the company page and address.

What the London run showed

Some numbers from the 38 jobs, because they tell you what to expect from your own searches:

  • 9 of 38 jobs (24%) showed a salary. All 9 were yearly figures and none were flagged as Indeed estimates.
  • For the 8 rows with GBP salaries, the median range was roughly £56,800 to £66,400. The lowest was a 12 month fixed term role at £33,400 to £41,000, the highest a senior analyst job at £75,000 to £85,000.
  • 25 titles contained the word "analyst". The other 13 were related roles Indeed matched to the keyword: data engineer, data architect, product manager and a few director posts.
  • 9 jobs were tagged hybrid and 2 remote. The other 27 had no workplace info in the listing.
  • 32 jobs were in London itself, the rest in nearby towns like Uxbridge, Brentwood and Welwyn Garden City.
  • 21 of the 38 had been posted 3 days before the run.

Two data quirks worth knowing. One salary row came back without a currency, so its EUR columns just repeat the raw numbers. Filter on salaryCurrency before you compare countries. And the same AXA job appeared twice under two company names ("AXA UK" and "AXA"), so deduplicate on the title and salary columns.

The main input options

Indeed Scraper input form on Apify

You only need two things to start: a keyword and a country. The rest narrows things down.

  • searchQueries: one keyword per line, like data analyst or registered nurse. Every keyword is searched in every location.
  • locations: city, state, ZIP or region. Leave it empty to search the whole country.
  • country: which Indeed site to use. I used gb for uk.indeed.com. The actor covers 40 Indeed countries.
  • startUrls: if you already built a search with filters on Indeed, paste the URL here instead.
  • postedWithin: 24h, 3d, week or month. I used week.
  • workplace, employmentType, experience: remote or hybrid, full-time or contract, junior to director.
  • minSalaryEur and onlyWithSalary: drop jobs below a yearly EUR threshold, or keep only jobs that show any salary. Given that only a quarter of my results had one, think before you turn the second one on.
  • titleMustInclude, excludeKeywords, excludeCompanies: cleanup filters. excludeCompanies is handy for skipping recruitment agencies.
  • maxJobsPerSearch: the cap per keyword and location pair. Default is 100. Indeed only shows one page to visitors, so the actor slices the search by date, job type, level, radius and sort order and merges the slices.
  • onlyNewJobs with monitorId: for scheduled runs. Each run returns only jobs it has not returned before.

Option 1: no code

  1. Open the Indeed Scraper page and click Try for free.
  2. In Search keywords type data analyst. In Locations type London.
  3. Set Indeed country to United Kingdom.
  4. Set Posted within to Past week and Max jobs per search to 40.
  5. Click Start. My run took 81 seconds.
  6. Open the Output tab and export to CSV, Excel or JSON, or send it to Google Sheets.

That is the whole thing. If you want salaries side by side, sort the export by salaryMax and hide the rows where it is empty.

Option 2: Python with apify-client and pandas

Install the two packages:

pip install apify-client pandas 

Then run the actor and load the results:

from apify_client import ApifyClient import pandas as pd client = ApifyClient("YOUR_APIFY_TOKEN") run_input = { "searchQueries": ["data analyst"], "locations": ["London"], "country": "gb", "postedWithin": "week", "maxJobsPerSearch": 40, } run = client.actor("liveclaude/indeed-jobs-scraper").call(run_input=run_input) items = client.dataset(run["defaultDatasetId"]).list_items().items cols = ["title", "company", "companyRating", "city", "remote", "seniority", "salaryMin", "salaryMax", "salaryCurrency", "salaryPeriod", "url"] df = pd.DataFrame(items).reindex(columns=cols) print(len(df), "jobs") print(df["remote"].value_counts(dropna=False)) 

Empty fields are left out of each record, which is why I use reindex. Every column exists even if no job in your run filled it.

Now the salary part. Keep yearly GBP rows only and drop the duplicate postings:

paid = df[(df["salaryCurrency"] == "GBP") & (df["salaryPeriod"] == "year")] paid = paid.drop_duplicates(subset=["title", "salaryMin", "salaryMax"]) print(paid[["title", "company", "salaryMin", "salaryMax"]] .sort_values("salaryMax", ascending=False) .to_string(index=False)) print("Median min:", paid["salaryMin"].median()) print("Median max:", paid["salaryMax"].median()) 

On my data this printed 7 rows after the AXA duplicate was dropped. To compare London with, say, Manchester or Berlin, add more locations (and switch country to de for Berlin) and group by city on the salaryYearlyMinEur column instead.

Want a quick look at which companies hire the most?

print(df["company"].value_counts().head(10)) 

In a one week window for one keyword this is a short list. It gets more useful when you run several keywords across a month.

Scheduling and integrations

For a job alert, turn on onlyNewJobs, give it a monitorId such as london-data-analyst, and add a schedule in Apify (daily is enough for most job searches). Each run returns only jobs that appeared since the last one, and jobs already returned are not charged again.

From there you can push results wherever you like. The actor works with the standard Apify integrations: Google Sheets, Slack, Make, Zapier, n8n, Airbyte and plain webhooks. You can also call it from Claude, ChatGPT or Cursor through the Apify MCP server.

Pricing per 1,000 results

The actor uses pay per event pricing, platform usage included. Current prices per 1,000 jobs:

Event Free Starter Scale Business
Indeed job $2.50 $2.30 $2.10 $1.90
Full description and benefits add-on $5.50 $5.20 $4.90 $4.50

Company hiring signal records, if you turn them on, cost $0.007 to $0.010 each. So 1,000 jobs with full descriptions on the Free plan come to $8.00. My 38 job test run, without the add-on, cost 38 jobs at $0.0025, under 10 cents. You can set a maximum cost per run in the run options if you want a hard cap.

Responsible use

The actor reads publicly visible job postings, the same pages anyone sees without logging in. Job ads mostly describe employers, though descriptions sometimes include a recruiter's name or email. If you store full descriptions, treat that text as personal data under GDPR: keep only what you need and do not build contact lists from it. Check Indeed's terms for your use case, and keep request volumes reasonable.

This tutorial was written with AI assistance and checked by the author. All numbers come from a real run of the scraper.

原文:https://www.a8q9.cn/en/article/how-to-scrape-indeed-jobs-with-parsed-salaries-into-python-and-pandas-58b24a.html

相关文章