Social contributions API Reference
3 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Social contributions API page.
/v1/social-contributions1 creditEmployee and employer social security contribution schedules for one country and year: bands (threshold, upper_threshold, rate in percent) on the stated earnings base, maximum contribution, lump sums. ID lists BPJS programmes (JHT, JP, JKK, JKM, JKN); US lists FICA programmes (oasdi, hi, additional_medicare) from the SSA wage base, 2018-2026. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country * | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 code. Required. Covered countries: GET /v1/social-contributions/coverage |
| year | query | string | Tax year, or latest (default) |
| jkk_risk | query | integer | 1 to 5 · ID only: work-accident risk class 1-5 (default 1) |
curl 'https://api.apifor.dev/v1/social-contributions?country=' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"country": "US",
"year": 2025,
"currency": "USD",
"employee": [
{
"id": "US-2025-employee-oasdi",
"payer": "employee",
"schedule": 1,
"program": "oasdi",
"base": "annual_gross_earnings",
"bands": [
{
"level": 1,
"threshold": 0,
"upper_threshold": 176100,
"rate": 6.2
}
],
"max_contribution": null,
"lump_sum": null,
"pit_deductible_percent": null,
"data_quality_flags": [],
"rules": {
"regime": "FICA Social Security (OASDI)",
"legal_basis": "42 U.S.C. 430; 26 U.S.C. 3121(a)(1); rates: 26 U.S.C. 3101(a)-(b) and 3111(a)-(b) (FICA employee and employer rates); 26 U.S.C. 1401 (SEC...",
"effective_from": "2025-01-01",
"effective_to": "2025-12-31",
"source_url": "https://www.ssa.gov/oact/cola/cbb.html"
}
},
{
"id": "US-2025-employee-hi",
"payer": "employee",
"schedule": 1,
"program": "hi",
"base": "annual_gross_earnings",
"bands": [
{
"level": 1,
"threshold": 0,
"upper_threshold": null,
"rate": 1.45
}
],
"max_contribution": null,
"lump_sum": null,
"pit_deductible_percent": null,
"data_quality_flags": [],
"rules": {
"regime": "FICA Medicare (HI)",
"legal_basis": "26 U.S.C. 3101(a)-(b) and 3111(a)-(b) (FICA employee and employer rates); 26 U.S.C. 1401 (SECA); Additional Medicare Tax 26 U.S.C. 3101(b...",
"effective_from": "2025-01-01",
"effective_to": "2025-12-31",
"source_url": "https://www.ssa.gov/oact/progdata/oasdiRates.html"
}
}
],
"employer": [
{
"id": "US-2025-employer-oasdi",
"payer": "employer",
"schedule": 1,
"program": "oasdi",
"base": "annual_gross_earnings",
"bands": [
{
"level": 1,
"threshold": 0,
"upper_threshold": 176100,
"rate": 6.2
}
],
"max_contribution": null,
"lump_sum": null,
"pit_deductible_percent": null,
"data_quality_flags": [],
"rules": {
"regime": "FICA Social Security (OASDI)",
"legal_basis": "42 U.S.C. 430; 26 U.S.C. 3121(a)(1); rates: 26 U.S.C. 3101(a)-(b) and 3111(a)-(b) (FICA employee and employer rates); 26 U.S.C. 1401 (SEC...",
"effective_from": "2025-01-01",
"effective_to": "2025-12-31",
"source_url": "https://www.ssa.gov/oact/cola/cbb.html"
}
},
{
"id": "US-2025-employer-hi",
"payer": "employer",
"schedule": 1,
"program": "hi",
"base": "annual_gross_earnings",
"bands": [
{
"level": 1,
"threshold": 0,
"upper_threshold": null,
"rate": 1.45
}
],
"max_contribution": null,
"lump_sum": null,
"pit_deductible_percent": null,
"data_quality_flags": [],
"rules": {
"regime": "FICA Medicare (HI)",
"legal_basis": "26 U.S.C. 3101(a)-(b) and 3111(a)-(b) (FICA employee and employer rates); 26 U.S.C. 1401 (SECA); Additional Medicare Tax 26 U.S.C. 3101(b...",
"effective_from": "2025-01-01",
"effective_to": "2025-12-31",
"source_url": "https://www.ssa.gov/oact/progdata/oasdiRates.html"
}
}
],
"years_available": [
2018,
2019
],
"local": {
"country": "US",
"programs": {
"oasdi": "Social Security (Old-Age, Survivors and Disability Insurance), up to the annual wage base",
"hi": "Medicare Hospital Insurance, no wage cap",
"additional_medicare": "Additional Medicare Tax 0.9%, employee only, withheld on wages above USD 200,000"
},
"additional_medicare_liability_thresholds": {
"single": 200000,
"head_of_household": 200000,
"married_filing_jointly": 250000,
"married_filing_separately": 125000
},
"self_employed": {
"oasdi_rate": 12.4,
"hi_rate": 2.9
},
"notes": "FICA only. Federal (FUTA) and state unemployment insurance are not included. The Additional Medicare Tax is shown at the employer withhol..."
}
},
"meta": {
"attribution": {
"source": "Social Security Administration, Office of the Chief Actuary (wage base and FICA rates); 26 U.S.C. 3101, 3111",
"licence": "Public domain: works of the US Government (17 U.S.C. 105)",
"license": "Public domain: works of the US Government (17 U.S.C. 105)",
"license_url": "https://www.law.cornell.edu/uscode/text/17/105",
"source_url": "https://www.ssa.gov/oact/cola/cbb.html",
"attribution_page": "https://apifor.dev/sources",
"notice": "Source: Social Security Administration and 26 U.S.C. 3101/3111. Structured by APIFor; not endorsed by the SSA or IRS. Reference only, not..."
}
}
}200OK400Missing or invalid parameter (refunded)404Country or year not held (refunded)
/v1/social-contributions/calculate2 creditsEmployee and employer contributions on an annual gross wage, with a per-schedule breakdown. A null total means a schedule could not be computed (e.g. levied on taxable income); see breakdown[].reason. 2 credits.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country * | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2 code. Required. Covered countries: GET /v1/social-contributions/coverage |
| year | query | string | Tax year, or latest (default) |
| earnings * | query | string | Annual gross wage in the local currency |
| jkk_risk | query | integer | 1 to 5 · ID only: work-accident risk class 1-5 (default 1) |
curl 'https://api.apifor.dev/v1/social-contributions/calculate?country=&earnings=' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"country": "US",
"year": 2025,
"currency": "USD",
"annual_gross_earnings": 200000,
"employee_contribution": 13818.2,
"employer_contribution": 13818.2,
"employee_rate": 6.91,
"employer_rate": 6.91,
"breakdown": [
{
"id": "US-2025-employee-oasdi",
"payer": "employee",
"program": "oasdi",
"computed": true,
"reason": null,
"amount": 10918.2,
"capped": false
},
{
"id": "US-2025-employee-hi",
"payer": "employee",
"program": "hi",
"computed": true,
"reason": null,
"amount": 2900,
"capped": false
}
],
"assumptions": [
"`earnings` is the annual gross wage of one employee, spread evenly over the year when the schedule uses monthly or weekly earnings.",
"US: FICA only (Social Security up to the year's wage base, Medicare, and the Additional Medicare Tax withheld above USD 200,000). FUTA an..."
]
},
"meta": {
"attribution": {
"source": "Social Security Administration, Office of the Chief Actuary (wage base and FICA rates); 26 U.S.C. 3101, 3111",
"licence": "Public domain: works of the US Government (17 U.S.C. 105)",
"license": "Public domain: works of the US Government (17 U.S.C. 105)",
"license_url": "https://www.law.cornell.edu/uscode/text/17/105",
"source_url": "https://www.ssa.gov/oact/cola/cbb.html",
"attribution_page": "https://apifor.dev/sources",
"notice": "Source: Social Security Administration and 26 U.S.C. 3101/3111. Structured by APIFor; not endorsed by the SSA or IRS. Reference only, not..."
}
}
}200OK400Missing or invalid parameter (refunded)404Country or year not held (refunded)
/v1/social-contributions/coverageFreeCountries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.
curl 'https://api.apifor.dev/v1/social-contributions/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "social-contributions",
"global": false,
"country_param": "required",
"param_name": "country",
"countries": [
{
"country": "AT",
"market": null,
"subdivision_levels": [],
"rows": null,
"updated_at": "2026-11-30",
"sources": [
{
"name": "OECD Tax Database, Tables III.1-III.2 (employee and employer SSC rates)",
"url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_TAX_SSC%40DF_SSC_EMPLOYEE&df[ag]=OECD.CTP.TPS",
"licence": "OECD Terms and Conditions (Data): any purpose including commercial, with credit",
"attribution": "OECD (2025), Tables III.1 and III.2. Employee and employer social security contribution rates, OECD Tax Database"
}
],
"local_fields": [
"local.notes"
],
"notes": "Employee and employer bands (thresholds, rates, maximum contribution, lump sums) from 2015 to the latest OECD year."
},
{
"country": "BE",
"market": null,
"subdivision_levels": [],
"rows": null,
"updated_at": "2026-11-30",
"sources": [
{
"name": "OECD Tax Database, Tables III.1-III.2 (employee and employer SSC rates)",
"url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_TAX_SSC%40DF_SSC_EMPLOYEE&df[ag]=OECD.CTP.TPS",
"licence": "OECD Terms and Conditions (Data): any purpose including commercial, with credit",
"attribution": "OECD (2025), Tables III.1 and III.2. Employee and employer social security contribution rates, OECD Tax Database"
}
],
"local_fields": [
"local.notes"
],
"notes": "Employee and employer bands (thresholds, rates, maximum contribution, lump sums) from 2015 to the latest OECD year."
}
]
}
}200Coverage