Google Jobs API

Scrape Google Jobs listings into structured JSON/CSV with ScraperAPI in Java. Track job market trends, monitor new openings, and build job aggregation tools.

This endpoint will retrieve jobs data from an Google jobs result page and transform it into usable JSON or CSV.

try {
String apiKey = "APIKEY";
String query = "QUERY";
String country_code = "COUNTRY_CODE";
String tld = "TLD";
String url = "https://api.scraperapi.com/structured/google/jobs?api_key=" + apiKey + "&query=" + QUERY + "&country_code=" + COUNTRY_CODE + "&tld=" + tld;
URL urlForGetRequest = new URL(url);
String readLine = null;
HttpURLConnection conection = (HttpURLConnection) urlForGetRequest.openConnection();
conection.setRequestMethod("GET");
int responseCode = conection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK) {
BufferedReader in = new BufferedReader(new InputStreamReader(conection.getInputStream()));
StringBuffer response = new StringBuffer();
while ((readLine = in.readLine()) != null) {
response.append(readLine);
}
in.close();
System.out.println(response.toString());
} else {
throw new Exception("Error in API Call");
}
} catch (Exception ex) {
ex.printStackTrace();
}

Parameters
Details

API_KEY(required)

User account’s normal API key.

QUERY(required)

Search term user is looking to scrape e.g. Fullstack Engineer

TLD

Country of Google domain to scrape. This is an optional argument and defaults to “us” (google.com). Valid values include:

us: 'google.com',

uk: 'google.co.uk',

ca: 'google.ca',

de: 'google.de',

es: 'google.es',

fr: 'google.fr',

it: 'google.it',

jp: 'google.co.jp',

in: 'google.in',

cn: 'google.cn',

sg: 'google.com.sg',

mx: 'google.com.mx',

ae: 'google.ae',

br: 'google.com.br',

nl: 'google.nl',

au: 'google.com.au',

tr: 'google.com.tr',

sa: 'google.sa',

se: 'google.se',

pl: 'google.pl'

COUNTRY_CODE

Where a google domain needs to be scraped from another country (e.g. scraping google.com from Canada to get Canadian results), specify the TLD as well as the COUNTRY_CODE parameters. Valid values are valid TLDs (e.g. “.com.au”, “.es”, etc.).

OUTPUT_FORMAT

For structured data methods we offer CSV and JSON output. JSON is default if parameter is not added. Options:

  • csv

  • json

Google parameters supported by this endpoint

Google Parameters

UULE

Set a region for a search. For example: w+CAIQICINUGFyaXMsIEZyYW5jZQ. You can find an online UULE generator here.

NUM

Number of results

HOSTLANGUAGE

Host Language. For example: DE

GUESTLANGUAGE

Boosts matches whose country of origin matches the parameter value. For example: DE

QUERYENCODING

Character encoding how the engine interpret the query string. For example: UTF8

RESULTENCODING

Character encoding used for the results. For example: UTF8

START

Set the starting offset in the result list. When start=10 set the first element in the result list will be the 10th search result.

Sample Response

Last updated

Was this helpful?