spicrawlspicrawlDocs
Jobs

Search the index of job postings

Searches Spicrawl's index of job postings in one synchronous call.

Requires scope: scrape

POST
/v1/jobs/search

Searches Spicrawl's index of job postings in one synchronous call. The index is crawled from company job boards on Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee, Breezy, Pinpoint, Personio and Workday, from Y Combinator's job board, and from Wellfound's role listing pages (the newest postings on a set of them, not the whole site), and refreshed about every 6 hours. The request reads the index; it does not fetch the boards. Evergreen catch-all listings ("Join our Talent Community", "General application") are not indexed.

Results are ordered newest first, one page per call; pass next_cursor back as cursor for the next. By default only open postings are returned (status: open). status: closed or status: any also returns postings that left their board. A posting that leaves its board is marked closed and kept for 30 days, then removed. closed_at is when the crawler noticed, up to one crawl interval after it actually closed.

Filters: seniority, employment_type, skills (every listed skill must match), language, country, salary_min with salary_currency, and workplace. Each one narrows results. seniority is read from the job title, so most postings are unknown. skills are matched against a fixed vocabulary; a posting whose description is not available only has skills found in its title. salary_min compares yearly amounts within one currency and does not convert between currencies.

include_description: true adds each posting's plain text (capped at 20,000 characters) as description. It makes responses much larger.

visa_sponsorship is yes, no or unknown. visa_source is listed when the platform publishes it (YC, Wellfound) and inferred when read from the description text (the company job-board platforms); inferred values can be wrong. visa_sponsorship: true narrows results a lot, because most postings are unknown.

Billing: 2 credits per request, including one that returns no results; 0 when billing is off. A failed request costs 0. The price does not depend on limit. Subject to the key's normal rate limit.

With find_contacts: true the request also costs 5 credits for each posting that gets contacts; a posting that already names people, or for which nothing is found, costs nothing extra, and a cached lookup costs the same as a fresh one. The organization must have room for 2 + 5 × limit when the request starts. find_contacts caps limit at 10 and can take up to about 30 seconds.

Unknown fields are a 400. A search with a blank or missing title and no other filter is 400 ERR::REQUEST::MISSING_PARAMETER; every other invalid value is 400 ERR::REQUEST::INVALID_PARAMETER, including an unknown skill, which the detail names.

Daily allowance: a workspace may run 5 searches per day (SPICRAWL_JOBS_DAILY_LIMIT on a self-hosted deployment; 0 is unlimited). The day resets at 12:00 AM IST (18:30 UTC). Requests that pass validation count; a 400, a per-key rate-limit 429, a 5xx on our side and a 402 do not use one. Past the allowance the request is refused with 429 ERR::LIMIT::DAILY_LIMIT_EXCEEDED, which is not retryable before the reset. The X-Jobs-Daily-Limit, X-Jobs-Daily-Remaining and X-Jobs-Daily-Reset headers report the allowance on success and on that 429.

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization: Bearer <key>. Read the key from the SPICRAWL_API_KEY environment variable; never hard-code or log it. spicrawl_test_… keys can never spend live credits. Scopes: scrape, batch, sessions (granted by default), browser and read (granted deliberately), and partner (only on a partner account's key). A missing scope is 403 ERR::AUTH::INSUFFICIENT_SCOPE naming the scope.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/jobs/search" \  -H "Content-Type: application/json" \  -d '{    "title": "backend engineer -senior",    "posted_within": "7d",    "region": "Berlin",    "workplace": [      "remote",      "hybrid"    ],    "platforms": [      "greenhouse",      "ashby"    ],    "limit": 25  }'
{  "jobs": [    {      "id": "greenhouse:4012345",      "platform": "greenhouse",      "title": "string",      "company": "string",      "company_url": "string",      "url": "http://example.com",      "apply_url": "http://example.com",      "location": "string",      "country": "string",      "country_code": "DE",      "workplace": "remote",      "seniority": "intern",      "employment_type": "full_time",      "skills": [        "go",        "postgresql"      ],      "language": "string",      "visa_sponsorship": "yes",      "visa_source": "listed",      "salary": {        "min": 0,        "max": 0,        "yearly_min": 0,        "yearly_max": 0,        "currency": "EUR",        "period": "year",        "text": "string"      },      "posted_at": "2019-08-24T14:15:22Z",      "status": "open",      "first_seen_at": "2019-08-24T14:15:22Z",      "last_seen_at": "2019-08-24T14:15:22Z",      "closed_at": "2019-08-24T14:15:22Z",      "description": "string",      "people": [        {          "name": "string",          "role": "Hiring manager",          "source": "posting"        }      ]    }  ],  "next_cursor": "string",  "credits_used": 2,  "contacts_found": 0}