Skip to content

We've built 200+ tools — open your toolbox, there's something in here you probably need.

GET/api/v1/kenya/payrollPay & statutory

Kenya Payroll (gross → net)

Turn a monthly gross salary into net pay the way KRA does it now: NSSF, SHIF and the Affordable Housing Levy come off first (all allowable deductions since the Tax Laws (Amendment) Act 2024), then PAYE is charged on the banded remainder and netted against the personal relief. Returns every line plus the per-band PAYE breakdown.

Try it live

Request

GET https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000&helb=0

Response

Parameters

NameTypeRequiredDescription
grossnumberyesMonthly gross salary in KES
helbnumbernoMonthly HELB loan repayment, if any

Call it from code

curl

curl "https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000"

JavaScript

const res = await fetch("https://www.leadafrik.com/api/v1/kenya/payroll?gross=100000");
const { ok, data, meta } = await res.json();