pcc-api-key header. There’s no anonymous access to the calculator endpoints. Every response wraps its data in a content object plus a _links object of related URLs (HATEOAS-style navigation).
Running these examplesThe snippets below are
curl commands. Paste one into a terminal and replace yourKey with your key.- Prefer a GUI? Import the ready-made Postman collection, set your key once, and run the requests there instead of using curl.
- Readable output: pipe a response through
jq, e.g.curl … | jq. - On Windows: curl’s line-continuation (
\) and the single-quoted-dbody in step 4 don’t work in Command Prompt. Use PowerShell, WSL, Git Bash, or Postman.
1. Authenticate
Send your key in thepcc-api-key header on every request:
2. Discover the calculators
The call above lists every calculator the API supports, as links under_links:
salary, hourly, grossup, bonus-percent, bonus-agregate, 401k, 403b, finalpay, stockoption, tuition, and taxtip. Two are listed under names that differ from their endpoint paths: bonus-percent maps to /flatbonus, and bonus-agregate maps to /agbonus.
3. Inspect a calculator
Before building a request, follow a calculator’s link to retrieve its accepted fields, defaults, and options:4. Run your first calculation
POST inputs to a calculator endpoint. A minimal salary calculation:
grossPay, grossPayYTD, federalAllowances, and additionalFederalWithholding; send state for a meaningful result. The response returns the calculated taxes and net pay (shape below; values illustrative):
fica is Social Security. For every field and per-state inputs, see Object model and default properties and State field reference.
Next steps
API how-tos
Call patterns, language examples, and reports.
API overview
Base URLs, authentication, and the full endpoint reference.

