Nobody tells us a job is closed
No ATS sends a close event: a job ends by disappearing from its board. Expiry is a diff, and everything odd about expires_at follows.
No ATS sends a webhook when a role gets filled. There is no close event, no
status field flipping to closed, no courtesy note. A posting ends its life by
not being on the board the next time anyone looks.
That is the entire mechanism. Expiry is a diff, and every strange thing
about expires_at falls out of that one fact.
What actually happens
We re-read every board regularly, and each read is compared against what we hold. A posting that was listed before and has stopped being listed is closed, once the absence is confirmed: the employer taking the job down is the signal.
We don't guess. Nothing expires because it has been open ninety days and that
feels long, or because the title looks stale, or because a heuristic decided the
role was probably filled. Absence from the board is the only evidence we accept,
because it is the only evidence the employer actually gave us. (The catalogue
does stop serving a posting that fails a publish check, but that is reported
with reason removed, not a verdict that the job closed.)
Board re-read
regularly
Diff vs last sight
what disappeared?
Absence confirmed
the posting closes
Deleted
/v1/jobs/{id} answers 404
Tombstone
/v1/jobs/expired, so you can delete yours
The upside of a diff is that it is evidence-based. The downside is the rest of this post.
expires_at is usually null, and that isn't a bug
Some boards publish an expiry date. When one does, it is honoured: that date
lands in expires_at and the posting disappears from
/v1/jobs when it passes, no diff required.
Most boards publish nothing. So on a perfectly live, perfectly healthy posting,
expires_at is null. That is the common case, not the edge case.
A null expires_at does not mean the job runs forever. It means the board
never said when it ends.
Two genuinely different states share one representation:
expires_at | What it means |
|---|---|
| A date | The board declared an end date. We're passing it on. |
null | The board said nothing. The posting is live until we notice it isn't. |
Anything you build that reads null as "open-ended" is reading a silence as a promise. The field can only report the first row of that table.
Expiry is only as fresh as the board's revisit
A posting can't be seen to close before its board has been read again without it, and the delay between a job coming down and the catalogue noticing is not the same everywhere. A new role typically appears within about an hour of going live; on some sources it can take a few hours. Removal works the same way in reverse: a posting leaves the catalogue shortly after it leaves its board, not at the same instant.
Don't build anything that assumes uniform latency across boards. If you are computing "postings opened this week", your week boundary is a little fuzzier for some sources than for others, in both directions.
The dark board problem
Diff-based expiry depends on the board still answering: no read, no comparison, nothing to mark a posting closed. And a board that stops answering is ambiguous. It may be gone for good, with every posting on it dead. Or it may be down for an afternoon, or mid-migration for a fortnight, while every one of its roles stays open.
Get that wrong in one direction and dead jobs stay live forever. Get it wrong in the other and a hiccup on the employer's side wipes out a board of open roles. So a board is retired only once it is proven gone, not on a bad day, and when it is, its postings close. A board that merely fails is retried, not dropped.
Three endpoints, one population
This is the part that damages data rather than merely confusing you.
/v1/jobs | /v1/jobs/feed | /v1/jobs/expired | |
|---|---|---|---|
| Live postings | Yes | Yes, new ones | No |
| Duplicates | Left out by default | Left out by default | — |
| Closed postings | Gone: deleted | Gone: deleted | A tombstone each, kept 90 days |
A closed posting is deleted from the catalogue, so /v1/jobs and the feed
agree: neither carries a dead row. That leaves a sync consumer one problem. A
dying posting simply stops appearing in your polls, and "stopped appearing"
is indistinguishable from "hasn't changed since your last window". You cannot
diff against an absence without re-walking the entire index, which is the thing
the feed exists to spare you.
So the deletion is published as a row of its own. /v1/jobs/expired streams
{id, expired_at, reason} tombstones, and the loop is one line per feed:
for (const job of feed.data) store.upsert(job);
for (const t of expired.data) store.expire(t.id); // how you learn a posting diedA mirror that polls the feed and never the tombstones keeps every copy it ever stored sitting there, live, forever. The tombstone was the notification. The feed sync guide has the full loop.
Expiry is also reversible: a job its board lists again comes back under the same id, its tombstone goes, and the id answers again. Model the delete so an id can return.
A 404 is a delete instruction
/v1/jobs/{id} returning a 404 on an id
that worked yesterday is normal operation, not an incident. The posting closed,
or we stopped serving it: it failed a publish check.
(A posting folded into a duplicate is not one of them: it leaves the default
listing, but its id still answers, a mechanism with a
post of its own.)
Either way the instruction is the same: treat a 404 as "delete my copy", not
as an error to retry. Retrying it with backoff spends requests to be told the
same true thing repeatedly (a 404 bills no jobs, at least; only a hit does). If
you cache job ids, a 404 is the cheapest, clearest signal this API gives you
about a posting's death, much clearer than the null expires_at you were
staring at.
Open jobs here, history elsewhere
The API serves every open posting, whatever its age, and a closed one is deleted, with a tombstone. There is no archive of closed jobs behind the open ones; if you need that history, it is in the dataset in files.
A time_frame is the usual way to ask for recent jobs:
# Jobs posted in the last week.
curl -G https://api.hyperjobs.io/v1/jobs \
-H "Authorization: Bearer $HYPERJOBS_KEY" \
--data-urlencode "time_frame=7d"Expiry and freshness are in dataset coverage.
Keep reading
When a board lists half its jobs
A short list looks exactly like a hiring freeze: every row it returns is perfect. Why that is the hardest failure in job data, and what it means for a mirror.
5 min read
The same role posted twice is one job
A role mirrored to Greenhouse and LinkedIn is one posting, not two. What deduplication has to decide, and what the API lets you see.
7 min read
Why every job carries its company
Most jobs APIs hand you an employer name and leave you to resolve it. Here is what changes when the company object is already attached.
6 min read