1. Services
  2. Social contributions

Social contributions API

Employee and employer social security contribution rates by country and year, and a calculator that applies them to an annual gross wage.

GET /v1/social-contributions/calculate2 creditsAbout $0.002

Try it

GET/v1/social-contributions/calculate
curl 'https://api.apifor.dev/v1/social-contributions/calculate?country=US&earnings=200000' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "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..."
    }
  }
}

A real response from our OpenAPI file, with long lists and strings shortened.

Endpoints and price

EndpointCreditsAbout
GET /v1/social-contributions1 credit$0.001
GET /v1/social-contributions/calculate2 credits$0.002
GET /v1/social-contributions/coverage (Free)Free$0

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

Coverage today

Austria, Belgium, Canada, Chile, Colombia, Costa Rica, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Indonesia, Ireland, Israel, Italy, Japan, Latvia, Lithuania, Luxembourg, Mexico, Netherlands, Norway, Poland, Portugal, Slovakia, Slovenia, South Korea, Spain, Sweden, Switzerland, Türkiye, United Kingdom and United States.

The country parameter is required.

Sources, row counts and country-only fields per country: GET /v1/social-contributions/coverage, free with your API key. How coverage works

Limits

  • Reduced rates for particular groups are not applied.
  • A schedule levied on taxable income is not computed. Its total is null and breakdown says why.
  • Unemployment insurance outside the national schedules is not included.

Questions

How does the calculator handle monthly ceilings?

It spreads the annual wage evenly over months or weeks, applies each band, then caps at max_contribution.

Where do the rates come from?

The OECD Tax Database and national rules. Each schedule names its regime and legal basis under rules.

Related services

All services