# Labor market data API: hiring demand from live job postings

> Count and break down open job postings by occupation, skill, level, place, employer and pay: free counts, facets in one request, O*NET and ESCO codes per job.

Source: https://hyperjobs.io/use-cases/labor-market-data

A job posting is the earliest public signal of labour demand: it appears weeks
before the hire, names the skills wanted, and often states the pay. This API
holds the open postings from employers' own boards, classified the same way
across 80-odd sources, so "how many senior data roles opened in Germany this
month" is one request rather than a scraping project.

## Count without buying rows

[`/v1/jobs/count`](/docs/api-reference/jobs-count) takes the full filter set of
`/v1/jobs` and returns one number. It bills **no jobs**, only a request against
the per-minute rate, so a whole grid of cuts costs nothing from the quota.

```bash
# Senior data and analytics roles in Germany, posted in the last 30 days.
curl -G https://api.hyperjobs.io/v1/jobs/count \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "taxonomies=data_analytics" \
  --data-urlencode "seniority=senior" \
  --data-urlencode "country=DE" \
  --data-urlencode "time_frame=30d"
```

```json title="Response"
{ "count": 2184 }
```

## Breakdowns in one request

`include_facets` on `/v1/jobs` returns a count per value for up to four fields,
each under the rest of your filter. With `limit=1` the breakdown costs one job:

```bash
# Software postings of the last 30 days, broken down four ways.
curl -G https://api.hyperjobs.io/v1/jobs \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "taxonomies=software" \
  --data-urlencode "time_frame=30d" \
  --data-urlencode "include_facets=country,seniority,work_arrangement,company_size" \
  --data-urlencode "fields=id" \
  --data-urlencode "limit=1"
```

Each facet returns its 200 largest values. Closed lists come back by code
(`{"senior": 1204, …}`), with labels in [`/v1/vocabulary`](/docs/api-reference/vocabulary).

## The dimensions you can cut by

| Dimension | Filter | Returned on each job |
| --- | --- | --- |
| Occupation | `taxonomies` (28 job families) | `taxonomies`, `occupation_onet` (O*NET-SOC), `occupation_esco` (ESCO URI) |
| Skills | `skill` (AND), `skill_any` (OR) | `key_skills`, `keywords` |
| Level | `seniority`, `experience_years_gte` / `_lte`, `education` | `seniority`, `experience_years_min` / `_max`, `education` |
| Place | `country`, `region`, `city`, `location`, `continent` | `locations` with GeoNames ids |
| Work arrangement | `work_arrangement`, `remote` | `work_arrangement`, `remote_location` |
| Employer | `company_industry`, `company_size`, `company_country`, `agency` | the embedded `company` |
| Pay | `has_salary`, `salary_usd_gte` / `_lte` | `salary`, normalised to a year and to USD |
| Time | `posted_gte`, `posted_lt`, `time_frame` | `posted_at`, `date_source`, `created_at` |

## Before you publish a number

- **Postings, not hires.** A posting is advertised demand. One role posted in
  twelve cities is twelve rows unless you
  [collapse](/docs/guides/deduplication#collapsing) them; the same role on two
  boards is already one.
- **Fix the window.** Give numerator and denominator the same `posted_gte` /
  `posted_lt`. A job without a posting date never matches a date filter.
- **There is no archive.** Closed postings are removed, not kept. Record the
  series yourself (counts on a schedule, and the openings and closures from
  [`/v1/jobs/changes`](/docs/api-reference/jobs-changes)), and
  [the history is yours](/blog/thirty-days-and-no-archive) from that day.
- **A page is not a sample.** The first page of results is the newest page.
  Count with `/v1/jobs/count`; for a distribution, walk the whole set with
  `cursor`: [your sample is not random](/blog/your-sample-is-not-random).
- **A null is silence.** Many fields are `null` when the posting doesn't say;
  `coverage_pct` on [`/v1/meta`](/docs/api-reference/meta) gives the live fill
  rate of each, so you know the denominator a field can support.

## Questions

### Does counting jobs use my quota?

No. /v1/jobs/count takes every filter /v1/jobs takes and bills no jobs, only a request against the per-minute rate. Counts are exact up to 10,000 matches; past that they are an estimate, flagged estimated: true.

### Is there historical job postings data?

No. The catalogue serves open postings, and a closed one is removed rather than archived. A time series is something you record: snapshot the counts you care about on a schedule, and keep the openings and closures the feeds report, from the day you start.

### How are occupations classified?

Every job carries taxonomies, from a closed list of 28 job families you can filter and facet on. Where an occupation fits, a job also carries an O*NET-SOC code and an ESCO occupation URI, which are returned on each job but are not filters.

### How representative is the data?

It covers employers whose boards we read, on 80-odd applicant tracking systems and LinkedIn, deduplicated so a job posted to several boards counts once. That is wide but not a census: employers that hire without posting, or post only where we don't read, are missing. Name the population you measured, and report it as postings, not hires.

### Can I publish research or charts built on the data?

Analyses, reports, dashboards and models built on the data are within the licence, including for clients. Publishing the postings themselves in bulk is not. If your output sits near that line, ask before you build; the data licensing page covers the common cases.

## Read next

- [Count jobs](https://hyperjobs.io/docs/api-reference/jobs-count)
- [Skills & taxonomies](https://hyperjobs.io/docs/guides/skills-and-taxonomies)
- [Coverage](https://hyperjobs.io/docs/reference/coverage)
- [Your sample is not random](https://hyperjobs.io/blog/your-sample-is-not-random)
- [Keeping the history yourself](https://hyperjobs.io/blog/thirty-days-and-no-archive)
- [Pricing](https://hyperjobs.io/pricing)
