Search job postings
Search Spicrawl's index of open job postings from 13 platforms with POST /v1/jobs/search: filter by title, location, workplace, visa sponsorship, skills and salary, then page through the results.
POST /v1/jobs/search returns job postings from an index that Spicrawl keeps up to date. The index is built from company job boards on Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee, Breezy, Pinpoint, Personio and Workday, from Y Combinator's job board, from Wellfound's role listing pages, and from employer hiring posts on Reddit's job subreddits. One call returns one page of postings, newest first, and the call reads the index: it does not fetch the boards. Use it when you want jobs that match a search, not the pages they came from. For a board the index does not cover, see Scrape job postings from job boards.
Requires an API key with the scrape scope, which default keys have.
First request
curl -X POST https://api.spicrawl.com/v1/jobs/search \
-H "Authorization: Bearer $SPICRAWL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "backend engineer -senior",
"posted_within": "7d",
"region": "Berlin",
"workplace": ["remote", "hybrid"],
"platforms": ["greenhouse", "ashby"],
"limit": 25
}'The response is JSON with jobs, next_cursor and credits_used. Each posting has an apply_url to send people to. Every field is listed under Posting fields.
Request fields
The body is strict JSON. An unknown field is a 400, so a misspelled filter is never silently ignored. An empty array, an empty string or null is the same as leaving the field out.
| Field | Type | What it does |
|---|---|---|
title | string | Words to match in the job title, up to 200 characters. Web-search syntax: backend engineer matches both words, "staff engineer" a phrase, engineer -senior leaves out a word, ml or "machine learning" matches either. |
posted_within | string | How old a posting may be: hours 1h to 72h, or days 1d to 30d (1h, 6h, 24h, 72h, 1d, 3d, 7d, 30d). Lower case, no spaces. Omit it for any age. |
region | string | A country name or code, or a city, matched without regard to case against the location text and country. Up to 100 characters. |
country | string | Two-letter ISO 3166-1 country code, such as DE or US. An exact match on the posting's country. |
workplace | array | Any of remote, hybrid, onsite. |
visa_sponsorship | boolean | true returns only postings known to sponsor. See Visa sponsorship. |
platforms | array | Any of greenhouse, lever, ashby, yc, wellfound, reddit, workable, smartrecruiters, recruitee, breezy, pinpoint, personio, workday. Omit it to search all of them. |
seniority | array | Any of intern, entry, mid, senior, lead, executive. Up to 6. Read from the job title. |
employment_type | array | Any of full_time, part_time, contract, internship, temporary. Up to 5. |
skills | array | Up to 10 skills, each up to 40 characters. Every skill listed must match. Aliases work, so golang is go and k8s is kubernetes. An unknown skill is a 400 that names it. |
language | string | Two-letter ISO 639-1 code of the language the posting is written in, such as en or de. |
salary_min | number | A yearly amount, above 0 and at most 10,000,000. Postings that publish no salary never match. |
salary_currency | string | Three-letter ISO 4217 code, such as EUR. Defaults to USD when salary_min is set. It is a 400 without salary_min. |
status | string | open (default), closed or any. See Status. |
include_description | boolean | true adds the posting's plain text as description, up to 20,000 characters. Responses get much larger. It does not change which postings match. |
find_contacts | boolean | true looks up names and roles of people at companies whose postings name no one. Adds to the price; see Pricing. |
limit | integer | 1 to 50, default 25. With find_contacts: true, 1 to 10, default 10. |
cursor | string | The next_cursor from the previous page, sent back exactly as you got it. |
A search needs a title or at least one filter: posted_within, region, country, workplace, visa_sponsorship: true, platforms, seniority, employment_type, skills, language or salary_min. Otherwise the call is a 400.
Posting fields
Each entry in jobs has these fields. Text fields are an empty string when unknown, and optional fields are left out.
id,platform,title,company,company_url,url: the posting's identifier, the platform it came from, and its title, company and links.urlis the posting page.apply_url: where to send a candidate to apply. It is the platform's own apply link when the platform publishes one, and otherwise the same asurl. It is always set.location,country,country_code: the location as written, the country when the platform gives one, and a two-letter country code read from the location text.country_codeis absent for "Remote", "Worldwide" and locations it cannot read. Usecountry_codeorcountryfor an exact match andregionfor a loose one.workplace:remote,hybrid,onsiteorunknown.seniority:intern,entry,mid,senior,lead,executiveorunknown. It is read from the job title, and most titles carry no level, so most postings areunknown.employment_type:full_time,part_time,contract,internship,temporaryorunknown.skills: an array, empty when none were found. Skills come from a fixed list of common technologies in the title and, where the description is available, in the description.language: the language the posting is written in. Absent when Spicrawl is not confident.visa_sponsorshipandvisa_source: see Visa sponsorship.salary: present only when the platform publishes a salary.minandmaxmay be absent, andcurrencyandperiodsay what they are.yearly_minandyearly_maxare the same amounts converted to a year, when known.salary_mincompares against them. When the text could not be read as numbers,salary.textholds the original wording.posted_at: when the posting was published, as an RFC 3339 time. It isnullwhen the platform gives no date. For Y Combinator it is approximate, because the source shows ages such as "3 days ago".first_seen_at,last_seen_at: when Spicrawl first indexed the posting and when it last saw it on its board.status,closed_at:openorclosed.closed_atis present only when the posting is closed. It is when Spicrawl noticed the posting had left its board, which can be up to one refresh after it actually closed. A closed posting is kept for 30 days and then removed.people: hiring contacts. Usually an empty array. Each entry has aname, aroleand asource. See Find contacts.description: present only withinclude_description: true.
Results are ordered newest first. The default search returns open postings only, so a result was open at the last refresh. It is not a guarantee that it is still open now.
Visa sponsorship
visa_sponsorship is yes, no or unknown. visa_source says where the answer came from:
listed: the platform publishes sponsorship as a field (Y Combinator, and Wellfound's visa field).inferred: Spicrawl read it from the description text. Inferred answers can be wrong.
visa_source is absent when the answer is unknown. Most postings do not say, so visa_sponsorship: true returns far fewer postings than exist. A posting that is unknown may still sponsor. Confirm on the posting before you rely on it.
Salary
salary_min compares yearly amounts in one currency. It does no exchange-rate conversion. With the default USD, salary_min: 100000 returns only postings that publish a USD salary of at least 100,000 a year. Hourly and monthly salaries are converted to a year at 2,080 hours and 12 months. Set salary_currency to search in another currency. A posting in a different currency does not match.
Recipes
Each of these is a complete request body. Send it to POST /v1/jobs/search as in First request.
Newest remote jobs in the last 6 hours, with no title:
{ "posted_within": "6h", "region": "Germany", "workplace": ["remote"] }Remote data engineer roles in one country:
{ "title": "data engineer", "country": "US", "workplace": ["remote"], "posted_within": "7d" }Roles that are known to sponsor visas:
{ "title": "software engineer", "visa_sponsorship": true, "posted_within": "30d" }Platform engineer roles that name both Kubernetes and Terraform (every skill must match):
{ "title": "platform engineer", "skills": ["k8s", "terraform"], "posted_within": "14d" }Backend roles paying at least 120,000 EUR a year:
{ "title": "backend engineer", "salary_min": 120000, "salary_currency": "EUR" }Full descriptions for ten postings:
{ "title": "product designer", "include_description": true, "limit": 10 }Paging
Each response has next_cursor when more postings match. Send it back unchanged as cursor, with the same filters, to get the next page. Stop when next_cursor is absent. A malformed cursor is a 400.
import os, requests
H = {"Authorization": f"Bearer {os.environ['SPICRAWL_API_KEY']}"}
body = {"title": "backend engineer", "posted_within": "7d", "limit": 50}
postings = []
while True:
page = requests.post("https://api.spicrawl.com/v1/jobs/search", headers=H, json=body, timeout=60).json()
postings.extend(page["jobs"])
if "next_cursor" not in page:
break
body = {**body, "cursor": page["next_cursor"]}Find contacts
find_contacts: true looks up people at each company whose posting names no one. It works for the postings of Y Combinator and of companies whose website is known. It returns names and roles only: email addresses and phone numbers are never returned, and LinkedIn is not checked.
{ "platforms": ["yc"], "title": "engineer", "find_contacts": true, "limit": 10 }The response adds contacts_found, the number of postings that got at least one contact. The lookup can take up to about 30 seconds. Contacts are cached per company for 7 days.
Pricing
- 2 credits per request. The price does not depend on
limitor on how many postings come back. A request with no results still costs 2. - Plus 5 credits for each posting that gets contacts, only when
find_contactsistrue. A posting that already names people, or where nothing was found, adds nothing. A cached lookup costs the same as a fresh one. - Free: a request refused with a
400costs nothing. A failed request costs nothing. - Reserved up front. With
find_contacts: true, the request needs room for 2 + 5 ×limitin your monthly allowance when it starts (52 at the default of 10). If there is not enough room, the call is a402and nothing runs.
See Credits for the monthly allowance and how the headers report it.
Limits
- Freshness. Postings are refreshed regularly, usually within a day. A posting published in the last hour may not be in the index yet, and a posting that has been removed can still show as open until the next refresh.
- Most postings say little. Most do not state visa sponsorship, seniority or employment type, so those filters match a small share of postings. Salary appears only when the platform publishes one.
- Skills come from a fixed list. The list covers common technologies. A posting whose stack is named only in its body, and whose description Spicrawl did not read, may not match a
skillsfilter. - Partial coverage. Greenhouse boards that are too large to read in full, and Workday boards, are covered over several refreshes. SmartRecruiters returns the first 100 postings of each company. Wellfound returns the newest postings on a set of listing pages, not every posting on the site.
- Reddit postings. These are employer "[Hiring]" posts from job subreddits. They usually have no company name, and only some carry a description, the post body. Location and workplace come from the title. A post is closed 30 days after it was last seen.
- Catch-all listings are not indexed. Listings such as "Join our Talent Community" or "General application" are dropped.
- Not a list of sponsors. A
visa_sponsorship: trueresult is not every company that sponsors. Check the posting. - Daily allowance. A workspace may run 5 searches per day. The day resets at 12:00 AM IST (18:30 UTC). Requests that pass validation count, but a
400, a rate-limited429, a402and a search that fails on our side do not. Each response reportsX-Jobs-Daily-Limit,X-Jobs-Daily-RemainingandX-Jobs-Daily-Reset(unix seconds of the next reset).
Errors
Errors are application/problem+json with a code. See Errors for the full catalogue. The codes you can get from this endpoint:
| Status | Code | When | What to do |
|---|---|---|---|
| 400 | ERR::REQUEST::MISSING_PARAMETER | No title and no other filter. | Add a title or a filter. |
| 400 | ERR::REQUEST::INVALID_PARAMETER | A value is out of range or not recognised: a bad posted_within, workplace, platforms, seniority, employment_type or status, an unknown skill (named in detail), limit above 10 with find_contacts, salary_min out of range, salary_currency without salary_min, a malformed language, country or cursor, an unknown field, or a field of the wrong type. | Change the field named in detail. |
| 400 | ERR::REQUEST::INVALID | An empty body, malformed JSON, more than one JSON value, or a Content-Type other than application/json. | Send one JSON object with Content-Type: application/json. |
| 413 | ERR::REQUEST::PAYLOAD_TOO_LARGE | The body is over 16 KiB. | Send a shorter body. |
| 401 | ERR::AUTH::MISSING_KEY, INVALID_KEY, REVOKED_KEY, EXPIRED_KEY | The key is missing, invalid, revoked or expired. | Check the key. Do not retry. |
| 403 | ERR::AUTH::INSUFFICIENT_SCOPE | The key does not have the scrape scope. | Use a key with scrape. |
| 402 | ERR::LIMIT::QUOTA_EXCEEDED | The monthly allowance is used up, or cannot cover a find_contacts request. | Wait for the reset date in the message, or raise the limit. Do not retry at once. |
| 429 | ERR::LIMIT::RATE_LIMITED | Too many requests. Retryable. | Wait for Retry-After, then retry. |
| 429 | ERR::LIMIT::DAILY_LIMIT_EXCEEDED | The workspace has run its 5 searches for the day. Not charged. Not retryable before the reset. | Wait for Retry-After, which runs to 12:00 AM IST (18:30 UTC). |
| 500 | ERR::INTERNAL::ERROR | The credit balance could not be checked. Retryable. | Retry with backoff. |
| 503 | ERR::INTERNAL::UNAVAILABLE | The job index is unavailable. Retryable. | Retry with backoff. |
An empty result is a 200 with "jobs": [], not an error. The API reference for this endpoint is at POST /v1/jobs/search.
Batch jobs
Submit up to 10,000 URLs per call to POST /v1/batch, poll the job until it is terminal, and page the JSONL results before they expire after 72 hours.
CDP browser
Connect any DevTools Protocol (CDP) client to a real browser hosted by Spicrawl with GET /v1/browser, and open a live view so a person can watch it and take control for a login, a one-time code or a captcha.