Call it
curl https://api.peume.com/v1/call/search-google-jobs-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "your query",
"country": "None",
"language": "None",
"google_domain": "google.com",
"posted_within": "any",
"num_results": 100
}
}'const res = await fetch("https://api.peume.com/v1/call/search-google-jobs-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "your query",
"country": "None",
"language": "None",
"google_domain": "google.com",
"posted_within": "any",
"num_results": 100
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-google-jobs-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "your query",
"country": "None",
"language": "None",
"google_domain": "google.com",
"posted_within": "any",
"num_results": 100
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-google-jobs-2.
Parameters
queryRequiredstringThe job search query (e.g., 'Software Engineer', 'Data Scientist', 'Marketing Manager')
locationstringJob location (city, state, or country). We recommend specifying a location at the city level for best results. If left empty and a Country Code is selected, the country name is used as the location automatically. If Google returns no results for a location-targeted search, the actor automatically retries with the location merged into the query.
countrystringCountry the search targets - this is what drives regional results (Google's gl parameter), and when Job Location is empty the country's name is used as the location automatically. If unset, it is derived from the Google Domain (e.g. google.nl -> nl) and the actor logs a warning. Only countries where Google Jobs actually serves listings are selectable; a run targeting an unsupported country stops immediately with a clear message and charges no page fee.
None · dz · as · ai · ag · ar · at · bs · bh · be · bz · bo …
Example: None
languagestringInterface language for the search (Google's hl parameter). Optional and usually best left unset: Google then uses the language that matches the country, which is required in many non-English markets - explicitly setting English (en) makes countries such as the Netherlands, Germany, Spain, Brazil, or Japan return zero results. Set it only when you specifically need a given interface language.
None · en · es · fr · de · it · pt · ja · ko · zh · ru · ar …
Example: None
google_domainstringGoogle domain to use for search. Also determines the default country when the Country Code input is unset (e.g. google.de -> de). Domains of countries where Google Jobs is unavailable stop the run with a clear message and no page fee.
google.com · google.co.uk · google.ca · google.de · google.fr · google.com.au · google.co.jp · google.ad · google.ae · google.al · google.am · google.as …
Example: google.com
posted_withinstringOnly return jobs posted within this window. Great for daily scheduled runs: set 'Last 24 hours' to avoid re-collecting listings you already scraped. Default 'Any time' applies no date filter (existing runs and tasks are unaffected).
any · 24h · 3d · 7d · 30d
Example: any
num_resultsintegerMaximum number of job results to return
Example: 100
max_paginationintegerMaximum number of pages to fetch (each page has ~10 results). Set to 0 for unlimited pagination (fetch all available pages).
Example: 0
include_lradbooleanWhether to include location radius filtering
Example: false
lrad_valuestringLocation radius value in km (e.g., '2', '5', '10'). Only used when include_lrad is true.
max_delayintegerDelay between API requests in seconds (to avoid rate limiting)
Example: 1
output_filestringCustom filename for saving results. Leave empty for auto-generated filename.
