> For the complete documentation index, see [llms.txt](https://docs.scraperapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scraperapi.com/structured-data-endpoints/search-and-insights/google/google-jobs-api.md).

# Google Jobs API

The `Google Jobs API` endpoint returns jobs data from a Google jobs result page and transform it into usable JSON.

{% tabs %}
{% tab title="cURL" %}

```bash
curl --request GET \
--url "https://api.scraperapi.com/structured/google/jobs?api_key=API_KEY&\
query=QUERY&country_code=COUNTRY_CODE&tld=TLD"
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

payload = {
    "api_key": "API_KEY",
    "query": "QUERY",
    "country_code": "COUNTRY_CODE",
    "tld": "TLD"
}

r = requests.get('https://api.scraperapi.com/structured/google/jobs', params=payload)

print(r.text)
```

{% endtab %}

{% tab title="NodeJS" %}

```javascript
import fetch from 'node-fetch';

fetch(`https://api.scraperapi.com/structured/google/jobs?api_key=API_KEY&query=QUERY&country_code=COUNTRY_CODE&tld=TLD`)
  .then(response => response.json())
  .then(data => {
    console.log(data);
  })
  .catch(error => {
    console.error(error);
  });
```

{% endtab %}

{% tab title="PHP" %}

```php
<?php
$url = "https://api.scraperapi.com/structured/google/jobs?api_key=API_KEY&query=QUERY&country_code=COUNTRY_CODE&tld=TLD";

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);

$response = curl_exec($ch);
curl_close($ch);

print_r($response);
```

{% endtab %}

{% tab title="Ruby" %}

```ruby
require 'net/http'
require 'json'

params = {
  :api_key => "API_KEY",
  :query => "QUERY",
  :country_code => "COUNTRY_CODE",
  :tld => "TLD"
}

uri = URI('https://api.scraperapi.com/structured/google/jobs')
uri.query = URI.encode_www_form(params)

website_content = Net::HTTP.get(uri)
print(website_content)
```

{% endtab %}

{% tab title="Java" %}

```java
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;

public class Main {
    public static void main(String[] args) {
        try {
            String apiKey = "API_KEY";
            String query   = "QUERY";
            String country_code = "COUNTRY_CODE";
            String tld = "TLD";

            String urlStr = "https://api.scraperapi.com/structured/google/jobs?api_key=" 
                            + apiKey + "&query=" + query + "&country_code=" + country_code + "&tld=" + tld;

            URL url = new URL(urlStr);
            HttpURLConnection conn = (HttpURLConnection) url.openConnection();
            conn.setRequestMethod("GET");

            int responseCode = conn.getResponseCode();
            if (responseCode == HttpURLConnection.HTTP_OK) {
                BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                StringBuilder response = new StringBuilder();
                String line;
                while ((line = in.readLine()) != null) {
                    response.append(line);
                }
                in.close();
                System.out.println(response.toString());
            } else {
                System.out.println("Error in API Call. Response code: " + responseCode);
            }

        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
```

{% endtab %}
{% endtabs %}

**Supported Parameters**

<table><thead><tr><th width="264">Parameter</th><th>Details</th></tr></thead><tbody><tr><td><code>API_KEY</code>(required)</td><td>Your API Key.</td></tr><tr><td><code>QUERY</code>(required)</td><td>Example: Software Developer</td></tr><tr><td><code>TLD</code></td><td>Country of Google domain to scrape. This is an optional argument and defaults to “com” (google.com). Valid values include:<br><strong>com</strong> (google.com)<br><strong>co.uk</strong> (google.co.uk)<br><strong>ca</strong> (google.ca)<br><strong>de</strong> (google.de)<br><strong>es</strong> (google.es)<br><strong>fr</strong> (google.fr)<br><strong>it</strong> (google.it)<br><strong>co.jp</strong> (google.co.jp)<br><strong>in</strong> (google.in)<br><strong>cn</strong> (google.cn)<br><strong>com.sg</strong> (google.com.sg)<br><strong>com.mx</strong> (google.com.mx)<br><strong>ae</strong> (google.ae)<br><strong>com.br</strong> (google.com.br)<br><strong>nl</strong> (google.nl)<br><strong>com.au</strong> (google.com.au)<br><strong>com.tr</strong> (google.com.tr)<br><strong>sa</strong> (google.sa)<br><strong>se</strong> (google.se)<br><strong>pl</strong> (google.pl)</td></tr><tr><td><code>COUNTRY_CODE</code></td><td>Valid values are two letter country codes for which we offer Geo Targeting (e.g. “<strong>au</strong>”, “<strong>es</strong>”, “<strong>it</strong>”, etc.). Where a Google domain needs to be scraped from another country (e.g. scraping google.com from Canada), both <strong>TLD</strong> and <strong>COUNTRY_CODE</strong> parameters must be specified.</td></tr><tr><td><code>OUTPUT_FORMAT</code></td><td><p>For structured data methods we offer CSV and JSON output. JSON is default if parameter is not added. Options:</p><ul><li>csv</li><li>json (default)</li></ul></td></tr></tbody></table>

### **Google parameters supported by this endpoint**

<table><thead><tr><th width="254">Google Parameters</th><th>Details</th></tr></thead><tbody><tr><td><code>UULE</code></td><td>Set a region for a search. For example: w+CAIQICINUGFyaXMsIEZyYW5jZQ. You can find an online UULE generator <a href="https://site-analyzer.pro/services-seo/uule/">here</a>.</td></tr><tr><td><code>HL</code></td><td>Host Language. For example: <code>DE</code></td></tr><tr><td><code>GL</code></td><td>Guest Language: Boosts matches whose country of origin matches the parameter value. For example: <code>DE</code></td></tr><tr><td><code>TBS</code></td><td><p>Limits results to a specific time range. For example: <code>tbs=d</code> returns results from the past day. Possible values:<br><code>tbs=h</code> - Hour</p><p><code>tbs=d</code> - Day</p><p><code>tbs=w</code> - Week</p><p><code>tbs=m</code> - Month</p><p><code>tbs=y</code> - Year</p></td></tr><tr><td><code>IE</code></td><td>Query Encoding: Character encoding how the engine interpret the query string. For example: <code>UTF8</code></td></tr><tr><td><code>OE</code></td><td>Result Encoding: Character encoding used for the results. For example: <code>UTF8</code></td></tr><tr><td><code>START</code></td><td>Set the starting offset in the result list. <code>start=0</code> (default) returns the first results, and <code>start=10</code> skips the first 10 results.</td></tr></tbody></table>

## Sample Response

```json
{
  "url": "https://www.google.com/search?q=software+engineer&udm=8&gl=US&hl=en&uule=w+CAIQICIuSGF2ZXJmb3JkLEhhdmVyZm9yZCxQZW5uc3lsdmFuaWEsVW5pdGVkIFN0YXRlcw==",
  "scraper_name": "google-jobs",
  "jobs_results": [
    {
      "title": "Product Security Software Engineer",
      "company_name": "AVEVA",
      "location": "Philadelphia, PA",
      "link": "https://www.google.com/search?ibp=htl;jobs&q=software+engineer&htidocid=x5ZXXkWqg0NI5RaFAAAAAA%3D%3D&hl=en-US&gl=US&uule=w+CAIQICIuSGF2ZXJmb3JkLEhhdmVyZm9yZCxQZW5uc3lsdmFuaWEsVW5pdGVkIFN0YXRlcw==",
      "via": "Startup Jobs",
      "description": "AVEVA is creating software trusted by over 90% of leading industrial companies...",
      "extensions": ["6 days ago","$146K–$290K a year","Full-time","No degree mentioned","Dental insurance","Paid time off","Health insurance"],
      "tags": ["6 days ago","$146K–$290K a year","Full-time","No degree mentioned","Dental insurance","Paid time off","Health insurance"],
      "detected_extensions": {"posted_at":"6 days ago","salary":"$146K–$290K a year","schedule_type":"Full-time","qualifications":"No degree mentioned"}
    },
    {
      "title": "Senior Software Engineer",
      "company_name": "Highmark Health",
      "location": "Anywhere",
      "link": "https://www.google.com/search?ibp=htl;jobs&q=software+engineer&htidocid=sopwp4eiyVJAyWTEAAAAAA%3D%3D&hl=en-US&gl=US&uule=w+CAIQICIuSGF2ZXJmb3JkLEhhdmVyZm9yZCxQZW5uc3lsdmFuaWEsVW5pdGVkIFN0YXRlcw==",
      "via": "Highmark Health",
      "description": "This job is an integral member of an agile software engineer team, focused on building scalable software applications...",
      "extensions": ["12 days ago","Work from home","Full-time"],
      "tags": ["12 days ago","Work from home","Full-time"],
      "detected_extensions": {"posted_at":"12 days ago","work_from_home":true,"schedule_type":"Full-time"}
    }
  ]
}
```

{% hint style="info" %}
Each job includes a `link` field: a Google Jobs URL that opens that listing on Google. It points to Google's job view, not the employer's own posting.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scraperapi.com/structured-data-endpoints/search-and-insights/google/google-jobs-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
