All posts
Insights

The skill you were shown is the skill you filter on

A job shows each skill as its posting wrote it, and that word works as a filter. How skill matching works, and what a skill filter will not do.

HyperJobs Team3 min read

A response hands you a skills array:

JSON
{
  "key_skills": [
    { "skill": "Machine Learning", "importance": "required" },
    { "skill": "PyTorch", "importance": "required" },
    { "skill": "CI/CD", "importance": "preferred" }
  ]
}

You render all three as chips. A user clicks one, and you send it straight back:

BASH
curl -G https://api.hyperjobs.io/v1/jobs \
  -H "Authorization: Bearer $HYPERJOBS_KEY" \
  --data-urlencode "skill=Machine Learning"

You get the jobs whose postings asked for machine learning. The value the API showed you is a value the API accepts. That is the whole contract, and the rest of this post is what sits behind it.

A skill is the word the posting wrote

Postings write the same skill a dozen ways: ML, machine learning, Machine-Learning. A job's key_skills gives each one as its posting wrote it, with no list of skills behind them and no merging of spellings. That's what makes the round trip safe: the word you were shown is a word that's really on the job.

Case is forgiving, within reason. skill= matches the word as you send it, in lower case, Capitalised or Title Case, so python, Python and PYTHON all find a posting that wrote Python. A word with capitals inside it needs them: aws does not find AWS. Copy the spelling from a result and you're always right.

Spellings are not merged, so when you want a skill however it was written, list the spellings you care about in skill_any, where a comma is OR:

BASH
--data-urlencode "skill_any=Machine Learning,ML"
--data-urlencode "skill_any=Node.js,nodejs,NodeJS"

The text filters on the same endpoint work differently, on purpose:

ParameterMatchingWhat that means
title=Word searchengineers finds Senior Engineer: case and word endings don't matter
description=Word searchSame, anywhere in the body
skill=A whole skillMachine Learning matches; Machine does not

A skill filter is exact about which word. Substring-matching would make java return every javascript posting, a superset you never asked for and can't detect. So skill=Java means Java, and skill=py matches nothing.

What still comes back empty

  • A spelling nobody used. skill takes any word, so an empty result isn't an error. nodejs finds nothing where every posting wrote Node.js. /v1/jobs/count tells you quickly, and costs no jobs.
  • Skills joined by a comma. On skill, a comma means AND: every skill must be on the job. For "any of these", use skill_any.
  • A soft skill. teamwork isn't stored on a job, so it matches nothing.

The practical rule is short: send what you were shown, and list the spellings when you want them all. Skills & taxonomies has the details.