GET /v1/jobs and GET /v1/companies return one page at a time, with a next cursor.
Read every page
- Send your request without
cursor. - If
nextis notnull, send the same request again withcursorset tonext. - Stop when
nextisnull.
Good to know
- Keep every other param the same while you page. Only
cursorchanges. - A cursor is not a page number. Do not build or change one; send it back as you got it. A cursor we did not make gets
400. - Cursors keep working when new jobs arrive: with
sort=newest, new jobs go before your first page, so you never see a job twice in one pass. - A job that closes while you page leaves the results. The pages after it do not shift, so you skip no job.
- Only the last page can have fewer jobs than
limit. Still, stop onnextbeingnull, not on a short page.