Expired & Historical Jobs API
Export Expired Jobs
Start a task to export all expired jobs since a date as a JSONL file
POST
Export Expired Jobs
Export the full expired-jobs feed since a given date as a downloadable JSONL file. This endpoint creates an async task and returns immediately; poll Get Task Status for the download URL.
This is the intended path for large expiration syncs. It is built for job boards and other large mirrors that would rather receive one file of everything that expired since a date than page through the Expired Jobs feed. It is also the way to catch up after missed syncs. Like the feed,
since can be at most 14 days ago; a one-week window of ~1M records exports completely.Like the feed, the export contains identifiers only (_id, company_slug, job_slug, date_expired). For full past postings, use the Historical Jobs endpoints.Endpoint
Authentication
string
required
Your Hirebase API key
Request Body
string
required
Starting date/datetime to export expired jobs from. Accepts ISO 8601 date (
"YYYY-MM-DD") or full datetime ("YYYY-MM-DDTHH:MM:SSZ"). Naive datetimes are treated as UTC. Must be within the last 14 days (on or after midnight UTC 14 days ago). Invalid or older values return 400 with a descriptive message; a missing since returns 422.integer
Maximum number of expired-job records to export (minimum
1). Omit it to export every match since since — unlike Export Jobs, there is no default of 10 here. Set it when you want a bounded file.boolean
default:"false"
Set to
true to receive an email at your account address when the export completes, containing the download link.There is no
format field — expired-jobs exports are always JSONL (one JSON object per line).Metering
Expired-jobs exports are free: they cost 0 units of your Jobs API allowance (m_jobs_api_calls), regardless of how many records they export. Expired data is not billed; only live job data is.
Response
Returns a task object (type: "export_expired_jobs", initial state: "queued"). Poll GET /v2/tasks/{task_id}; when state is "finished", result contains:
object
Exported Record Fields
Each JSONL line contains exactly:_id— unique job identifier; use it asjob_idinGET /v2/jobs/{job_id}company_slugjob_slugdate_expired(YYYY-MM-DD)