---
title: "Get all open jobs from Greenhouse  API"
url: "http://35.223.47.52/blog/get-all-open-jobs-from-greenhouse-api-nra7dz/"
date: "2026-08-13T12:59:57+00:00"
modified: "2026-08-22T15:43:53+00:00"
type: "post"
---

# Get all open jobs from Greenhouse  API

[Blog](http://35.223.47.52/blog) / [Tutorials](http://35.223.47.52/blogs/tutorials/) / Get all open jobs from Greenhouse API [Tutorials](http://35.223.47.52/blogs/tutorials/) · August 13, 2026 

Get all open jobs from Greenhouse API
=====================================

 ![](https://storage.googleapis.com/knit-website-media/2026/08/64c34c8eb1ffc79e7f787ecd_Akshat-3-150x150.png)Akshat Jain

2 min read

 

 

 [](https://www.linkedin.com/sharing/share-offsite/?url=http%3A%2F%2F35.223.47.52%2Fblog%2Fget-all-open-jobs-from-greenhouse-api-nra7dz%2F) [](https://twitter.com/intent/tweet?url=http%3A%2F%2F35.223.47.52%2Fblog%2Fget-all-open-jobs-from-greenhouse-api-nra7dz%2F&text=Get%20all%20open%20jobs%20from%20Greenhouse%20%20API)  

 

 

 

  Table of Contents - [Introduction](#introduction)
- [Get all open jobs from Greenhouse API](#get-all-open-jobs-from-greenhouse-api)
- [Overview](#overview)
- [Step-by-Step Guide](#step-by-step-guide)
- [Knit for Greenhouse API Integration](#knit-for-greenhouse-api-integration)
 
  Introduction
------------

This article is a part of a series of articles covering the Greenhouse API in depth, and covers the specific use case of using the Greenhouse API to Get all open jobs from Greenhouse API.
You can find all the other use cases we have covered for the Greenhouse API along with a comprehensive deep dive on its various aspects like authentication, rate limits etc [here.](/blog/greenhouse-api-directory-0zj8dx/)

Get all open jobs from Greenhouse API
-------------------------------------

### Overview

To retrieve all open jobs from the Greenhouse API, you need to utilize two endpoints: one to list all jobs and another to get the openings for each job. Below is a step-by-step guide with Python code snippets to achieve this.

### Step-by-Step Guide

#### 1. List All Jobs

First, use the `GET /v1/jobs` endpoint to list all jobs in the organization.

```
import requests<br></br>import base64<br></br><br></br># Replace with your Greenhouse API key<br></br>api_key = 'YOUR_API_KEY'<br></br>auth = base64.b64encode(f'{api_key}:'.encode()).decode()<br></br><br></br>url = 'https://harvest.greenhouse.io/v1/jobs'<br></br>headers = {<br></br>    'Authorization': f'Basic {auth}'<br></br>}<br></br><br></br>response = requests.get(url, headers=headers)<br></br>jobs = response.json()<br></br>
```

#### 2. Filter Open Jobs

Filter the jobs to include only those with the status ‘open’.

```
open_jobs = [job for job in jobs if job['status'] == 'open']<br></br>
```

#### 3. Get Openings for Each Job

For each open job, use the `GET /v1/jobs/{job_id}/openings` endpoint to retrieve the openings.

```
openings_url_template = 'https://harvest.greenhouse.io/v1/jobs/{job_id}/openings'<br></br>open_jobs_with_openings = []<br></br><br></br>for job in open_jobs:<br></br>    job_id = job['id']<br></br>    openings_url = openings_url_template.format(job_id=job_id)<br></br>    response = requests.get(openings_url, headers=headers)<br></br>    openings = response.json()<br></br>    open_jobs_with_openings.append({<br></br>        'job': job,<br></br>        'openings': [opening for opening in openings if opening['status'] == 'open']<br></br>    })<br></br>
```

#### 4. Result

The `open_jobs_with_openings` list now contains all open jobs along with their open openings.



Knit for Greenhouse API Integration
-----------------------------------

For quick and seamless access to [Greenhouse](/integration/greenhouse/) API, Knit API offers a convenient solution. By integrating with Knit just once, you can streamline the entire process. Knit takes care of all the authentication, authorization, and ongoing integration maintenance, this approach not only saves time but also ensures a smooth and reliable connection to your [Greenhouse](/integration/greenhouse/) API.

---

**Ready to build this integration?**
Explore Knit’s [Greenhouse integration](/integration/greenhouse/) or read more about our [Unified ATS API](/integration-categories/unified-ats-api/).

 

 ![](https://storage.googleapis.com/knit-website-media/2026/08/64c34c8eb1ffc79e7f787ecd_Akshat-3-150x150.png)Written by Akshat Jain

Coding chaos into innovation and building from zero to scale

 

 

 

 

 

   Keep Reading
------------

  ![](https://storage.googleapis.com/knit-website-media/2026/08/blog-banner-green-640x400.png) [Tutorials](http://35.223.47.52/blogs/tutorials/) 

### [Get all candidates for a job from Greenhouse API](http://35.223.47.52/blog/get-all-candidates-for-a-job-from-greenhouse-api-r8hhc0/)

Technical guide on Greenhouse API to Get all candidates for a job from Greenhouse API

 August 13, 2026 · 3 min read 

 

   ![](https://storage.googleapis.com/knit-website-media/2026/08/blog-banner-red-scaled-640x400.png) [API Directory](http://35.223.47.52/blogs/api-directory/) 

### [Greenhouse API Directory](http://35.223.47.52/blog/greenhouse-api-directory-0zj8dx/)

Learn about the common greenhouse API data models and API end points in this comprehensive greenhouse API directory

 August 13, 2026 · 11 min read 

 

   ![](https://storage.googleapis.com/knit-website-media/2026/08/blog-banner-yellow-scaled-640x400.png) [API Directory](http://35.223.47.52/blogs/api-directory/) 

### [Getting Started with Greenhouse API Integration: Developer’s Guide to Integration](http://35.223.47.52/blog/greenhouse-api/)

Looking to integrate with the Greenhouse API? Read this article before you start

 April 19, 2026 · 10 min read 

 

  

 

  \#1 in Ease of Integrations
---------------------------

![4.9 out of 5 stars](/wp-content/themes/knit/assets/images/g2/g2-star-rating.svg)

4.9 out of 5 stars on G2

![G2 Leader, Spring 2026](/wp-content/themes/knit/assets/images/g2/g2-leader.svg)![G2 Fastest Implementation, Spring 2026](/wp-content/themes/knit/assets/images/g2/g2-fastest-implementation.svg)![G2 High Performer, Spring 2026](/wp-content/themes/knit/assets/images/g2/g2-high-performer.svg)![G2 Best Est. ROI, Spring 2026](/wp-content/themes/knit/assets/images/g2/g2-best-roi.svg)

 

  Put Integrations on Autopilot. Talk to Experts.
-----------------------------------------------

Knit is loved by customers across the globe due to our seamless product and white glove support. You'll love us too!

 [Talk to a Human](/book-demo)
