API Documentation
Access UK salary data and career projections programmatically. 12 RESTful endpoints backed by official ONS ASHE and HMRC LEO data, covering 412 occupations, 50 career paths, and 12 UK regions.
Quick Start
Get an API key
API access is available on Agency, Enterprise, and University plans. Create a key from your organisation dashboard under the API Keys tab. Assign the permissions you need.
Make your first request
Integrate
All responses are JSON. CORS is enabled for all origins. Cache headers are set to 5 minutes.
Authentication
All API requests require authentication via the X-API-Key header.
API keys are generated from your organisation dashboard. Keys start with cm_live_ and are shown once at creation — store them securely.
Plan requirements: API access requires an Agency, Enterprise, or University plan. Recruiter plans do not include API access.
Permissions
Each API key has granular permissions that control which endpoints it can access. Assign only the permissions you need.
| Permission | Endpoints | Description |
|---|---|---|
| careers | /careers, /salary, /compare, /benchmark | Career path and salary data |
| regions | /regions | Regional data and multipliers |
| projections | /projections/* | Salary forecasting, lifetime earnings, progression, percentile analysis, qualification premiums |
| export | /export/* | Bulk data export |
Base URL
Career Data Endpoints
Access career paths, salary data, regional breakdowns, and benchmarks. Requires the careers permission.
List all 50 career paths with summary information.
Example response
Get detailed salary data for a specific career path with all progression stages.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | path | Yes | Career path ID (e.g. software-engineering) |
| region | query | No | Region ID for salary adjustment (e.g. london) |
Example response
List all 12 UK regions with salary multipliers and cost of living data. Requires regions permission.
Example response
Get salary data for a career path, optionally adjusted for a region.
| Parameter | Type | Required | Description |
|---|---|---|---|
| career | query | Yes | Career path ID |
| region | query | No | Region ID for salary adjustment |
Compare salary data across 2-5 career paths side by side.
| Parameter | Type | Required | Description |
|---|---|---|---|
| careers | query | Yes | Comma-separated career IDs (2-5) |
| region | query | No | Region ID for salary adjustment |
Get percentile benchmarks for a career across all 12 UK regions.
| Parameter | Type | Required | Description |
|---|---|---|---|
| career | query | Yes | Career path ID |
Projections Endpoints
Salary forecasting, lifetime earnings, career progression, and qualification analysis powered by the CareerMetrics Projection Engine. Requires the projections permission.
Response format: All projections endpoints return { success, data, meta }. The meta object includes data source, methodology description, and a disclaimer.
Project future salary growth for an occupation using compound annual growth rate (CAGR) extrapolation from 11 years of historical ONS data.
| Parameter | Type | Default | Description |
|---|---|---|---|
| soc | string | required | SOC occupation code (1-4 digits) |
| years | integer | 10 | Years to forecast (max 30) |
| percentile | string | median | p25 | median | p75 | p90 |
| inflation | boolean | false | Adjust for CPI inflation |
Example response
Calculate total lifetime earnings with net present value (NPV), peak earnings age, and yearly breakdown.
| Parameter | Type | Default | Description |
|---|---|---|---|
| soc | string | required | SOC occupation code |
| startAge | integer | 22 | Career start age (16-40) |
| retireAge | integer | 67 | Retirement age (50-75) |
| percentile | string | median | p25 | median | p75 |
| discountRate | float | 0.035 | NPV discount rate (0-0.1) |
Example response
Get estimated career progression stages (Entry, Mid, Senior, Leadership) with salary at each level, derived from percentile distribution.
| Parameter | Type | Default | Description |
|---|---|---|---|
| soc | required | SOC occupation code |
Example response
Find where a given salary sits in the distribution for an occupation.
| Parameter | Type | Default | Description |
|---|---|---|---|
| soc | required | SOC occupation code | |
| salary | required | Annual salary in GBP (0-1,000,000) |
Example response
Compare multiple occupations on lifetime earnings, CAGR, median salary, and career progression.
| Parameter | Type | Default | Description |
|---|---|---|---|
| soc | required | Comma-separated SOC codes (max 10) |
Rate Limits
| Plan | Rate Limit | Includes |
|---|---|---|
| Agency | 1,000 req/day | Career data + projections |
| Enterprise | 10,000 req/day | All endpoints + widgets |
| University | 10,000 req/day | All endpoints + widgets + LTI 1.3 |
Rate limits reset daily at midnight UTC. Need higher limits? Contact us.
Error Handling
All errors return a JSON object with success: false and an error object:
Data Sources
ONS ASHE
Annual Survey of Hours and Earnings. 412 occupations at 4-digit SOC level, 11 years (2015-2025), 6 percentiles (p10/p25/median/p75/p90/mean), gender breakdowns, full-time vs all employees.
DfE LEO
Longitudinal Education Outcomes linked to HMRC tax records. Graduate + postgraduate earnings by subject at 1, 3, 5, and 10 years after graduation. 28 undergraduate subjects, 25 postgraduate subjects.
Crown Copyright. Licensed under the Open Government Licence v3.0. Data updated when new ONS/DfE releases are published (typically annually).