API DOCUMENTATION / API REFERENCE

API reference

Index of public API routes and their current implementation status.

Read operations

Method and pathPurposeNotes
GET /v1/jobsPage through the combined jobs projection.Requires an API key.
POST /v1/jobs/searchSearch jobs with the list filters sent as a JSON body.Requires an API key. Same results, paging and cost as GET /v1/jobs.
POST /v1/jobs/search/es_dslSearch jobs with an Elasticsearch-style query body.Requires an API key. Supports a subset of clauses; anything else returns 400.
GET /v1/jobs/countCount distinct included job IDs at a projection watermark.Requires an API key.
GET /v1/jobs/changesRead created, updated, and expired events from a change cursor or timestamp.Requires an API key.
GET /v1/jobs/{jobId}Read one combined job.Route is implemented; merged, withdrawn, and missing IDs have distinct outcomes.
POST /v1/jobs/exportsStart a bulk export of a search to gzipped JSON-lines files.Requires an API key. Up to 100,000 jobs; one export at a time per account.
GET /v1/jobs/exportsList your 20 most recent exports.Requires an API key.
GET /v1/jobs/exports/{exportId}Read one export: status, record count and files.Requires an API key.
GET /v1/jobs/exports/{exportId}/files/{n}Download one export file.Requires an API key. Files are kept for 24 hours.
GET /v1/companiesList the pinned company release.Requires an API key.
POST /v1/companies/searchSearch that company projection with JSON criteria.Requires an API key.
GET /v1/companies/{companyId}Read one registry company.Route is implemented; merged IDs redirect.
GET /v1/companies/{companyId}/jobsList jobs scoped to a canonical company ID.Requires an API key.
GET /v1/usage/requestsRead the authenticated customer request ledger.Requires an API key.
GET /v1/usage/analyticsRead daily request and returned-record aggregates.Requires an API key.

Account operations

Method and pathPurposeNotes
PUT /v1/account/overageTurn overage billing on or off and set its monthly limit in dollars.Requires an API key. An account without an active paid subscription answers 403 upgrade_required or 403 no_active_subscription. Not counted against request windows or your allowance. Full description in the OpenAPI reference.

Conditional availability

The API can return 503 when the public catalog, projection metadata, cursor secret, or a required company representation is unavailable. An HTML description request also returns an unavailable error until confirmed source HTML is provided.

Request examples

jobs list

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/jobs?currentness=current&limit=50" --header 'Authorization: Bearer <API_KEY>'

jobs search

curl --request POST "$HEADCOUNTLABS_BASE_URL/v1/jobs/search" --header 'Authorization: Bearer <API_KEY>' --header 'Content-Type: application/json' --data-raw '{"title":"nurse","country":["US","CA"],"employment_type":"full_time","fields":["job_id","title","locations"],"limit":50}'

jobs search, Elasticsearch-style

curl --request POST "$HEADCOUNTLABS_BASE_URL/v1/jobs/search/es_dsl" --header 'Authorization: Bearer <API_KEY>' --header 'Content-Type: application/json' --data-raw '{"query":{"bool":{"must":[{"match":{"title":"nurse"}},{"terms":{"country":["US","CA"]}}],"filter":[{"range":{"created_at":{"gte":"2026-10-01"}}}]}},"limit":50}'

jobs export

curl --request POST "$HEADCOUNTLABS_BASE_URL/v1/jobs/exports" --header 'Authorization: Bearer <API_KEY>' --header 'Content-Type: application/json' --data-raw '{"country":"CA","title":"nurse","fields":["job_id","title","locations"],"max_records":20000}'

jobs count

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/jobs/count?company_id=12345678-1234-4234-8234-123456789abc&currentness=current" --header 'Authorization: Bearer <API_KEY>'

job detail

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/jobs/12345678-1234-4234-8234-123456789abc" --header 'Authorization: Bearer <API_KEY>'

job changes

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/jobs/changes?after=opaque_cursor_example&limit=100" --header 'Authorization: Bearer <API_KEY>'

company list

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/companies?name=Acme&limit=20" --header 'Authorization: Bearer <API_KEY>'

company search

curl --request POST "$HEADCOUNTLABS_BASE_URL/v1/companies/search" --header 'Authorization: Bearer <API_KEY>' --header 'Content-Type: application/json' --data-raw '{"name":"Acme","country":"US","status":"active","limit":20}'

company id

curl --request GET "$HEADCOUNTLABS_BASE_URL/v1/companies/12345678-1234-4234-8234-123456789abc" --header 'Authorization: Bearer <API_KEY>'

Guides for the reference

Continue in the reference

Check related request behavior before you build.

View route status and methods Discuss API requirements
All API documentation