Before you start
- Get an API keySign up for 100 free credits, no card. Keys start with
gs_live_. - Put it in the environmentEvery example reads it from
GROUNDSOCIAL_API_KEY:export GROUNDSOCIAL_API_KEY=gs_live_… - Set up JavaScript
node --version # 18 or newer: fetch is built in, nothing to install
Call Jobs on a Lever board API from JavaScript
GET /v1/jobs/lever/search. Save this as main.mjs and run node main.mjs. It reads the items in postings and prints text for each.
// main.mjs: Node.js 18+, no dependencies
const url = new URL('https://api.groundsocial.dev/v1/jobs/lever/search')
url.searchParams.set('company', 'palantir')
const res = await fetch(url, {
headers: {
Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}`,
},
signal: AbortSignal.timeout(60_000),
})
if (!res.ok) {
const { error } = await res.json()
throw new Error(`${error.code}: ${error.hint ?? error.message}`)
}
const data = await res.json()
for (const item of data.postings) {
console.log(item.text)
}
console.log('credits charged:', res.headers.get('x-credits-charged'))The response
A real Jobs response to this call, recorded from the live API on 27 Nov 2026 and shortened for display: arrays keep their first items and … marks every cut. The recorded page had 50 items in postings. Live calls return current data in the same shape.
{
"company": "palantir",
"postings": [
{
"id": "6ed76ce8-4156-4b60-b120-403538bd66cd",
"text": "Administrative Business Partner",
"categories": {
"commitment": "Full-time",
"location": "Singapore, Singapore",
"team": "Administrative",
"allLocations": [
"Singapore, Singapore"
]
},
"country": "SG",
"workplaceType": "hybrid",
"createdAt": 1786469891368,
"hostedUrl": "https://jobs.lever.co/palantir/6ed76ce8-4156-4b60-b120-403538bd66cd",
"applyUrl": "https://jobs.lever.co/palantir/6ed76ce8-4156-4b60-b120-403538bd66cd/apply",
"descriptionPlain": "A World-Changing Company\n \nPalantir builds the world’s leading software for data-driven de…",
"description": "<div><strong><span style=\"font-size: 18px;\">A World-Changing Company</span></strong></div>…",
"lists": [
{
"text": "Administrative Business Partner (Foundry)",
"content": "\n<li>Provide administrative support to a portfolio of individuals/teams across the busines…"
},
{
"text": "What We Value",
"content": "\n<li>Ability to adjust quickly, anticipate needs, and implement autonomously, with strong …"
},
"… 1 more"
],
"additionalPlain": "Palantir is particularly interested in applicants who have a current right to work in Sing…",
"additional": "<div>Palantir is particularly interested in applicants who have a current right to work in…",
"opening": "<div><strong><span style=\"font-size: 18px;\">A World-Changing Company</span></strong></div>…",
"…": "3 more fields"
},
{
"id": "ac978161-6f46-4f6b-ad9e-a258e642751c",
"text": "Administrative Business Partner",
"categories": {
"commitment": "Full-time",
"location": "London, United Kingdom",
"team": "Administrative",
"allLocations": [
"London, United Kingdom"
]
},
"country": "GB",
"workplaceType": "onsite",
"createdAt": 1711403416463,
"hostedUrl": "https://jobs.lever.co/palantir/ac978161-6f46-4f6b-ad9e-a258e642751c",
"applyUrl": "https://jobs.lever.co/palantir/ac978161-6f46-4f6b-ad9e-a258e642751c/apply",
"descriptionPlain": "A World-Changing Company\n \nPalantir builds the world’s leading software for data-driven de…",
"description": "<div><strong><span style=\"font-size: 18px;\">A World-Changing Company</span></strong></div>…",
"lists": [
{
"text": "Administrative Business Partner (Foundry)",
"content": "\n<li>Provide administrative support to a portfolio of individuals/teams across the busines…"
},
{
"text": "What We Value",
"content": "\n<li>Ability to adjust quickly, anticipate needs, and implement autonomously, with strong …"
},
"… 1 more"
],
"additionalPlain": "Life at Palantir\n \nWe want every Palantirian to achieve their best outcomes, that’s why we…",
"additional": "<div><strong><span style=\"font-size: 18px;\">Life at Palantir</span></strong></div>\n<div>&n…",
"opening": "<div><strong><span style=\"font-size: 18px;\">A World-Changing Company</span></strong></div>…",
"…": "3 more fields"
},
"… 48 more"
],
"pagination": {
"page": 1,
"per_page": 50,
"total": null,
"has_more": true,
"next_page": 2
}
}Top-level fields
| Field | Type | Description |
|---|---|---|
company | string | – |
postings | LeverPosting[] | – |
pagination | JobsPagePagination | – |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
company | query | string | The Lever company name, e.g. palantir. Example: palantir. |
url | query | string | A jobs.lever.co (or jobs.eu.lever.co) link instead. |
page | query | integer | Page number, from 1 (default 1). pagination.next_page is the next one. |
Errors and retries
Every error is JSON with error.code (stable: branch on it), message, hint (what to do next), docs_url and retryable. A failed call is never charged. Retry only when retryable is true, after the Retry-After header.
async function call(url, init = {}, attempt = 0) {
const res = await fetch(url, {
...init,
headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}`, ...init.headers },
signal: AbortSignal.timeout(60_000),
})
if (res.ok) return res.json()
const { error } = await res.json()
// Branch on error.code (stable); error.hint says what to do next.
if (error.retryable && attempt < 2) {
const wait = Number(res.headers.get('retry-after') ?? 2)
await new Promise((r) => setTimeout(r, wait * 1000))
return call(url, init, attempt + 1)
}
throw Object.assign(new Error(error.hint ?? error.message), { code: error.code })
}| Status | Meaning |
|---|---|
200 | A page of postings. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No such board, job posting or salary title. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Jobs is temporarily unavailable. Retryable; nothing was charged. |
Every error code and what to do about it.
Pricing
| Cost | |
|---|---|
| Per call | 1 credit per call |
| 1,000 calls | $1.00 on the starter pack, $0.40 at volume |
| No key (MPP or x402) | $0.01 per call |
| Failed call | Refunded, never charged |
Every response has x-credits-charged and x-credits-remaining headers. Credits never expire. Packs and calculator.
From an AI agent (MCP)
The same call is the jobs_lever_search tool on the hosted MCP server, so Claude, Cursor or any MCP client can make it without code. Add the server once:
claude mcp add --transport http groundsocial https://api.groundsocial.dev/mcpThen ask for it in words (“A company’s open jobs on Lever, 50 a page, with descriptions and salary ranges”), or call the tool directly:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "jobs_lever_search",
"arguments": {
"company": "palantir"
}
}
}MCP setup for Claude Desktop, Cursor, VS Code and ChatGPT.
Use Jobs lever search in a pipeline
A company’s open jobs on Lever, 50 a page, as Lever’s postings API returns them: title (text), team, department, location, commitment, workplaceType, country, createdAt (ms), hostedUrl, applyUrl, the full description (plain and HTML, lists) and salaryRange when published. Pass company (the name after jobs.lever.co/) or url; EU-hosted boards (jobs.eu.lever.co) work by url.
Keep going
- This call in Python, TypeScript, Go, PHP, cURL.
- Jobs on a Lever board API reference: every field and status code.
- Jobs tutorials and all JavaScript tutorials.
- Jobs API: every endpoint and price.
- How to scrape Jobs on a Greenhouse board with JavaScript: A company’s open jobs on its Greenhouse board, 50 a page.
- How to scrape Jobs on an Ashby board with JavaScript: A company’s open jobs on Ashby, 20 a page, with descriptions and compensation.
- How to search a Workday careers site with JavaScript: Search a company’s Workday careers site, 20 jobs a page.
- How to search Levels.fyi jobs with JavaScript: Levels.fyi jobs with pay, grouped by company, with filters for level, pay and workplace.
- How to search Xing jobs with JavaScript: Search Xing job postings (Germany, Austria, Switzerland) with salary, by keywords and filters.
- How to get a Greenhouse job with JavaScript: One Greenhouse job with its full description, departments, offices and pay ranges.
Run it on your own data
One key for Jobs and 76 more platforms, over REST or MCP. Free credits on signup, no card.
Jobs is a trademark of its owner. We are not affiliated with or endorsed by it.