Lever's public postings API is one of the easiest ATS endpoints to query, right up until you notice your job dates are in the year 58,000 and half your job descriptions are missing their requirements section.
The endpoint itself needs no auth:
curl -sS "https://api.lever.co/v0/postings/palantir?mode=json" Always include ?mode=json. Without it, or with certain Accept headers, Lever can serve an HTML listing instead of JSON. And unlike Greenhouse ({"jobs": [...]}) or Ashby ({"jobs": [...]}), Lever returns a bare top-level JSON array ([]), not a wrapper object.
Here are the four concrete quirks we had to handle in our Go parser (fetchLever) so Lever rows line up cleanly with Ashby, Greenhouse, and Workday.
1. createdAt is Unix milliseconds, not seconds or ISO-8601
Greenhouse and Ashby give you RFC3339 strings. Workday gives you "Posted 4 Days Ago". Lever gives you a 13-digit Unix millisecond integer:
{ "id": "a1b2c3d4-...", "text": "Senior Backend Engineer", "createdAt": 1763510400000 } Passing createdAt into time.Unix(raw.CreatedAt, 0) (or Python's datetime.fromtimestamp(ts) without dividing by 1000) either throws an overflow error or produces absurd future timestamps. Use time.UnixMilli in Go:
pub := "" if raw.CreatedAt > 0 { pub = time.UnixMilli(raw.CreatedAt).UTC().Format(time.RFC3339) } Once normalized to RFC3339 UTC, you can compute postedDaysAgo and filter out stale evergreen postings (> 90 days old) using the exact same freshness logic as every other ATS.
2. The job description is split across three separate fields
This is the mistake almost every first-time Lever scraper makes. If you read only descriptionPlain (or description), you usually get just the two-paragraph company intro.
Lever splits a single job posting into three parts:
-
descriptionPlain/description: the intro section -
lists[]: an array of{"text": "Requirements", "content": "<li>5+ years Go...</li>"}blocks where the actual skills, tech stack, and responsibilities live -
additionalPlain: the closing block where companies almost always put EEO text and state pay-transparency salary ranges
If you only scan descriptionPlain, you miss most tech keywords and almost every prose salary band. Reassembling the full posting before extracting skills or salaries takes 15 lines of Go:
var descParts []string if raw.DescriptionPlain != "" { descParts = append(descParts, raw.DescriptionPlain) } else if raw.Description != "" { descParts = append(descParts, CleanHTMLToText(raw.Description)) } for _, lst := range raw.Lists { if lst.Text != "" { descParts = append(descParts, lst.Text) } if lst.Content != "" { descParts = append(descParts, CleanHTMLToText(lst.Content)) } } if raw.AdditionalPlain != "" { descParts = append(descParts, raw.AdditionalPlain) } fullPlain := strings.Join(descParts, "\n") Notice that lists[].content is HTML even when descriptionPlain is present, so it still needs tag stripping before you run keyword matching.
3. Check both categories.location and categories.allLocations
For hybrid or multi-hub roles, categories.location holds only the primary office string (e.g., "New York, NY"), while additional offices sit in categories.allLocations[]. Also note that Lever exposes workplaceType ("remote", "hybrid", "onsite") at the top level of the posting rather than inside categories, whereas commitment ("Full-time"), department, and team live inside categories.
4. Structured salaryRange with a prose fallback
Lever supports an optional structured salaryRange object:
"salaryRange": { "min": 165000, "max": 205000, "currency": "USD", "interval": "per-year-salary" } In practice, plenty of Lever boards leave salaryRange as null and paste the range inside additionalPlain instead. And when salaryRange is populated, interval varies ("per-year-salary", "per-hour-wage", "per-month-salary"), so you still need to normalize periods and check plausibility before storing annual USD figures:
if raw.SalaryRange != nil && raw.SalaryRange.Min > 0 && raw.SalaryRange.Max >= raw.SalaryRange.Min { cur := normalizeCurrency(raw.SalaryRange.Currency, "") per := inferSalaryPeriod(raw.SalaryRange.Interval, raw.SalaryRange.Min, raw.SalaryRange.Max) if isPlausibleSalary(raw.SalaryRange.Min, raw.SalaryRange.Max, per) { info := buildSalaryInfo(raw.SalaryRange.Min, raw.SalaryRange.Max, cur, per, rawStr) applySalaryInfo(&job, info) } } // If SalaryRange was nil or implausible, fall back to regex extraction over fullPlain. EU vs US Lever host gotcha
One last thing if you scrape European companies: Lever runs a separate EU API host at https://api.eu.lever.co/v0/postings/<slug>?mode=json. If api.lever.co returns 404 for a European company whose careers link clearly points to jobs.eu.lever.co, retry against api.eu.lever.co before marking the board unresolved.
Note: If you want a hosted Go runner that handles Lever (plus Ashby, Greenhouse, Workday, SmartRecruiters, and BambooHR) with freshness classification and salary normalization, it is packaged as Lever Jobs Scraper and ats-jobs-hiring-intel-mcp on GitHub.