View as Markdown

Matching Job Titles

POST/v2/search/matching-titles

Preview which job titles a boolean / Cartesian expression matches before you search with it. Send the same expression you would pass as person_job_title.boolean_search and get back the most common matching titles with a count for each. Counts are estimates over the whole database and do not take any of your other filters into account, so use them to sanity-check an expression, not to predict a result total. Returned titles are raw LinkedIn titles - the same values People Search returns as job_title - so one role appears once per spelling ("vp marketing" and "vp, marketing" are two rows). A position is matched on all of its titles, so a title can appear here because one of the person's other roles matched: an expression for ceo will list "Founder & CEO". Titles are also matched through their normalized catalog form, which is how a search finds non-English titles - and why a listed title can look unrelated to what you typed. That is what the search does; the preview shows it rather than hiding it. The expression must contain at least one term that is not excluded. The response metadata includes a cached flag noting whether the answer came from cache. Free: costs no credits; counts against the per-second window of the search rate limit (0 units). Authenticate with your API key in the x-api-key header.

Body parameters

  • boolean_searchstringrequiredmin length: 2max length: 20000

    Boolean / Cartesian title query to preview, e.g. "(CEO OR CTO) AND !Intern". Same syntax as person_job_title.boolean_search: bareword=contains, 'single quotes'=contains a multi-word title, "double quotes"=exact, backticks=words in order with connectors bridged (vp marketing finds "VP of Marketing" but not "VP Sales and Marketing"), !=exclude, AND/OR, ()=grouping. Must contain at least one non-excluded term.

    Example
    {
      "boolean_search": "(ceo OR \"chief executive officer\") AND !intern"
    }
  • limitintegeroptionalmin: 1max: 50default: 20

    Maximum titles to return, most common first.

Responses

  • 200 The most common matching titles; [] when none match (still a 200).
  • 400 Invalid request (VALIDATION_ERROR): a field fails validation (payload.code says which kind), or the expression cannot be parsed or excludes every term (boolean_search: ..., no payload).
  • 401 Missing, unknown or inactive credentials (UNAUTHORIZED).
  • 429 Over the per-second window of the search rate limit (RATE_LIMIT; previews spend no units); wait Retry-After seconds.
  • 500 Unexpected server error.

For error handling see Errors. Response objects are described in Person object and Company object.