ForHosting KIT · Developer Utilities

US vaccine strategy

United States COVID-19 vaccine allocation ranked population groups so scarce first doses reached people with the highest occupational exposure and those at the highest risk of severe disease.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

This US vaccine strategy tool applies the CDC Advisory Committee on Immunization Practices December 2020 phased table: it reads age in years, occupation class, long-term care residence, and whether a high-risk medical condition is present, then returns the assigned priority phase. Age must be a nonnegative integer; a missing, negative, fractional, or non-numeric age fails with invalid_input and is not billed. Occupation, long-term care, and high-risk flags have documented defaults so a lone age still yields a phase. The same isomorphic logic powers the free in-browser widget and the prepaid API at $0.002 per successful item, so classrooms, drills, and product teams pin identical JSON without calling a live government feed.

How to use it

Enter your values in the form above. The tool checks them before calculating and shows the result on the same page.

Check your inputs

Use the labels and units shown next to each field. If something is missing or outside the allowed range, the page points to the field to fix.

Use it again or automate it

Use the browser tool for individual checks and the API when you need the same capability in an automated workflow.

Get an answer now

Enter one set of values and see the result without building a spreadsheet or script.

Compare scenarios

Change one value at a time and rerun the calculation to understand what affects the result.

Automate repeated work

Use the API when the same calculation needs to run inside your product or workflow.

How does the US vaccine strategy tool assign a CDC priority phase?

It ranks age, occupation (healthcare, frontline_essential, other_essential, or none), long-term care residence, and high-risk medical conditions against the CDC ACIP December 2020 COVID-19 allocation table and returns the highest matching phase (1a, 1b, 1c, 2, or 3).

What happens if age is not a nonnegative integer?

The task fails with invalid_input. Age must be a whole number of years from 0 through 120. Missing, negative, fractional, or non-numeric age is not billed.

Which occupations map to which phases?

healthcare is Phase 1a. frontline_essential is Phase 1b. other_essential is Phase 1c. none does not add an occupation group; age and health flags still can. When several groups match, the highest-priority phase is returned.

Does a high-risk condition always assign Phase 1c?

Only for ages 16–64, and only when no higher phase applies. Ages 75 and older are already Phase 1b. Healthcare personnel and long-term care residents remain Phase 1a even with a high-risk condition.

What does the CDC vaccine priority calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/health/us-vaccine-strategy

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/health/us-vaccine-strategy \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"age":42}'
{
  "age": 42
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "health.us_vaccine_strategy",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →