To fetch the jobs, we're intially going through a public endpoint. But to fetch the description, we then use the Indeed API with jobData query by passing the job ids that we got through the search. Ideally we just use the Indeed API for the entire module by using the jobSearch query. However, there are two things we're missing from this endpoint that I can't figure out
the correct datetime format to filter by date (tried epoch, regular date etc, all 400 response)
how to filter by easyapply
POST https://apis.indeed.com/graphql
Headers
indeed-api-key: 161092c2017b5bbab13edb12461a62d5a833871e7cad6d9d475304573de67ac8
accept: application/json
indeed-co: US
GraphQL query
query GetJobData {
jobSearch(
what: "software",
location: {
where: "san francisco",
radius: 50,
radiusUnit: MILES
},
limit: 100,
sort: DATE,
# this date range results in 400 but it's the correct fields
# filters: {
# date: {
# field: "dateOnIndeed",
# start: "1808162474000",
# end: "1808162474000"
# }
# and how to filter easyapply?
) {
results {
trackingKey
job {
key
title
datePublished
dateOnIndeed
description {
html
}
location {
countryName
countryCode
city
postalCode
streetAddress
formatted {
short
long
}
}
compensation {
baseSalary {
unitOfWork
range {
... on Range {
min
max
}
}
}
currencyCode
}
employer {
relativeCompanyPageUrl
name
}
recruit {
viewJobUrl
detailedSalary
workSchedule
}
}
}
}
}
To fetch the jobs, we're intially going through a public endpoint. But to fetch the description, we then use the Indeed API with
jobData
query by passing the job ids that we got through the search. Ideally we just use the Indeed API for the entire module by using thejobSearch
query. However, there are two things we're missing from this endpoint that I can't figure outPOST
https://apis.indeed.com/graphql
Headers indeed-api-key: 161092c2017b5bbab13edb12461a62d5a833871e7cad6d9d475304573de67ac8 accept: application/json indeed-co: US
GraphQL query
cURL format