https://www.brainiac.software/api/v1/global-employment/uk-statutory-notice-period$0.03 USDCCalculate UK statutory notice period
Calculate the minimum statutory employer notice period in Great Britain from continuous employment dates, and compare it with caller-supplied contractual notice.
Body
| Field | Required | Notes |
|---|---|---|
startDate | Yes | string |
noticeDate | Yes | string |
contractualNoticeWeeks | No | number; Default: 0 |
Request exampleJSON
{
"startDate": "2019-03-01",
"noticeDate": "2026-11-14",
"contractualNoticeWeeks": 4
}Response exampleJSON
{
"completedYears": 7,
"statutoryWeeks": 7,
"applicableWeeks": 7,
"reason": "statutory_exceeds_contract",
"sources": [
{
"source": "GOV.UK Redundancy: your rights - notice periods",
"url": "https://www.gov.uk/redundancy-your-rights/notice-periods",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are statutory calculations and prechecks for human review, not legal, tax, payroll, or HR advice.",
"Only the cited published rules are encoded; contractual, collective-agreement, sector-specific, and local exceptions ar…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/global-employment/uk-statutory-notice-period" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"startDate": "2019-03-01",
"noticeDate": "2026-11-14",
"contractualNoticeWeeks": 4
}
JSONhttps://www.brainiac.software/api/v1/global-employment/uk-statutory-redundancy-pay$0.04 USDCCalculate UK statutory redundancy pay
Calculate Great Britain statutory redundancy pay from age, service, redundancy date, and weekly pay using the 2026 cap and 20-year service limit.
Body
| Field | Required | Notes |
|---|---|---|
dateOfBirth | Yes | string |
startDate | Yes | string |
redundancyDate | Yes | string |
weeklyPayPence | Yes | integer |
Request exampleJSON
{
"dateOfBirth": "1966-05-01",
"startDate": "2001-01-15",
"redundancyDate": "2026-11-14",
"weeklyPayPence": 80000
}Response exampleJSON
{
"eligible": true,
"countedYears": 20,
"weeksEntitlement": 29.5,
"cappedWeeklyPayPence": 75100,
"amountPence": 2215450,
"breakdown": [
{
"from": "2006-11-14",
"to": "2007-11-14",
"ageInYear": 40,
"multiplier": 1
},
{
"from": "2007-11-14",
"to": "2008-11-14",
"ageInYear": 41,
"multiplier": 1.5
}
],
"sources": [
{
"source": "GOV.UK Redundancy: your rights - statutory redundancy pay",
"url": "https://www.gov.uk/redundancy-your-rights/redundancy-pay",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are statutory calculations and prechecks for human review, not legal, tax, payroll, or HR advice.",
"Only the cited published rules are encoded; contractual, collective-agreement, sector-specific, and local exceptions ar…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/global-employment/uk-statutory-redundancy-pay" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"dateOfBirth": "1966-05-01",
"startDate": "2001-01-15",
"redundancyDate": "2026-11-14",
"weeklyPayPence": 80000
}
JSONhttps://www.brainiac.software/api/v1/global-employment/uk-working-time-check$0.04 USDCCheck UK working-time limits
Check caller-supplied shifts against UK 48-hour average, under-18 limits, 20-minute breaks, daily rest, and weekly or fortnightly rest rules.
Body
| Field | Required | Notes |
|---|---|---|
shifts | Yes | array; Array |
referenceWeeks | No | integer; Default: 17 |
optedOut | No | boolean; Default: false |
under18 | No | boolean; Default: false |
Request exampleJSON
{
"shifts": [
{
"start": "2026-11-02T08:00",
"end": "2026-11-02T17:00",
"breakMinutes": 30
}
],
"referenceWeeks": 17,
"optedOut": false,
"under18": false
}Response exampleJSON
{
"averageWeeklyHours": 0.5,
"violations": [],
"ok": true,
"sources": [
{
"source": "GOV.UK Maximum weekly working hours",
"url": "https://www.gov.uk/maximum-weekly-working-hours",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "GOV.UK Rest breaks at work",
"url": "https://www.gov.uk/rest-breaks-work",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are statutory calculations and prechecks for human review, not legal, tax, payroll, or HR advice.",
"Only the cited published rules are encoded; contractual, collective-agreement, sector-specific, and local exceptions ar…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/global-employment/uk-working-time-check" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"shifts": [
{
"start": "2026-11-02T08:00",
"end": "2026-11-02T17:00",
"breakMinutes": 30
}
],
"referenceWeeks": 17,
"optedOut": false,
"under18": false
}
JSONhttps://www.brainiac.software/api/v1/global-employment/us-overtime-calculate$0.04 USDCCalculate US overtime pay
Calculate federal FLSA weekly overtime, or California daily, seventh-day, and weekly overtime, from one caller-supplied workweek.
Body
| Field | Required | Notes |
|---|---|---|
jurisdiction | Yes | string; One of: federal, california |
hourlyRateCents | Yes | integer |
days | Yes | array; Array |
Request exampleJSON
{
"jurisdiction": "california",
"hourlyRateCents": 2000,
"days": [
{
"date": "2026-11-02",
"hours": 9
},
{
"date": "2026-11-03",
"hours": 9
},
{
"date": "2026-11-04",
"hours": 9
},
{
"date": "2026-11-05",
"hours": 9
},
{
"date": "2026-11-06",
"hours": 9
},
{
"date": "2026-11-07",
"hours": 9
},
{
"date": "2026-11-08",
"hours": 9
}
]
}Response exampleJSON
{
"regularHours": 40,
"overtime15Hours": 22,
"doubleTimeHours": 1,
"regularPayCents": 80000,
"overtimePayCents": 66000,
"doubleTimePayCents": 4000,
"totalCents": 150000,
"sources": [
{
"source": "29 U.S.C. 207(a) and 29 CFR 778.107, FLSA overtime",
"url": "https://www.ecfr.gov/current/title-29/subtitle-B/chapter-V/subchapter-B/part-778/subpart-B/section-778.107",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "California DLSE overtime FAQ",
"url": "https://www.dir.ca.gov/dlse/faq_overtime.htm",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are statutory calculations and prechecks for human review, not legal, tax, payroll, or HR advice.",
"Only the cited published rules are encoded; contractual, collective-agreement, sector-specific, and local exceptions ar…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/global-employment/us-overtime-calculate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"jurisdiction": "california",
"hourlyRateCents": 2000,
"days": [
{
"date": "2026-11-02",
"hours": 9
},
{
"date": "2026-11-03",
"hours": 9
},
{
"date": "2026-11-04",
"hours": 9
},
{
"date": "2026-11-05",
"hours": 9
},
{
"date": "2026-11-06",
"hours": 9
},
{
"date": "2026-11-07",
"hours": 9
},
{
"date": "2026-11-08",
"hours": 9
}
]
}
JSONhttps://www.brainiac.software/api/v1/global-employment/gender-pay-gap-calc$0.04 USDCCalculate UK gender pay gap figures
Compute UK gender pay gap mean, median, bonus, bonus proportion, quartile, headcount, and reporting-threshold figures from caller-supplied employee-level data.
Body
| Field | Required | Notes |
|---|---|---|
snapshotDate | Yes | string |
employees | Yes | array; Array |
Request exampleJSON
{
"snapshotDate": "2026-04-05",
"employees": [
{
"sex": "male",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
},
{
"sex": "male",
"fullPayRelevant": true,
"hourlyPayPence": 2000,
"bonusPence": 0
},
{
"sex": "female",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
},
{
"sex": "female",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
}
]
}Response exampleJSON
{
"meanHourlyGapPct": 33.3,
"medianHourlyGapPct": 33.3,
"meanBonusGapPct": null,
"medianBonusGapPct": null,
"receivingBonusPct": {
"male": 0,
"female": 0
},
"quartiles": [
{
"quartile": "lower",
"malePct": 50,
"femalePct": 50
},
{
"quartile": "lower_middle",
"malePct": 0,
"femalePct": 100
},
"…"
],
"headcount": 4,
"reportingRequired": false,
"sources": [
{
"source": "GOV.UK Gender pay gap reporting: make your calculations",
"url": "https://www.gov.uk/guidance/gender-pay-gap-reporting-make-your-calculations",
"retrievedAt": "2026-11-14",
"status": "ok"
},
{
"source": "Equality Act 2010 (Gender Pay Gap Information) Regulations 2017",
"url": "https://www.legislation.gov.uk/uksi/2017/172/contents/made",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are statutory calculations and prechecks for human review, not legal, tax, payroll, or HR advice.",
"Only the cited published rules are encoded; contractual, collective-agreement, sector-specific, and local exceptions ar…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/global-employment/gender-pay-gap-calc" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"snapshotDate": "2026-04-05",
"employees": [
{
"sex": "male",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
},
{
"sex": "male",
"fullPayRelevant": true,
"hourlyPayPence": 2000,
"bonusPence": 0
},
{
"sex": "female",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
},
{
"sex": "female",
"fullPayRelevant": true,
"hourlyPayPence": 1000,
"bonusPence": 0
}
]
}
JSON