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
| Old | New | |
|---|---|---|
| Login | password grant with a person's account | OAuth 2.0 client credentials (client id and secret), see Getting started |
| Job postings of an establishment | GET /services/vacancies/{establishment number} | GET https://api.jobsurfing.nl/v1/establishments/{establishmentNumber}/job-postings |
| One job posting | GET /services/vacancies/{establishment number}/{job id} | GET https://api.jobsurfing.nl/v1/job-postings/{jobPostingId} |
| Envelope | {"jobs": [...]} | {"data": [...], "meta": {"establishment": ..., "count": ...}} |
| Unknown establishment | 422 validation error company.unknown | 404 establishment.unknown (an ordinary answer: treat it as "no job postings") |
| Unknown or closed job posting | 422 validation error job.unknown | 404 job_posting.unknown |
| Which postings | The same: the job postings the establishment has published and that are open now. | |
Fields
| Old field | New field | Note |
|---|---|---|
id (numeric or encoded) | id | Opaque; do not derive anything from it. Not the same value as the old id. |
jobTitle | title | Falls back to the name of the profession when the posting has no own title. |
flavor | type | internship, temporary or permanent. Tolerate values added later. |
oneliner | summary | One line, or null. |
jobText (HTML) | description | Plain text without markup; paragraphs separated by a blank line. Often null. |
hoursPerWeekMin, hoursPerWeekMax | hoursPerWeek.min, hoursPerWeek.max | Null when neither is set. |
durationMin, durationMax, durationExt | duration.min, duration.max, duration.unit | unit is weeks or months. |
startDate | startDate | A date (YYYY-MM-DD) or null. |
(SBB admission of the profile) | qualification.code, qualification.name | For internships: the crebo the learning company is accredited for. |
company (embedded) | establishment | KvK establishment number (12 digits, zero-padded) and the name as JobSurfing shows it. |
address (embedded) | workLocation | street, houseNumber, postalCode, city, countryCode. |
token | url | The public page where a candidate reads and responds. Use it instead of building a URL. |
activated / created | publishedAt | ISO 8601 date-time. |
updated | updatedAt | When anything in this representation last changed; use it to synchronise. |
Checklist
- Ask your client id and secret (JobSurfing sends them over a secure channel), and give us the IP addresses you call from.
- Fetch a token once per two hours instead of logging in per run.
- Switch the URLs and read
datainstead ofjobs. - Map the fields with the table above; use
urlfor links to a posting. - Handle 404
establishment.unknownas "no job postings", and respect 429 withRetry-After. - Run one night in parallel and compare the counts; then stop using the old feed.