Google Jobs listings as JSON: build a job-alert script in 20 lines of Python
If you have ever tried to pull listings from Google for Jobs, you run into the same fact pretty quickly: Google does not offer a public Jobs API. The panel pulls postings from LinkedIn, Inde...
Résumé
If you have ever tried to pull listings from Google for Jobs, you run into the same fact pretty quickly: Google does not offer a public Jobs API. The panel pulls postings from LinkedIn, Indeed, Workday career sites, and local government boards into one place, which is great for job seekers and a headache if you just want a clean daily feed of new roles. Instead of maintaining a headless browser for the Jobs drawer, you can call a google jobs api that returns the panel as JSON. Below is a small Python script (about 20 lines) that checks a query, filters out roles you have already seen, and prints only the new ones. Full disclosure: I work with SerpBase, and the endpoint below is ours. One quirk to know first: put the city inside the query When we tested POST /google/jobs on November 25, 2026, two queries behaved very differently: {"query": "registered nurse jobs in Austin, TX"} returned 10 listings in roughly 5 seconds, and all 10 were in Austin, TX. {"query": "data analyst"} with no city in the query string returned a national mix across the US, including remote roles marked Anywhere. So if you only care about a specific metro area, spell out the city and state right inside query. Do not assume the endpoint will guess your target market. What a single request returns curl -X POST 'https://api.serpbase.dev/google/jobs' \ -H 'Content-Type: application/json' \ -H 'X-API-Key: YOUR_API_KEY' \ -d '{"query":"registered nurse jobs in Austin, TX"}' Responses come back as HTTP 200 with a status field (0 means success; anything else includes an error string and is not billed). Each item in jobs (also exposed under jobs_results if you already have code expecting that key) includes: position: rank order starting at 1 title: job title as posted by the employer company: hiring organization location: city/state, United States, or Anywhere via: source board such as LinkedIn, Workday, or GovernmentJobs.com posted_at: relative age like 2 days ago (can be missing on some items) description: opening snippet of the job description apply_link: direct URL to the application page A 20-line Python job-alert script Here is a minimal script you can run from cron once a day. It stores seen (title, company) pairs in a local JSON file so you do not get pinged twice for the same opening when it appears on multiple boards. import json, pathlib, requests API_KEY = "YOUR_API_KEY" QUERY = "registered nurse jobs in Austin, TX" STATE = pathlib.Path("seen_jobs.json") seen = set(json.loads(STATE.read_text())) if STATE.exists() else set() r = requests.post( "https://api.serpbase.dev/google/jobs", headers={"X-API-Key": API_KEY}, json={"query": QUERY}, timeout=60, ).json() if r.get("status") != 0: raise SystemExit(r.get("error")) for j in r.get("jobs", []): key = f"{j['title'].strip().lower()}|{j['company'].strip().lower()}" if key not in seen: seen.add(key) print(f"[NEW] {j['title']} @ {j['company']} ({j.get('location')}, via {j.get('via')}) -> {j.get('apply_link')}") STATE.write_text(json.dumps(sorted(seen), indent=2)) Swap the print(...) line for a Slack webhook, Telegram bot, or email call and you have a working alert loop. Three small gotchas from testing Deduplicate on title + company, not apply_link. The same opening often gets syndicated across Indeed, LinkedIn, and a company's Workday portal with different apply URLs. Record your own fetch date. posted_at is a relative string (2 days ago) and was missing on 2 of 10 items in our "data analyst" test. If you save snapshots to CSV or SQLite, add datetime.date.today().isoformat() yourself. Keep a 60-second timeout. Typical latency is around 5 seconds, but Google Jobs pages occasionally take longer to render upstream. Each call to /google/jobs uses 2 credits (failed requests are not charged). New SerpBase accounts include 500 free credits without a credit card, which is enough to run a daily alert script for months before deciding whether you need a paid pack. If you want the full field breakdown and CSV snapshot example, we wrote it up in our Google Jobs API guide.