OmniaExpress Docs Test mode API status Dashboard

Documentation

Calculate US payroll taxes with one JSON call. 14-day free trial, then $0.08 per paycheck calculation, pay as you go.

QuickstartcURL
curl https://omniatax.io/v1/paycheck \
  -H "Authorization: Bearer $OMNIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d @paycheck.json

// 200 OK, amounts in cents
{ "result": { "grossPay": 140000, "netPay": 112965, … } }

paycheck.json is the request body shown under POST /v1/paycheck. The console runs the same case, and seven others, from its examples menu.

Making requests

POST JSON to /v1/paycheck with Authorization: Bearer and Content-Type: application/json. A successful body is { "result": { … } }. Amounts are integer cents.

Authentication

Keys are shown once, stored as a hash, and sent as a bearer token. A live key starts with sk_live_ and needs a card on file. A test key starts with sk_test_, needs only a verified account that has accepted the terms, and is free: it is never billed and is not counted in your usage. Both run the same engine and the same data and return real calculations. A test key is held to 30 requests per minute and 500 per day (UTC), and expires after 90 days; a live key has no daily cap. Create either from the console; a new key replaces the previous key of the same kind and never the other kind. An older sk_test_ key from before test keys existed is no longer accepted and returns 401 key_not_accepted. Every response from an accepted key includes Omnia-Mode: live or Omnia-Mode: test.

14-day free trial, then $0.08 per paycheck calculation, pay as you go.

Money and rounding

Every money field on the request and the response is an integer number of cents. Do not send dollars. A line whose detail says it is not modelled returns amount 0, which is not the same as a calculated zero.

Rate limits

Calls are limited per key. When the limit is hit the response is 429 with code rate_limited and a Retry-After header, in seconds. The default limit is 120 requests per minute.

Versioning and dates

checkDate (YYYY-MM-DD) selects the tax year. Rules are effective-dated. Send year-to-date wages in ytd so wage-base taxes stop at the right dollar.

Earning

{ code, category, amount }. amount is cents. category is regular or supplemental.

Deduction

{ code, category, amount }. Categories include deferral_401k and section125. Pretax and posttax are distinguished by category.

FederalW4

filingStatus (single, married_joint, married_separate, head_of_household), multipleJobs, dependentCredit, otherIncome, deductions, extraWithholding. Credit and dollar fields are cents.

YearToDate

socialSecurity, medicare, and futa wages in cents, for the employee so far this year. They cap Social Security, Additional Medicare, and FUTA.

StateWithholding

workState is { code, certificate }. Pennsylvania local tax uses workPSD and residencePSD. Ohio cities use workCity and residenceCity. A second state can be sent as residenceState.

PaycheckResult

grossPay, pretaxDeductions, posttaxDeductions, taxes[] with id, name, payer, jurisdiction, taxableWages, amount, detail, employeeTaxTotal, employerTaxTotal, netPay, plus notices and warnings when an input needs a second look.

POST /v1/paycheck/compare

Two paychecks and what moved between them. Send before and either after, a full second request, or change, only the fields that differ, merged onto before. Both are validated and calculated exactly as POST /v1/paycheck does. The explanation is built by applying each input difference to before one at a time and re-running the engine, so every figure is an engine result and the steps add up to the whole difference. When changes interact, another order can split the credit differently; the total does not change. Billed as two paychecks when it succeeds, nothing when it is refused.

Pension, annuity and IRA payments

Add a pension object to POST /v1/paycheck (also to /v1/paycheck/compare, /v1/paycheck/gross-up, /v1/payCalc and the MCP tools) and the payment is withheld as the payer must: no Social Security, Medicare or unemployment tax. earnings is the payment, and federalW4 and ytd are not needed. pension.kind is periodic (Form W-4P, Pub 15-T Worksheet 1B, with w4p for the payee's entries), nonperiodic (Form W-4R, 10% unless the payee chose another rate) or eligible_rollover (Form W-4R, 20% unless the payee chose a higher rate, with w4r.withholdingRate). Send taxableAmount when only part of the payment is taxable. The response has the federal line US_FIT_PENSION.

State withholding. The payee's own state withholds, so send it as residenceState (or workState) and, if the payee told the payer anything, pension.stateElection (none, percent, amount, additionalAmount, the payee's state certificate, Iowa's retirementExclusion). With no election, each state's own default applies: some withhold unless the payee opts out, some only when asked. A choice the state does not allow is refused with the reason. Send pension.entireAccountBalance for a lump sum that closes out the account. A state line XX_PENSION_SIT is returned for the states listed on state pension withholding, each read from that state's revenue agency; every other state returns no state line and a warning, never a zero that looks like a result. Local withholding on pension payments is not calculated. Periodic payments can be monthly, semimonthly, biweekly, weekly or daily; 2026 rules.

POST /v1/paycheck/gross-up

Net to gross. Send a paycheck request plus grossUp: { targetNetPay, earningIndex } and the engine finds the amount of that earning (the first by default; the amount you send there is ignored) that leaves the employee the take-home pay you asked for, in cents. It runs the real engine on candidate amounts, so the answer is an engine result. The response has the amount found, a request with it filled in, and the paycheck. Where a tax step skips the exact target, you get the smallest amount that reaches it, with exact: false and how many cents over. Billed as one paycheck.

POST /v1/employer-taxes

Employer taxes charged on a quarter's total payroll rather than on one paycheck: the New York MCTMT (mctmt, by zone) and the Nevada Modified Business Tax (nevadaMbt). Send quarter as 2026-Q2 and the payroll in integer cents. MCTMT is nothing at or under $312,500 of payroll expense across both zones, and otherwise each zone's whole payroll expense is charged at the rate of the bracket it falls in; the calculation reproduces the state's own worked example. The Nevada MBT is 1.17% of general-business wages over the $50,000 quarterly exemption, after employer-paid health benefits, and has no exemption for financial institutions and mining. MCTMT covers quarters 2025-Q3 to 2026-Q4, the Nevada MBT 2023-Q3 to 2026-Q4, and local government employers' MCTMT rules are not applied. An estimate for planning and accruals; the state return is the filing. Not charged.

MCP server

Point an AI assistant or agent at https://omniatax.io/mcp with the same bearer key. It speaks the Model Context Protocol over streamable HTTP and offers six tools: calculate_paycheck, compare_paychecks, gross_up, employer_taxes, lookup_address and coverage. A call is recorded and billed like the REST endpoint it matches: one paycheck (also for gross_up), two for a comparison, none for an employer-tax estimate, an address lookup or coverage. A refused call is not billed. It takes one message per request, no batches, and there is no server-initiated stream.

POST /v1/address

Send a work address and, when you have it, a home address. The response includes a workState certificate you can reuse. Address lookups are not charged; only the paycheck calculation is.

GET /v1/states

Lists state codes the engine will calculate for the requested year.

GET /v1/me

Describes the key: mode (live or test), whether it is billed, its limits, and how many calls it has made today.

GET /v1/health

Returns ok when the API process is up.

Errors

StatusCodeMeaning
400invalid_jsonThe body is not valid JSON.
401missing_keyNo API key was sent.
401invalid_keyThe key is wrong or inactive.
401key_not_acceptedThis key is no longer accepted. Sign in and issue a new API key.
401expired_keyThe key passed its expiry date.
402payment_method_requiredNo card or bank account on file.
402subscription_cancelledThe subscription was cancelled. Start a new one in the console.
402account_suspendedA payment failed and the key is paused. Update the payment method.
422invalid_inputThe body failed validation. See details.
422unsupported_tax_yearNo rules for the year of checkDate.
422cannot_computeThe input is valid but the engine cannot compute it, for example a missing certificate field. The message says which.
429rate_limitedToo many requests this minute. Retry later.
429test_daily_limitA test key reached its requests for the day (UTC). Retry-After is the seconds until it resets. A live key has no daily cap.

Pricing

14-day free trial, then $0.08 per paycheck calculation, pay as you go. A card is required at signup. Usage during the trial is recorded and is not charged. Each successful paycheck calculation is one charge. A calculation that does not succeed is not charged. Minimum wage and garnishment checks on the same paycheck are included. An address lookup is not a paycheck charge. There is no per-employee price and no minimum term.

Sign in to see this account’s trial. Sign in

Stuck? Email support@omniatax.io with the requestId from the response.