Python guide

Get job postings in Python

A working Python walkthrough: search jobs, export larger result sets, fetch full postings and write them to CSV. You need Python 3, the requests package and a free Jobvetta key.

Vendor details checked 23 November 2026 against each vendor's own pages, linked below. Prices change, so confirm before you buy.

6,046,979active jobs in the index
236,156employers hiring
1,242,911new postings in the past 7 days
25,971,532postings tracked since July 2025

Live index figures as of 23 November 2026. See the full jobs data statistics.

1. Set up

python -m pip install requests
export JOBVETTA_API_KEY="your_key_here"

Keys are on the dashboard. Keep the key in an environment variable, not in code. There is also an official jobvetta package on PyPI if you prefer a client library.

2. Search

import os, requests

r = requests.get(
    "https://api.jobvetta.com/v1/jobs",
    headers={"Authorization": f"Bearer {os.environ['JOBVETTA_API_KEY']}"},
    params={"q": "data engineer", "location": "London", "days": 7, "limit": 25},
    timeout=30,
)
r.raise_for_status()
for job in r.json()["jobs"]:
    print(job["title"], "|", job["company"], "|", job["location"])

q takes role, skill or company keywords; location takes a city, state or country; days keeps jobs first posted in the last 1 to 365 days; limit goes up to 100.

3. Export more than 100 jobs

import os, requests

BASE = "https://api.jobvetta.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['JOBVETTA_API_KEY']}"}

def export_jobs(q, location, days=7, max_calls=3):
    """Page through /jobs/export. Each call returns up to 1,000 summaries."""
    offset, jobs = 0, []
    for _ in range(max_calls):
        r = requests.get(f"{BASE}/jobs/export", headers=HEADERS, timeout=60,
                         params={"q": q, "location": location, "days": days, "offset": offset})
        r.raise_for_status()
        data = r.json()
        jobs.extend(data["jobs"])
        if data["next_offset"] is None:
            break
        offset = data["next_offset"]
    return jobs

jobs = export_jobs("machine learning engineer", "United Kingdom")
print(len(jobs), "jobs")

The export endpoint returns up to 1,000 summaries per call and a next_offset that is null at the end. It covers the first 10,000 matches of a search. Each call counts as one of your 10 daily requests, so max_calls keeps a script from spending the whole quota.

4. Full job details

def job_detail(job_id):
    r = requests.get(f"{BASE}/jobs/{job_id}", headers=HEADERS, timeout=30)
    r.raise_for_status()
    return r.json()

detail = job_detail(jobs[0]["job_id"])
print(detail["title"], detail.get("salary_min"), detail.get("salary_currency"))
print(detail.get("skills_required"))

Optional fields such as salary are null when the employer does not publish them.

5. Save to CSV

import csv

with open("jobs.csv", "w", newline="") as f:
    w = csv.DictWriter(f, fieldnames=["job_id", "title", "company", "location", "work_model", "url"],
                       extrasaction="ignore")
    w.writeheader()
    w.writerows(jobs)

Handling errors

A 401 means the key is missing or wrong, 429 means the daily quota is used up (it resets at midnight UTC), and 502 means the search backend is briefly unavailable, so retry with a backoff. Responses carry X-RateLimit-Remaining so you can stop before hitting 429.

Jobvetta's data at a glance

Healthcare466,103
Sales377,235
Retail and store243,097
Software and IT221,130
Hospitality and food176,834
Warehouse and logistics169,399

Active jobs by job family, matched on title. One posting can match more than one family.

Try it on your own query

Free key, no card, REST and MCP on the same key.

Questions

Is there a Python SDK?

Yes, the jobvetta package on PyPI. The examples here use requests so you can see the raw HTTP calls.

How many jobs can I fetch per day for free?

10 requests per UTC day. With the export endpoint at up to 1,000 summaries per call, that is up to 10,000 job summaries a day.

Can I use this in a notebook?

Yes. Set the key as an environment variable before starting Jupyter, or read it from a secrets manager.