cURL
curl --request POST \
--url https://web-scraping-api2.p.rapidapi.com/search-jobs \
--header 'Content-Type: application/json' \
--header 'x-rapidapi-key: <api-key>' \
--data '
{
"keywords": "marketing",
"geo_code": 92000000,
"date_posted": "Any time",
"experience_levels": [
"Internship",
"Entry level"
],
"company_ids": [
1035
],
"title_ids": [],
"onsite_remotes": [
"Remote",
"Hybrid"
],
"functions": [
"Marketing",
"Sales"
],
"industries": [],
"job_types": [
"Full-time",
"Internship"
],
"sort_by": "",
"easy_apply": "false",
"under_10_applicants": "false",
"start": 0
}
'import requests
url = "https://web-scraping-api2.p.rapidapi.com/search-jobs"
payload = {
"keywords": "marketing",
"geo_code": 92000000,
"date_posted": "Any time",
"experience_levels": ["Internship", "Entry level"],
"company_ids": [1035],
"title_ids": [],
"onsite_remotes": ["Remote", "Hybrid"],
"functions": ["Marketing", "Sales"],
"industries": [],
"job_types": ["Full-time", "Internship"],
"sort_by": "",
"easy_apply": "false",
"under_10_applicants": "false",
"start": 0
}
headers = {
"x-rapidapi-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-rapidapi-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
keywords: 'marketing',
geo_code: 92000000,
date_posted: 'Any time',
experience_levels: ['Internship', 'Entry level'],
company_ids: [1035],
title_ids: [],
onsite_remotes: ['Remote', 'Hybrid'],
functions: ['Marketing', 'Sales'],
industries: [],
job_types: ['Full-time', 'Internship'],
sort_by: '',
easy_apply: 'false',
under_10_applicants: 'false',
start: 0
})
};
fetch('https://web-scraping-api2.p.rapidapi.com/search-jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web-scraping-api2.p.rapidapi.com/search-jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keywords' => 'marketing',
'geo_code' => 92000000,
'date_posted' => 'Any time',
'experience_levels' => [
'Internship',
'Entry level'
],
'company_ids' => [
1035
],
'title_ids' => [
],
'onsite_remotes' => [
'Remote',
'Hybrid'
],
'functions' => [
'Marketing',
'Sales'
],
'industries' => [
],
'job_types' => [
'Full-time',
'Internship'
],
'sort_by' => '',
'easy_apply' => 'false',
'under_10_applicants' => 'false',
'start' => 0
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web-scraping-api2.p.rapidapi.com/search-jobs"
payload := strings.NewReader("{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-rapidapi-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://web-scraping-api2.p.rapidapi.com/search-jobs")
.header("x-rapidapi-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web-scraping-api2.p.rapidapi.com/search-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-rapidapi-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"company": "Microsoft",
"company_linkedin_url": "https://www.linkedin.com/company/microsoft",
"company_logo": "https://media.licdn.com/dms/image/v2/C560BAQE88xCsONDULQ/company-logo.png",
"job_title": "Marketing: MBA Internship Opportunities",
"job_url": "https://www.linkedin.com/jobs/view/4052310093",
"job_urn": "4052310093",
"location": "Redmond, WA",
"posted_time": "2024-11-29 10:43:18",
"remote": "Hybrid",
"salary": "$11.2K/yr - $12.2K/yr"
}
],
"message": "ok",
"total": 495
}{
"data": null,
"message": "Bad request: Invalid payload."
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"data": null,
"message": "System error. We will fix it soon!"
}Job Search
Search Jobs
-
Search jobs posted on LinkedIn. This endpoint is useful for scraping job openings of a specific company on LinkedIn.
-
To scrape all results from each search, change the parameter start from 0 to 25, 50, etc. until you see less than 25 results returned. - 2 credits per call.
POST
/
search-jobs
cURL
curl --request POST \
--url https://web-scraping-api2.p.rapidapi.com/search-jobs \
--header 'Content-Type: application/json' \
--header 'x-rapidapi-key: <api-key>' \
--data '
{
"keywords": "marketing",
"geo_code": 92000000,
"date_posted": "Any time",
"experience_levels": [
"Internship",
"Entry level"
],
"company_ids": [
1035
],
"title_ids": [],
"onsite_remotes": [
"Remote",
"Hybrid"
],
"functions": [
"Marketing",
"Sales"
],
"industries": [],
"job_types": [
"Full-time",
"Internship"
],
"sort_by": "",
"easy_apply": "false",
"under_10_applicants": "false",
"start": 0
}
'import requests
url = "https://web-scraping-api2.p.rapidapi.com/search-jobs"
payload = {
"keywords": "marketing",
"geo_code": 92000000,
"date_posted": "Any time",
"experience_levels": ["Internship", "Entry level"],
"company_ids": [1035],
"title_ids": [],
"onsite_remotes": ["Remote", "Hybrid"],
"functions": ["Marketing", "Sales"],
"industries": [],
"job_types": ["Full-time", "Internship"],
"sort_by": "",
"easy_apply": "false",
"under_10_applicants": "false",
"start": 0
}
headers = {
"x-rapidapi-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-rapidapi-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
keywords: 'marketing',
geo_code: 92000000,
date_posted: 'Any time',
experience_levels: ['Internship', 'Entry level'],
company_ids: [1035],
title_ids: [],
onsite_remotes: ['Remote', 'Hybrid'],
functions: ['Marketing', 'Sales'],
industries: [],
job_types: ['Full-time', 'Internship'],
sort_by: '',
easy_apply: 'false',
under_10_applicants: 'false',
start: 0
})
};
fetch('https://web-scraping-api2.p.rapidapi.com/search-jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web-scraping-api2.p.rapidapi.com/search-jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keywords' => 'marketing',
'geo_code' => 92000000,
'date_posted' => 'Any time',
'experience_levels' => [
'Internship',
'Entry level'
],
'company_ids' => [
1035
],
'title_ids' => [
],
'onsite_remotes' => [
'Remote',
'Hybrid'
],
'functions' => [
'Marketing',
'Sales'
],
'industries' => [
],
'job_types' => [
'Full-time',
'Internship'
],
'sort_by' => '',
'easy_apply' => 'false',
'under_10_applicants' => 'false',
'start' => 0
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web-scraping-api2.p.rapidapi.com/search-jobs"
payload := strings.NewReader("{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-rapidapi-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://web-scraping-api2.p.rapidapi.com/search-jobs")
.header("x-rapidapi-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web-scraping-api2.p.rapidapi.com/search-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-rapidapi-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keywords\": \"marketing\",\n \"geo_code\": 92000000,\n \"date_posted\": \"Any time\",\n \"experience_levels\": [\n \"Internship\",\n \"Entry level\"\n ],\n \"company_ids\": [\n 1035\n ],\n \"title_ids\": [],\n \"onsite_remotes\": [\n \"Remote\",\n \"Hybrid\"\n ],\n \"functions\": [\n \"Marketing\",\n \"Sales\"\n ],\n \"industries\": [],\n \"job_types\": [\n \"Full-time\",\n \"Internship\"\n ],\n \"sort_by\": \"\",\n \"easy_apply\": \"false\",\n \"under_10_applicants\": \"false\",\n \"start\": 0\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"company": "Microsoft",
"company_linkedin_url": "https://www.linkedin.com/company/microsoft",
"company_logo": "https://media.licdn.com/dms/image/v2/C560BAQE88xCsONDULQ/company-logo.png",
"job_title": "Marketing: MBA Internship Opportunities",
"job_url": "https://www.linkedin.com/jobs/view/4052310093",
"job_urn": "4052310093",
"location": "Redmond, WA",
"posted_time": "2024-11-29 10:43:18",
"remote": "Hybrid",
"salary": "$11.2K/yr - $12.2K/yr"
}
],
"message": "ok",
"total": 495
}{
"data": null,
"message": "Bad request: Invalid payload."
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"data": null,
"message": "System error. We will fix it soon!"
}Authorizations
Body
application/json
Keywords to search for jobs.
Example:
"marketing"
Geographical code for filtering jobs.
Example:
92000000
Filter jobs by date posted. Acceptable values include predefined date ranges.
Available options:
Any time, Past month, Past week, Past 24 hours Example:
"Any time"
Filter jobs by experience levels. Acceptable values include predefined experience levels.
Available options:
Internship, Associate, Director, Entry level, Mid-Senior level, Executive Example:
["Internship", "Entry level"]
Filter jobs by specific title IDs.
Example:
[]
Available options:
On-site, Remote, Hybrid Example:
["Remote", "Hybrid"]
Available options:
Marketing, Sales, Business Development, Other, Strategy/Planning, Writing/Editing, Public Relations, Information Technology, Art/Creative, Administrative, Advertising Example:
["Marketing", "Sales"]
Filter jobs by industries.
Example:
[]
Available options:
Full-time, Part-time, Contract, Temporary, Internship, Other Example:
["Full-time", "Internship"]
Available options:
Most recent, Most relevant Example:
""
Available options:
true, false Example:
"false"
Filter jobs with less than 10 applicants. Acceptable values are 'true' or 'false'.
Available options:
true, false Example:
"false"
Pagination start index.
Example:
0
⌘I
