API Terms
Last updated 2026-11-22. These terms apply to the HoursReady API (version 1). They add to the Terms of Service, the Privacy Policy and the Acceptable Use Policy. Where they differ, these API terms apply to the API.
The API is not open yet. We will issue keys first in a private test. Live keys are not issued yet.
Keys
- There are two kinds of key. A test key (it starts with hr_test_) gets real answers within the test limits below, and is never billed. A live key (it starts with hr_live_) is billed under your plan.
- A key is shown once, when it is created. We store only a hash of it. Keep it secret: never put it in a web page, an app others can download, or a public code repository.
- You are responsible for all use of your keys. If a key leaks, tell us at once at support@hoursready.com and we will revoke it. A revoked key stops working within 60 seconds.
- An account can have at most 10 active keys, and create at most 5 keys per hour.
- Each key has scopes: calc:run for calculations, rules:read for rules. A key can do only what its scopes allow.
Limits and quotas
- Test keys: 100 calls per account per UTC day, all its keys together. At most 2 employees and 14 days per calculation. At most 5 calls per second and 60 per minute per key, and 10 per second and 120 per minute per account.
- Live keys: the quotas and limits of your plan, shown when you buy it.
- Every call also has a compute budget. A call that needs more time is answered 503 busy. Send large rosters in parts. Size limits are limits, not a promise that every call within them completes.
- Over a limit, the API answers 429 (rate_limited or quota_exceeded). Retry a 429 or 503 only after the Retry-After time, with backoff. Treat any 5xx answer as a 503.
- Do not get round limits or quotas, for example by spreading calls over extra accounts or keys.
Billing and retries
- Billing applies to live keys only. A calculation is billed by employee-weeks: for each time card, its number of day entries divided by 7 and rounded up, at least 1. A rules read (jurisdictions and rules) is billed per read, as your plan states.
- Only successful answers (2xx) are billed. Error answers (4xx and 5xx) are never billed.
- We record at most one billing row per request. A row may be missing. A row may exist for an answer our server completed but your client did not receive, for example when the connection dropped.
- Send an Idempotency-Key to make a retry free. The same key with the same request and the same version pin, within 24 hours, replays the first answer and is not billed again. The same key with a different request or pin is refused (409 idempotency_key_reused). A key whose first call is still running is refused (409 idempotency_in_progress).
- Idempotency keys work on calculations and on keyed rules reads.
Versions
- Every answer names the engine and rules versions that produced it. You can pin a version pair, and a pinned call returns that pair's answer.
- We serve a version pair for at least 12 months after it stops being current.
- If a version pair is later found to have an error, it keeps answering as before and its answers carry a notice naming the fix. We never change a published answer silently.
- Within version 1, we only add things: new optional fields, new endpoints, and new values in fields documented as open (such as notice and flag codes). Your client must ignore fields and codes it does not know.
- We give at least 12 months' notice before we retire an endpoint or version 1 itself.
Accuracy and the disclaimer
Every answer carries a disclaimer text. Show it to the people who see the result, and never hide it or rely on its exact wording in code. Answers describe rules: they are not legal advice, and HoursReady is not affiliated with the U.S. Department of Labor or any state agency. The accuracy section of the Terms of Service applies to every answer. You are responsible for the payroll decisions you or your customers make with it.
Personal data
- The API needs no personal data. Identify each employee with your own opaque key, such as an internal id. Never use a name, email address, phone number or Social Security number as a key.
- Do not send personal data the API does not ask for. Fields such as names and dates of birth are refused.
- Request contents are used to answer and then dropped. What we keep about each request is described in the Privacy Policy.
Your use of the API
- You may build the API into your own products and offer the results to your customers.
- Tell your customers that results describe rules and are not legal advice, and show the disclaimer.
- Do not use the API to build a copy of the HoursReady Rules Library or calculation engine.
- Do not say or suggest that HoursReady endorses your product, unless we agree in writing.
Suspension and changes
We may suspend or revoke keys that break these terms or the Acceptable Use Policy, or that put the service at risk. Where we reasonably can, we will tell you first. We may update these terms; we will change the date at the top and tell key owners about important changes before they apply.
Contact
Email support@hoursready.com.