curl --request GET \
--url https://api.clair.im/v1/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clair.im/v1/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clair.im/v1/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://api.clair.im/v1/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.clair.im/v1/jobs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.clair.im/v1/jobs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clair.im/v1/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"posting_url": "<string>",
"id": "fd6b984d-f7f4-4ca8-b68e-34b88a4ec299",
"title": "Machine Learning Intern",
"company": "Example Labs",
"department": "Engineering",
"team": "Applied AI",
"location": "Berlin, Germany",
"locations": [
"<string>"
],
"country": "DE",
"workplace_type": "remote",
"employment_type": "Intern",
"apply_url": "<string>",
"posted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"compensation": {
"min": 25,
"max": 35,
"currency": "EUR",
"interval": "hour",
"summary": "<string>",
"source": "ats"
},
"seniority": "intern",
"track": "ic",
"title_family": "machine-learning-engineer",
"skills": [
"Python",
"PyTorch"
],
"description_excerpt": "<string>",
"description_available": true,
"first_seen_at": "2023-11-07T05:31:56Z",
"last_verified_at": "2023-11-07T05:31:56Z",
"source": {
"provider": "greenhouse",
"board": "examplelabs",
"external_id": "4512338005"
}
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generated_at": "2023-11-07T05:31:56Z",
"count": 25,
"limit": 25,
"sort": "posted_at",
"has_more": true,
"next_cursor": "<string>",
"total": 123,
"total_is_exact": true,
"index": {
"status": "healthy",
"as_of": "2023-11-07T05:31:56Z",
"active_boards": 123,
"stale_boards": 123
}
}
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}Search jobs API
Jobs API search: cursor-paginated search over active indexed postings with structured filters, provenance, and freshness. GET /v1/jobs.
curl --request GET \
--url https://api.clair.im/v1/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.clair.im/v1/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.clair.im/v1/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://api.clair.im/v1/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.clair.im/v1/jobs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.clair.im/v1/jobs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.clair.im/v1/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"posting_url": "<string>",
"id": "fd6b984d-f7f4-4ca8-b68e-34b88a4ec299",
"title": "Machine Learning Intern",
"company": "Example Labs",
"department": "Engineering",
"team": "Applied AI",
"location": "Berlin, Germany",
"locations": [
"<string>"
],
"country": "DE",
"workplace_type": "remote",
"employment_type": "Intern",
"apply_url": "<string>",
"posted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"compensation": {
"min": 25,
"max": 35,
"currency": "EUR",
"interval": "hour",
"summary": "<string>",
"source": "ats"
},
"seniority": "intern",
"track": "ic",
"title_family": "machine-learning-engineer",
"skills": [
"Python",
"PyTorch"
],
"description_excerpt": "<string>",
"description_available": true,
"first_seen_at": "2023-11-07T05:31:56Z",
"last_verified_at": "2023-11-07T05:31:56Z",
"source": {
"provider": "greenhouse",
"board": "examplelabs",
"external_id": "4512338005"
}
}
],
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"generated_at": "2023-11-07T05:31:56Z",
"count": 25,
"limit": 25,
"sort": "posted_at",
"has_more": true,
"next_cursor": "<string>",
"total": 123,
"total_is_exact": true,
"index": {
"status": "healthy",
"as_of": "2023-11-07T05:31:56Z",
"active_boards": 123,
"stale_boards": 123
}
}
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}{
"error": "bad_cursor",
"detail": "<string>"
}Authorizations
Clair dashboard key. Create keys at https://clair.im/dashboard/api-keys.
Query Parameters
Case-insensitive substring query over the posting title. This filters matches; ordering remains controlled by sort.
1 - 200Case-insensitive substring match against the normalized company name.
1 - 200Case-insensitive substring match against any location listed by the posting.
1 - 200ISO 3166-1 alpha-2 country code derived from the posting's location strings. Case-insensitive. A remote posting whose source names no country has a null country and does not match this filter.
2^[A-Za-z]{2}$Normalized workplace arrangement.
remote, hybrid, onsite Seniority derived from the title. Use intern for internships, co-ops, apprenticeships, working-student roles, and placements.
intern, entry, mid, senior, staff, principal, executive Career track derived from the title.
ic, management, executive Case-insensitive substring match against department or team.
1 - 200Comma-separated canonical skills, at most 25 entries and 1,000 characters. Every named skill must be present. Names are case-insensitive; an unsupported name returns unknown_skill.
1 - 1000Comma-separated canonical skills, at most 25 entries and 1,000 characters. At least one named skill must be present. Names are case-insensitive; an unsupported name returns unknown_skill.
1 - 1000Minimum requested compensation. A posting matches when its stated maximum is at least this value. currency is required. salary_interval defaults to year when a bound is present.
x > 0Maximum requested compensation. A posting matches when its stated minimum is at most this value. currency is required. If both bounds are sent, salary_min must not exceed salary_max.
x > 0Three-character compensation currency, normalized to uppercase. Required with salary_min or salary_max; sent alone, it filters postings by currency.
3^[A-Za-z]{3}$Compensation interval. Defaults to year when a salary bound is present.
year, hour, month, week, day Advanced provenance filter: only postings from this applicant tracking system.
greenhouse, lever, ashby, smartrecruiters, workday, recruitee Advanced provenance filter: exact board identifier within an ATS. Pair it with ats when a board name could be ambiguous.
1 - 300Return postings whose publisher-supplied posting time is at or after this ISO 8601 instant. Postings without a publisher date do not match.
Return postings Clair first discovered at or after this ISO 8601 instant. Prefer this over posted_after for alerts and incremental discovery.
Newest-first ordering. posted_at uses the publisher time and falls back to first_seen_at when missing.
posted_at, first_seen_at When true, return a plain-text description_excerpt capped at 2,000 characters. This does not return an archival or full description.
true, 1, yes, false, 0, no When true, run an additional exact distinct-count query and return meta.total. Off by default to keep broad searches bounded.
true, 1, yes, false, 0, no Results per page.
1 <= x <= 100Opaque meta.next_cursor from the previous page. A cursor is bound to the original filters and sort; changing either returns bad_cursor.
1 - 1024