Distributions

Get distributions on facet

Calculate data distributions (by percentiles or fixed interval) based around numerical job posting fields such as salary and years of experience.

post/distributions/{distributionFacet}

Request

  • Base URL
    https://api.lightcast.io/uk-jpa
  • URL
    https://api.lightcast.io/uk-jpa/distributions/{distributionFacet}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://auth.emsicloud.com/connect/token scopes: postings:uk

Path parameters

distributionFacet'max_years_experience' | 'min_years_experience' | 'posting_duration' | 'salary' required

The facet used as the domain of the distribution.

Query parameters

soc_version'uk_soc_2020'

Specify SOC taxonomy version to use.

title_version'emsi'

Specify Job Title taxonomy version to use.

company_version'emsi_company'

Specify company taxonomy version to use.

lot_version'6' | '7'
Example:7

Specify LOT taxonomy version to use.

area_version'uk_area_2015'

Specify area taxonomy version to use.

new_taxonomy_versionstrue | false

Use new taxonomy versions.

Request body

Example request

{
  "filter": {
    "active_sources_info": {
      "type": "Company",
      "source": "ABCRecruiting.com",
      "url": "ABCRecruiting.com/job/GNkBaDoMWiyQbmlpFHfz"
    },
    "when": {
      "start": "2015-06",
      "end": "2016-06"
    },
    "keywords": {
      "query": "work/life balance"
    },
    "company_is_staffing": true,
    "min_years_experience": {
      "lower_bound": 1,
      "upper_bound": 3
    },
    "max_years_experience": {
      "lower_bound": 4,
      "upper_bound": 6
    },
    "salary": {
      "lower_bound": 60000,
      "upper_bound": 70000
    },
    "min_salary": {
      "lower_bound": 55000,
      "upper_bound": 80000
    },
    "max_salary": {
      "lower_bound": 55000,
      "upper_bound": 80000
    },
    "posting_duration": {
      "upper_bound": 30
    },
    "is_internship": true,
    "is_apprenticeship": true,
    "is_voluntary": true
  }
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.