spicrawlspicrawlDocs

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.

FieldTypeWhat it does
titlestringWords 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_withinstringHow 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.
regionstringA country name or code, or a city, matched without regard to case against the location text and country. Up to 100 characters.
countrystringTwo-letter ISO 3166-1 country code, such as DE or US. An exact match on the posting's country.
workplacearrayAny of remote, hybrid, onsite.
visa_sponsorshipbooleantrue returns only postings known to sponsor. See Visa sponsorship.
platformsarrayAny of greenhouse, lever, ashby, yc, wellfound, reddit, workable, smartrecruiters, recruitee, breezy, pinpoint, personio, workday. Omit it to search all of them.
seniorityarrayAny of intern, entry, mid, senior, lead, executive. Up to 6. Read from the job title.
employment_typearrayAny of full_time, part_time, contract, internship, temporary. Up to 5.
skillsarrayUp 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.
languagestringTwo-letter ISO 639-1 code of the language the posting is written in, such as en or de.
salary_minnumberA yearly amount, above 0 and at most 10,000,000. Postings that publish no salary never match.
salary_currencystringThree-letter ISO 4217 code, such as EUR. Defaults to USD when salary_min is set. It is a 400 without salary_min.
statusstringopen (default), closed or any. See Status.
include_descriptionbooleantrue 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_contactsbooleantrue looks up names and roles of people at companies whose postings name no one. Adds to the price; see Pricing.
limitinteger1 to 50, default 25. With find_contacts: true, 1 to 10, default 10.
cursorstringThe 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. url is 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 as url. 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_code is absent for "Remote", "Worldwide" and locations it cannot read. Use country_code or country for an exact match and region for a loose one.
  • workplace: remote, hybrid, onsite or unknown.
  • seniority: intern, entry, mid, senior, lead, executive or unknown. It is read from the job title, and most titles carry no level, so most postings are unknown.
  • employment_type: full_time, part_time, contract, internship, temporary or unknown.
  • 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_sponsorship and visa_source: see Visa sponsorship.
  • salary: present only when the platform publishes a salary. min and max may be absent, and currency and period say what they are. yearly_min and yearly_max are the same amounts converted to a year, when known. salary_min compares against them. When the text could not be read as numbers, salary.text holds the original wording.
  • posted_at: when the posting was published, as an RFC 3339 time. It is null when 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: open or closed. closed_at is 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 a name, a role and a source. See Find contacts.
  • description: present only with include_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 limit or 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_contacts is true. 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 400 costs nothing. A failed request costs nothing.
  • Reserved up front. With find_contacts: true, the request needs room for 2 + 5 × limit in your monthly allowance when it starts (52 at the default of 10). If there is not enough room, the call is a 402 and 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 skills filter.
  • 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: true result 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-limited 429, a 402 and a search that fails on our side do not. Each response reports X-Jobs-Daily-Limit, X-Jobs-Daily-Remaining and X-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:

StatusCodeWhenWhat to do
400ERR::REQUEST::MISSING_PARAMETERNo title and no other filter.Add a title or a filter.
400ERR::REQUEST::INVALID_PARAMETERA 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.
400ERR::REQUEST::INVALIDAn 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.
413ERR::REQUEST::PAYLOAD_TOO_LARGEThe body is over 16 KiB.Send a shorter body.
401ERR::AUTH::MISSING_KEY, INVALID_KEY, REVOKED_KEY, EXPIRED_KEYThe key is missing, invalid, revoked or expired.Check the key. Do not retry.
403ERR::AUTH::INSUFFICIENT_SCOPEThe key does not have the scrape scope.Use a key with scrape.
402ERR::LIMIT::QUOTA_EXCEEDEDThe 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.
429ERR::LIMIT::RATE_LIMITEDToo many requests. Retryable.Wait for Retry-After, then retry.
429ERR::LIMIT::DAILY_LIMIT_EXCEEDEDThe 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).
500ERR::INTERNAL::ERRORThe credit balance could not be checked. Retryable.Retry with backoff.
503ERR::INTERNAL::UNAVAILABLEThe 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.

On this page