JobSurfingDevelopers

Migrating from /services/vacancies

The old feed (/services/vacancies, with a JobSurfing user account and a password) keeps working until 31 December 2026. After that date it is switched off. Please move to the public API before then.

What changes

OldNew
Loginpassword grant with a person's accountOAuth 2.0 client credentials (client id and secret), see Getting started
Job postings of an establishmentGET /services/vacancies/{establishment number}GET https://api.jobsurfing.nl/v1/establishments/{establishmentNumber}/job-postings
One job postingGET /services/vacancies/{establishment number}/{job id}GET https://api.jobsurfing.nl/v1/job-postings/{jobPostingId}
Envelope{"jobs": [...]}{"data": [...], "meta": {"establishment": ..., "count": ...}}
Unknown establishment422 validation error company.unknown404 establishment.unknown (an ordinary answer: treat it as "no job postings")
Unknown or closed job posting422 validation error job.unknown404 job_posting.unknown
Which postingsThe same: the job postings the establishment has published and that are open now.

Fields

Old fieldNew fieldNote
id (numeric or encoded)idOpaque; do not derive anything from it. Not the same value as the old id.
jobTitletitleFalls back to the name of the profession when the posting has no own title.
flavortypeinternship, temporary or permanent. Tolerate values added later.
onelinersummaryOne line, or null.
jobText (HTML)descriptionPlain text without markup; paragraphs separated by a blank line. Often null.
hoursPerWeekMin, hoursPerWeekMaxhoursPerWeek.min, hoursPerWeek.maxNull when neither is set.
durationMin, durationMax, durationExtduration.min, duration.max, duration.unitunit is weeks or months.
startDatestartDateA date (YYYY-MM-DD) or null.
(SBB admission of the profile)qualification.code, qualification.nameFor internships: the crebo the learning company is accredited for.
company (embedded)establishmentKvK establishment number (12 digits, zero-padded) and the name as JobSurfing shows it.
address (embedded)workLocationstreet, houseNumber, postalCode, city, countryCode.
tokenurlThe public page where a candidate reads and responds. Use it instead of building a URL.
activated / createdpublishedAtISO 8601 date-time.
updatedupdatedAtWhen anything in this representation last changed; use it to synchronise.

Checklist

  1. Ask your client id and secret (JobSurfing sends them over a secure channel), and give us the IP addresses you call from.
  2. Fetch a token once per two hours instead of logging in per run.
  3. Switch the URLs and read data instead of jobs.
  4. Map the fields with the table above; use url for links to a posting.
  5. Handle 404 establishment.unknown as "no job postings", and respect 429 with Retry-After.
  6. Run one night in parallel and compare the counts; then stop using the old feed.