JobSurfingDevelopers

JobSurfing Public API

Read the job postings of learning companies, for partners of JobSurfing. · version 1.0.0

Base URL

https://api.jobsurfing.nl/v1

Getting started

1. Get your credentials

JobSurfing gives each partner a client id and a client secret, together with the scopes it may use and the IP addresses it calls from. Keep the secret out of source code and logs; ask us to rotate it when it may have leaked (the old one keeps working for a short overlap).

2. Ask a token

curl -s -u "$CLIENT_ID:$CLIENT_SECRET" \
  -d grant_type=client_credentials \
  https://api.jobsurfing.nl/v1/oauth/token

# {"access_token": "...", "token_type": "bearer", "expires_in": 7200}

The token is valid for two hours and has no refresh token. Reuse it for all calls until it expires, then ask a new one.

3. Call the API

curl -s -H "Authorization: Bearer $TOKEN" \
  -H "X-Request-Id: my-run-2026-12-01-001" \
  https://api.jobsurfing.nl/v1/establishments/000012345678/job-postings

Scopes

ScopeAllows
job-postings:readRead the open job postings of establishments.

Limits

Per client, 300 requests per minute unless agreed otherwise. Every answer carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; over the limit the answer is 429 with Retry-After (rate_limit.exceeded).

Request ids

Every answer carries X-Request-Id. Send one of your own and it is taken over. Every call is recorded under it, so quote it when you contact us about a call.

Errors

Errors are Problem Details (RFC 9457) with a stable, machine-readable code. The type of a problem is a link to its page here; see all errors. Build on code, not on title or detail.

Errors of the token endpoint

The token endpoint answers OAuth errors (RFC 6749 §5.2): {"error": "invalid_client", "error_description": "..."}.

StatuserrorMeaning
401invalid_clientWrong client id or secret, or a call from an address that is not registered.
400invalid_requestThe request is malformed, or the credentials were sent in the body or the query string instead of with HTTP Basic authentication.
400unsupported_grant_typeOnly grant_type=client_credentials is supported.
400unauthorized_clientYour client may not use the API at present (for example: no agreement yet).
429slow_downToo many token requests. Reuse a token until it expires instead of asking one per call.

Health

GET https://api.jobsurfing.nl/v1/health needs no token and answers 200 when the API and its database answer, 503 when not.