- Documentation
- Get started
Errors
Every status code the API returns, what causes it, and what to do about it.
Errors are JSON with an error key. Most carry extra fields with context:
validation errors name the offending parameter and tell you what would have
been accepted.
{
"error": "invalid request",
"param": "seniority",
"hint": "'mid_senior' is not valid. Allowed: intern · entry · mid · senior · lead · director · executive"
}Status codes
| Status | Meaning | Retry? |
|---|---|---|
200 | Success. | — |
301 | A merged company id: Location points at the company it was merged into. | Follow it, and store the new id |
400 | Unknown parameter, bad value, or malformed search syntax. | No, fix the request |
401 | Missing, unknown, revoked, or expired API key. | No, fix the key |
402 | Monthly quota exhausted. | No, until the 1st, or upgrade |
403 | Not included in your plan, or a new candidate past the ones you may keep. | No, upgrade, add Match, or delete candidates |
404 | Unknown job id, company id, candidate id, or endpoint path. | No |
405 | A method the path doesn't answer: every path is GET, but the Match API's. | No |
409 | A candidate's resume is still being read (Match API). | Yes, after Retry-After |
422 | A candidate's resume couldn't be read (Match API). | No, send a readable one |
429 | Per-minute rate limit exceeded, or too many requests at once. | Yes, after Retry-After |
500 | Unhandled server error. | Yes, with backoff |
503 | query_timeout: the search took too long to run, or, on the Match API, the resume reader is unavailable. | Yes, after Retry-After, or narrow it |
That's the complete list. Every error response except 401, 405, 429, 500 and 503
also carries the budget headers; a 429
carries the rate headers plus Retry-After.
There is a 400 now
Strict validation is the feature
In a pre-release draft of this API, malformed parameters were silently coerced or dropped, and a typo'd
filter came back as a plausible-looking 200, the single biggest source of
"the API returned the wrong data". That's gone. Every parameter is validated:
an unknown parameter, a bad value, an empty value, or a malformed cursor is a
400 that names the parameter and says what's allowed.
?limit=abc is a 400, not a silent limit=50. ?seniority=Mid level (a
label, not the code mid) is a 400 listing the codes, not an empty
result set. ?time_frame=lastweek is a
400, not results from all time. Bad input can no longer masquerade as an
empty result set. If you got a 200, every filter you sent was applied.
400 Bad request
Two flavors, same shape. For an unknown parameter, a bad or empty value, a
malformed cursor (or one issued for a different sort), sort=relevance
without a text search, more than four include_facets, a simple and an
_advanced search sent for the same field, or a location we don't know:
{ "error": "invalid request", "param": "limit", "hint": "minimum is 1" }For malformed search syntax in q, title, description, or their
_advanced variants (an unbalanced quote, a dangling operator):
{ "error": "invalid search syntax", "param": "title", "hint": "…" }param is always the query parameter to fix; hint says why it was rejected:
the allowed enum values, the numeric bounds, the expected format. A parameter
that used to exist and was removed gets a hint naming its replacement. When the
hint isn't enough, /openapi.json is
the generated spec with every parameter's exact constraints, no key needed.
A 400 will never succeed on retry, and it costs no jobs. Fix the request.
401 Unauthorized
{ "error": "invalid or missing api key", "hint": "Authorization: Bearer <key>" }Returned when the key is absent, unknown, revoked, or past the expiry you gave
it. The response deliberately doesn't distinguish between those cases. A key
in the query string counts as absent: only the Authorization header is
read. See authentication.
401 responses carry no X-RateLimit-* or X-Quota-* headers: those only
appear once a request has authenticated. See rate limits.
402 Quota exhausted
{
"error": "monthly quota exhausted",
"scope": "account",
"quota": 250,
"used": 250,
"resets_at": "2026-10-01T00:00:00.000Z"
}Your account has been served its plan's jobs for the month. No Retry-After,
because retrying can't help: the meter turns over at resets_at, the first
of next month at 00:00 UTC, or on the next request after you
upgrade. scope is "account" when the plan's
allowance stopped the request, or "key" when a lower monthly ceiling you
set on this particular key did; quota and used are the numbers for
whichever it was.
The X-Quota-* headers are on this response too, so a client can see the
same numbers without parsing the body. The 429 you may have expected here
is reserved for the per-minute rate. The two mean different things and want
different handling. See rate limits.
403 Forbidden
{
"error": "The company directory is not included in the free plan",
"plan": "free",
"required_plan": "starter",
"hint": "Starter and above: upgrade at https://hyperjobs.io/pricing"
}Plans differ in a few features. required_plan is the lowest plan that has what you asked for.
404 Not found
Two different shapes. For an unknown resource:
{ "error": "not found" }For an unknown endpoint path:
{
"error": "unknown endpoint",
"see": "/v1/jobs · /v1/jobs/count · /v1/jobs/feed · /v1/jobs/expired · /v1/jobs/changes · /v1/jobs/modified · /v1/jobs/{id} · /v1/companies · /v1/companies/{id} · /v1/companies.csv · /v1/locations · /v1/vocabulary · /v1/candidates · /v1/candidates/{id} · /v1/candidates/{id}/scores · /v1/meta · /v1/health · /openapi.json"
}A 404 on /v1/jobs/{id} means the posting isn't in the dataset: it closed
or we stopped serving it, and /v1/jobs/expired
lists it. A duplicate still answers: its duplicate_of names the posting we
keep (duplicates). It costs no jobs; only a hit
does.
405 Method not allowed
{ "error": "method not allowed: this path answers GET" }A method the path doesn't answer, with an Allow header naming the ones it
does. Every endpoint is a GET (Allow: GET, OPTIONS), except the
Match API's: /v1/candidates/{id} answers GET,
PUT and DELETE, and /v1/candidates/{id}/scores answers POST. (OPTIONS
is answered everywhere with a 204 for CORS preflight, no key needed.)
429 Rate limited
{ "error": "rate limit exceeded", "rate_per_min": 300, "retry_after_s": 12 }rate_per_min is the ceiling you hit: the account's, or a lower one you set
on this key; retry_after_s (also sent as a standard Retry-After header)
is how many seconds until the 60-second window closes. Wait that long and
retry; a client that does is never refused twice. If you're hitting this
regularly, pace the client with the X-RateLimit-* headers instead. See
rate limits.
There is a second 429, for too many requests at the same time:
{ "error": "too many requests at once", "at_once": 8, "rate_per_min": 300, "retry_after_s": 2 }Requests beyond at_once wait their turn and are answered normally; you only see
this when one has waited 15 seconds. Send fewer in parallel. See
rate limits.
A 429 is never about the monthly quota: running out of that is a
402.
500 Server error
{ "error": "internal", "request_id": "3d1a4c2e-6f0b-4a7e-9c58-2b8e1f0d7a61" }Ours, not yours. request_id (also sent as an X-Request-Id header) is
a tag on the exception we captured, so quoting it to support
finds the failure in one search; nothing else about the request is needed.
Retry with exponential backoff and jitter. A 500 carries no budget headers
and costs no jobs.
Handling errors well
A client that's correct against this API needs to do three things:
Retry 429 and 5xx, nothing else
400,401,403, and404will never succeed on retry, and neither will a402: retrying it just spends requests against your rate. The status tells you which is which:429comes withRetry-After,402doesn't, and it says so in the body.Honor Retry-After, back off 5xx with jitter
JSasync function request(url, key, attempt = 0) { const res = await fetch(url, { headers: { Authorization: `Bearer ${key}` } }); if (res.ok) return res.json(); // Retryable: 5xx, or a per-minute 429. A 402 (quota) is not: stop, and // either wait for the 1st or upgrade. const retryable = res.status >= 500 || res.status === 429; if (!retryable || attempt >= 5) { throw new Error(`${res.status}: ${JSON.stringify(await res.json())}`); } // A 429 says exactly how long the window needs; a 500 says nothing, so back // off exponentially. Jitter keeps a fleet of workers from retrying in // lockstep and re-triggering it. Log a 500's request_id: it is the handle // support searches for. const retryAfter = res.headers.get("Retry-After"); const base = retryAfter ? Number(retryAfter) * 1_000 : 500 * 2 ** attempt; await new Promise((r) => setTimeout(r, base + Math.random() * 500)); return request(url, key, attempt + 1); }Treat 400 as a bug report, not a transient
A
400names the parameter and says what was expected. Surfaceparamandhintin your logs verbatim rather than swallowing them into a generic failure. Enum-valued filters likeseniorityandwork_arrangementtake codes (senior,on_site) and match them exactly; the hint lists the vocabulary, and the enums reference has it all in one place.