All posts
Insights

How to measure remote hiring share

The query that answers it, and the ways it still lies to you: the field that says nothing, sparse classifiers, whose location, and provenance mix.

HyperJobs Team7 min read

"What share of software jobs are remote" is a two-request question. Both go to /v1/jobs/count, because you only want the number:

BASH
# Numerator: remote software postings in the last 30 days.
curl -G https://api.hyperjobs.io/v1/jobs/count \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "taxonomies=software" \
  --data-urlencode "work_arrangement=remote" \
  --data-urlencode "time_frame=30d"
 
# Denominator: all software postings in the same window.
curl -G https://api.hyperjobs.io/v1/jobs/count \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "taxonomies=software" \
  --data-urlencode "time_frame=30d"

Divide the two counts. That is the measurement. This post is not about the answer. It is about why that answer is probably wrong, and what to do about it.

Input mistakes are not the problem: a bad value is a 400 naming the parameter, commas mean OR, and country=US works. What's left are the mistakes about measurement, not syntax, and no validator can catch those for you.

Trap 1: null is not on-site

There is one field for where a job is done: work_arrangement, and remote=true is only a shortcut for work_arrangement=remote (one field for where a job is done).

The trap is the fourth value. work_arrangement is on_site, hybrid, remote, or null, when the posting doesn't say. A posting that doesn't say is not an on-site posting, and the share you get depends on where you put it:

DenominatorRemote share means
Every job in the sliceRemote among all postings, the silent ones counted as not remote
Jobs with a work_arrangementRemote among postings that said where the work happens

Neither is wrong. They're different numbers, and the gap between them is the share of postings that stayed silent. Pick one and say which.

include_facets=work_arrangement on a /v1/jobs request with the denominator's filters (and a small limit) gives you the remote, hybrid and on_site counts in one request. Their sum is the postings that said; the count minus the sum is the ones that didn't.

Vocabulary mistakes at least fail loud. work_arrangement=Anywhere is a 400 listing the real values: on_site, hybrid, remote. The measurement mistake above produces no error at all, which is why it outranks every typo.

Trap 2: your denominator is a classifier's opinion

Broadening the denominator is one request: commas are OR, so taxonomies=software,engineering,technology is the union, and /v1/jobs/count counts distinct postings with no overlap arithmetic on your side.

What the union cannot fix is what the taxonomy is: a classifier output with measured coverage below 100%. A posting the classifier never tagged is in neither your numerator nor your denominator, and untagged postings are not a random sample. Widen the family list and your population changes composition, not just size; your remote share can move with it, in the direction of a conclusion, without a single error. Pick one denominator expression, write it down, and never compare shares computed over different ones.

The one comma that still intersects is skill: skill=python,aws means both. If your slice is skill-defined, that is usually what you want ("Rust roles" really does mean postings tagged rust), but say so in the writeup.

Trap 3: whose location is it?

country=US, country=United States: both work, and an unknown code is a 400. The geographic trap left is not syntax; it is that a payload carries two geographies and a share calculation must pick one.

A country slice measures the posting's location, not the employer's

?country= filters the job's location; ?company_country= filters the employer's HQ. A US-headquartered company posts roles worldwide, so the two answer different questions, and for a remote share the gap is the whole subject, since a remote role's locations is often a remote-from restriction rather than an office. For "remote hiring in country X" you almost certainly want the job's location; remote_location on the Job object is the finer signal when it's present.

There is still no geo search (no radius, no bounding box), though each place in locations carries lat and lng for client-side distance work.

Trap 4: an unbounded query is every age at once

/v1/jobs serves every open posting, whatever its age, and nothing that closed (the API serves the present). An unbounded query mixes this morning's postings with roles open for months, and long-open roles are not a random slice of hiring. Bound both requests, and don't compare two shares that don't share a window:

BASH
--data-urlencode "time_frame=30d"    # ✓ 30 days
--data-urlencode "time_frame=1week"  # ✗ 400: must be <n><m|h|d>, m = minutes

An unparseable window is a 400 rather than a silent full-catalogue query. Give numerator and denominator the same time_frame, or better, posted_gte/posted_lt: fixed bounds don't move between your two requests, and a relative window does. A posted window also drops postings with no date at all (date_source: unknown), from numerator and denominator alike, which is fine as long as both sides lose them.

Numerator and denominator must also come from the same endpoint. /v1/jobs and /v1/jobs/feed serve the same live population, but the feed windows on when we indexed a posting and time_frame windows on when it was posted. A ratio across the two windows is not a ratio of anything.

Trap 5: provenance mixes two populations

Every posting carries a source_type: ats for boards the employer authors, jobboard for third-party boards like LinkedIn, aggregator for the rest. include_facets=source_type on /v1/jobs shows the mix in your slice, and the populations differ in exactly the ways that bias a remote share: job-board postings skew toward roles employers chose to advertise widely, and their location fields follow the board's conventions rather than the employer's.

BASH
--data-urlencode "source_type=ats"   # employer-authored postings only

Computing your share on source_type=ats (or computing it per class and reporting both) turns an invisible composition effect into a stated choice. It's one more filter, and it's the difference between "remote share of postings" and "remote share of postings, mostly wherever LinkedIn was that month".

The trap under all of them: postings are not jobs

Even with every parameter correct, the count is of advertised postings. It does not count filled roles, headcount, or people.

An employer that files one posting per city contributes N observations for one role. If that filing style correlates with work arrangement (and there is every reason to think it might, since on-site roles are the ones with a city to enumerate), then posting counts are a biased estimator of exactly the thing you are measuring. collapse=true gives you employer × title as the unit instead, which is usually the honest denominator. Collapsing explains what it costs you.

And remember work_arrangement is a classifier output, populated from what the posting said. A remote role whose posting never says so is not in your numerator.

A defensible procedure

  1. Fix the population first

    One time_frame, one taxonomy vocabulary, one location expression. Write the denominator query before the numerator query.

  2. Test every filter's effect before you trust it

    Typos fail loud, but a filter can still be semantically inert: add them one at a time and watch /v1/jobs/count. A filter that doesn't move the count is measuring something you didn't mean, and the response will never say so.

  3. Change one thing between numerator and denominator

    Exactly one: the work_arrangement filter. If anything else differs, you are not measuring a share.

  4. Say which field you measured

    "Share of postings classified work_arrangement=remote" is a claim the data supports. "Remote hiring" is not: it is an inference layered on top of a classifier, a scrape, and a filing convention.

Run the same procedure on two windows and you have a trend rather than a level, which is usually the more robust thing anyway: the biases above are largely constant across windows and mostly cancel when you difference them.

The queries are the easy part. Knowing which of the five traps ate your result is the job.