API Documentation
Reference for authenticating and integrating with the NOF1 Policy API.
Policy API
v1Programmatic access to payer coverage policies. Search by name, CPT code, payer, or LCD reference, and retrieve full policy details including coverage criteria and coding requirements.
The NOF1 Policy API gives your systems direct access to the same payer policy intelligence used in the NOF1 platform. Use it to power clinical decision support tools, automate prior authorization workflows, or build policy-aware analytics.
Authentication
All requests must include a valid API key as a Bearer token in the Authorization header. API keys are scoped to your organization and should be treated as secrets. Do not expose them in client-side code or commit them to version control.
Authorization: Bearer nof1_live_<your_api_key>
Requests without a valid token will receive a 401 response.
Base URL & Versioning
All endpoints are versioned under /v1. Breaking changes will be released under a new version prefix with advance notice.
All request and response bodies use JSON. Include Content-Type: application/json on any requests with a body.
Pagination
List endpoints return paginated results. Pass page and per_page query parameters to navigate through results. The response envelope includes a meta object with total counts.
{
"data": [ ... ],
"meta": {
"total": 142,
"page": 1,
"per_page": 20,
"total_pages": 8
}
}| Parameter | Type | Description | |
|---|---|---|---|
| page | integer | Page number to return. Default: 1. | |
| per_page | integer | Results per page. Default: 20. Maximum: 100. |
Result Ordering
When q is supplied (3 characters or more), Search Policies returns results in relevance order, most relevant first. Relevance is scored on where the match occurred: the policy name is weighted most heavily (an adjacent phrase match on the name highest of all), followed by drug names, procedure codes, taxonomy, and summary. Coverage-criteria text is searched for recall but does not raise a policy's rank.
A policy must match roughly two-thirds of your query terms to be returned at all. For one- and two-word queries every term must match; longer queries are treated more leniently, so a single unusual word will not exclude an otherwise relevant policy.
q. Requests that filter only (by cpt_code, payer_id, lcd_id, drug, or policy_type) have no relevance signal to sort on and are returned in an unspecified order. That order is not guaranteed to be stable across requests, so a policy may in rare cases appear on two pages or none while you are paging through a filter-only result set. If you need to enumerate a filter-only set exhaustively, de-duplicate the collected id values, or add a q term to get a stable relevance ordering.Rate Limits
Rate limits are applied per API key. Exceeded limits return a 429 response. Use the response headers to monitor your usage.
| Header | Type | Description | |
|---|---|---|---|
| X-RateLimit-Limit | Maximum requests allowed per minute. | ||
| X-RateLimit-Remaining | Requests remaining in the current window. | ||
| X-RateLimit-Reset | Unix timestamp when the window resets. | ||
| Retry-After | Seconds to wait before retrying (only present on 429 responses). |
Errors
NOF1 uses standard HTTP status codes. Error responses include a machine-readable code and a human-readable message.
{
"error": {
"code": "invalid_query",
"message": "At least one search parameter is required.",
"param": "q"
}
}| Status | Code | Description |
|---|---|---|
| 400 | invalid_query | A query parameter is missing, malformed, or out of range. |
| 401 | unauthorized | API key is missing, invalid, or revoked. |
| 404 | not_found | The requested policy or resource does not exist. |
| 429 | rate_limited | Too many requests. Slow down and retry after Retry-After seconds. |
List Payers
Returns NOF1's directory of supported payers: the curated payer taxonomy used across clinical and prior-auth workflows, not a live scan of indexed policies.
payer_id to filter on depends on which endpoint you're calling and on line of business. The same payer is frequently tracked under different payer_id values for clinical policy data versus prior-auth data, and those can differ per line of business too (e.g. Aetna's Medicare Advantage payer_id is aetna_medicare for clinical but Aetna-MA for prior auth). Use payer_ids.clinical.<lob> when searching policies or calling Get Policy, and payer_ids.prior_auth.<lob> when checking prior authorization. The top-level id is a stable NOF1 payer identifier (matches payer_key from Match Payer to NOF1 Payer). Don't use it as a payer_id filter value.Query Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| lob | string | Filter to payers supported on this line of business. One of: commercial, medicare. | |
| page | integer | Page number. Default: 1. | |
| per_page | integer | Results per page. Default: 20. Maximum: 100. |
Example Request
curl "https://api.nofone.io/payers?lob=commercial" \ -H "Authorization: Bearer nof1_live_<your_api_key>"
Example Response 200
{
"data": [
{
"id": "aetna",
"name": "Aetna",
"lines_of_business": ["commercial", "medicare"],
"is_um_vendor": false,
"payer_ids": {
"clinical": { "commercial": "aetna", "medicare": "aetna_medicare" },
"prior_auth": { "commercial": "aetna", "medicare": "Aetna-MA" }
}
},
{
"id": "carelon",
"name": "Carelon",
"lines_of_business": ["commercial", "medicare"],
"is_um_vendor": true,
"payer_ids": {
"clinical": { "commercial": "Carelon", "medicare": "Carelon" },
"prior_auth": {}
}
},
{
"id": "premera",
"name": "Premera",
"lines_of_business": ["commercial"],
"is_um_vendor": false,
"payer_ids": {
"clinical": { "commercial": "Premera" },
"prior_auth": { "commercial": "Premera" }
}
}
],
"meta": {
"total": 3,
"page": 1,
"per_page": 20,
"total_pages": 1
}
}Notes
is_um_vendor is true for utilization-management vendors (e.g. Carelon, EviCore, Cohere) that process authorizations on behalf of one or more payers, rather than being a health plan themselves.
A payer_ids.clinical or payer_ids.prior_auth object can be missing a line of business, or be empty entirely (e.g. Carelon has no prior_auth entry above). That means NOF1 doesn't track a payer_id for that payer under that workflow/LOB, not that the lookup failed.
Match Payer to NOF1 Payer
Resolves free-text payer names from your own systems (e.g. from an eligibility feed or a manually entered payer field) to the corresponding NOF1 payer. Matching runs in three passes per query: exact name/alias match, partial token match, and (when neither finds a candidate) a semantic embedding match. If multiple payers tie for the best match, the query comes back ambiguous with all tied candidates instead of guessing.
Request Body
| Field | Type | Description | |
|---|---|---|---|
| queries | array | required | Payer name strings to resolve, one result returned per entry in the same order. Minimum 1, maximum 25. |
| lob | string | Restrict candidates to payers supported on this line of business. One of: commercial, medicare. Omit to match across both. |
Example Request
curl -X POST "https://api.nofone.io/payers/match" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"queries": ["Premera", "Blue Cross"],
"lob": "commercial"
}'Example Response 200
{
"data": [
{
"query": "Premera",
"matched": true,
"match_type": "exact",
"payer_key": "premera",
"payer": {
"display_name": "Premera",
"is_um_vendor": false,
"clinical": { "lines_of_business": { "Commercial": { "payer_id": "Premera" } } },
"prior_auth": { "lines_of_business": { "Commercial": { "payer_id": "Premera", "prior_auth_display": "Premera (C)" } } }
}
},
{
"query": "Blue Cross",
"matched": false,
"ambiguous": true,
"candidates": [
{
"match_type": "partial",
"payer_key": "bcbsma",
"payer": {
"display_name": "BCBSMA",
"is_um_vendor": false,
"clinical": { "lines_of_business": { "Commercial": { "payer_id": "BCBSMA" } } },
"prior_auth": null
}
},
{
"match_type": "partial",
"payer_key": "bcbsnc",
"payer": {
"display_name": "BCBSNC",
"is_um_vendor": false,
"clinical": { "lines_of_business": { "Commercial": { "payer_id": "BCBSNC" }, "Medicare Advantage": { "payer_id": "BCBSNC-MA" } } },
"prior_auth": { "lines_of_business": { "Commercial": { "payer_id": "BCBSNC", "prior_auth_display": "BCBSNC (C)" } } }
}
}
]
}
]
}Notes
Each result has one of three shapes: matched: true with a single payer; matched: false, ambiguous: true with a candidates array (as above); or matched: false, ambiguous: false with an empty candidates array when nothing matched at all. match_type is one of exact, partial, or semantic, reflecting which matching pass produced the result.
Search Policies
Returns a paginated list of policies matching the provided search criteria. lob is required; at least one additional search parameter must also be provided.
Query Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| lob | string | required | Line of business. One of: commercial, medicare, medicaid, aca, or all (all searches across every line of business). |
| state | string | US state, as a 2-letter code or full name (OH, Ohio), or all. Narrows state-specific (Medicaid) policies to ones that apply in that state: the payer must operate there, and the policy must list the state or apply everywhere the payer operates. Policies from lines of business that are not state-specific are unaffected. | |
| q | string | Free-text search across policy name, summary, taxonomy, procedure codes, coverage-criteria text, and drug names. Results are returned in relevance order; see Result Ordering. Terms shorter than 3 characters fall back to a basic keyword match. Example: spinal cord stimulation. | |
| cpt_code | string | Filter to policies that reference this CPT code. Example: 63650. Can be supplied multiple times to OR across codes. | |
| payer_id | string | Filter to policies from a specific payer. Use a value from payer_ids.clinical.<lob> in the List Payers response, not its top-level id. | |
| lcd_id | string | Filter to policies that reference a specific LCD (Local Coverage Determination). Example: L37254. | |
| drug | string | Filter to policies covering a given drug. Matched case-insensitively against the start of each name NOF1 holds for a covered drug: its drug, brand and generic names plus the brand/generic synonyms NOF1 adds, so a brand name also matches policies that only name the generic, and vice versa. A partial name matches from its beginning (semaglu finds semaglutide); text from the middle of a name does not. Applied as a filter, not a relevance term; combine with q to rank within the matched set. Example: Humira. | |
| policy_type | string | Restrict results by policy type. One of: pharmacy (policies that govern at least one drug), medical (all other policies), any. Default: any. | |
| page | integer | Page number. Default: 1. | |
| per_page | integer | Results per page. Default: 20. Maximum: 100. |
Example Request
curl "https://api.nofone.io/policies?lob=commercial&cpt_code=63650&payer_id=pyr_premera&per_page=10" \ -H "Authorization: Bearer nof1_live_<your_api_key>"
Example Response 200
{
"data": [
{
"id": "a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f",
"name": "Spinal Cord Stimulation",
"payer": {
"id": "pyr_premera",
"name": "Premera Blue Cross"
},
"line_of_business": "commercial",
"lines_of_business": ["commercial"],
"effective_date": "2024-01-01",
"last_updated": "2024-11-15",
"cpt_codes": ["63650", "63655", "63661", "63662"],
"lcds_referenced": ["L37254"],
"is_drug_policy": false,
"is_primarily_drug_policy": false,
"drugs": []
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 10,
"total_pages": 1
}
}Get Policy
Returns the full details of a single policy: main fields, coding (CPT/HCPCS codes and coverage), criteria (clinical services and medical-necessity logic), and drug coverage (populated when the policy governs a drug). This single endpoint replaces the former separate /criteria, /coding, and /drugs endpoints, which have been removed.
Path Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| policy_id | string | required | The UUID of the policy (e.g. a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f). |
Example Request
curl "https://api.nofone.io/policies/a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f" \ -H "Authorization: Bearer nof1_live_<your_api_key>"
Example Response: Clinical Policy 200
A non-drug policy: criteria.services carries the medical-necessity logic tree per service, and drug_coverage is an empty array.
{
"id": "a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f",
"name": "Spinal Cord Stimulation",
"payer": {
"id": "pyr_premera",
"name": "Premera Blue Cross"
},
"line_of_business": "commercial",
"lines_of_business": ["commercial"],
"effective_date": "2024-01-01",
"last_updated": "2024-11-15",
"url": "https://www.premera.com/medicalpolicies/8.01.004.pdf",
"lcds_referenced": [
{
"id": "L37254",
"title": "Spinal Cord Stimulation",
"contractor": "Noridian Healthcare Solutions",
"url": "https://www.cms.gov/medicare-coverage-database/details/lcd-details.aspx?LCDId=37254"
}
],
"is_drug_policy": false,
"is_primarily_drug_policy": false,
"coding": {
"cpt_codes": [
{ "code": "63650", "description": "Percutaneous implantation of neurostimulator electrode array, epidural", "covered": true, "notes": null },
{ "code": "63655", "description": "Laminectomy for implantation of neurostimulator electrodes, plate/paddle", "covered": true, "notes": null },
{ "code": "63661", "description": "Removal of spinal neurostimulator electrode percutaneous array", "covered": true, "notes": null }
],
"hcpcs_codes": [
{ "code": "E0756", "description": "Implanted spinal cord neurostimulator, pulse generator", "covered": true, "notes": null }
]
},
"criteria": {
"services_count": 2,
"covered_services_count": 1,
"excluded_services_count": 1,
"services": [
{
"service_name": "Spinal cord stimulation for chronic intractable pain",
"is_medically_necessary": true,
"med_nec_tree": {
"node_type": "head",
"type": "AND",
"children": [
{
"node_type": "leaf",
"condition": "Chronic intractable pain of the trunk or limbs not responsive to at least 6 months of conventional medical management"
},
{
"node_type": "head",
"type": "OR",
"children": [
{ "node_type": "leaf", "condition": "Failed back surgery syndrome with predominant leg pain" },
{ "node_type": "leaf", "condition": "Complex regional pain syndrome (CRPS) Type I or II" }
]
},
{
"node_type": "leaf",
"condition": "Successful trial stimulation period of at least 3 days demonstrating at least 50% pain relief"
}
]
}
},
{
"service_name": "Spinal cord stimulation for failed back surgery syndrome with predominant back pain",
"is_medically_necessary": false,
"med_nec_tree": null
}
]
},
"drug_coverage": []
}Example Response: Drug Policy 200
A drug policy: is_drug_policy is true and drug_coverage carries the per-drug utilization-management requirements.
{
"id": "b7d2e410-93cf-4a11-8c02-5d7e9f0a1b23",
"name": "Adalimumab (Humira and Biosimilars)",
"payer": {
"id": "pyr_aetna",
"name": "Aetna"
},
"line_of_business": "commercial",
"lines_of_business": ["commercial"],
"effective_date": "2024-03-01",
"last_updated": "2024-10-02",
"url": "https://www.aetna.com/policies/adalimumab.pdf",
"lcds_referenced": [],
"is_drug_policy": true,
"is_primarily_drug_policy": true,
"coding": {
"cpt_codes": [],
"hcpcs_codes": [
{ "code": "J0135", "description": "Injection, adalimumab, 20 mg", "covered": true, "notes": null }
]
},
"criteria": {
"services_count": 1,
"covered_services_count": 1,
"excluded_services_count": 0,
"services": [
{
"service_name": "Adalimumab for moderate to severe rheumatoid arthritis",
"is_medically_necessary": true,
"med_nec_tree": {
"node_type": "head",
"type": "AND",
"children": [
{ "node_type": "leaf", "condition": "Diagnosis of moderately to severely active rheumatoid arthritis" },
{ "node_type": "leaf", "condition": "Trial and failure of at least one conventional DMARD for a minimum of 3 months" }
]
}
}
]
},
"drug_coverage": [
{
"drug_name": "Adalimumab",
"drug_type": "biologic",
"brand_names": ["Humira", "Amjevita", "Hyrimoz"],
"generic_names": ["adalimumab-atto", "adalimumab-adaz"],
"indication": "Moderate to severe rheumatoid arthritis",
"fda_label_ids": ["BLA125057"],
"ndc_codes": ["00074-3799-02"],
"drug_requirements": [
"Diagnosis of moderately to severely active rheumatoid arthritis",
"Prescribed by or in consultation with a rheumatologist",
"Negative tuberculosis screening within the previous 12 months"
],
"step_therapy": [
"Trial and failure of at least one conventional DMARD (methotrexate, leflunomide, or sulfasalazine) for a minimum of 3 months"
],
"preferred_alternatives": ["Amjevita", "Hyrimoz"],
"specialty_requirements": ["Must be dispensed through a contracted specialty pharmacy"],
"dosage_requirements": ["40 mg subcutaneously every other week; maximum 2 syringes per 28 days"]
}
]
}Notes
Each element of a drug_coverage requirement array is a separate condition that must all be met. Alternatives within a single condition ("one of the following", "either/or") are preserved inside a single array element, so a single string may itself express a choice. Policies that don't govern any drug return is_drug_policy: false and an empty drug_coverage array. Always check is_drug_policy rather than array length alone.
Prior Authorization Check
Checks whether prior authorization is required for a set of CPT codes under a given payer and line of business. Returns a per-code determination along with the relevant policy and any documentation requirements. Accepts up to 10 CPT codes per request.
Request Body
| Field | Type | Description | |
|---|---|---|---|
| payer_id | string | required | The payer to check against. Use a value from payer_ids.prior_auth.<lob> in the List Payers response, not its top-level id. |
| cpt_codes | array | required | List of CPT code strings to check. Minimum 1, maximum 10. |
| lob | string | Line of business. One of: commercial, medicare, medicaid, or aca. Defaults to commercial. | |
| state | string | Required when lob is medicaid, and not accepted otherwise. Medicaid prior-auth rules differ by state. Pass a US state (2-letter code or full name) for that state's answer, or all for every state at once. Each result then also carries states, all_states (true when that is every state this payer operates in, never "all 50") and, for a single state, payer_operates_in_state. A state outside the payer's footprint returns prior_auth_required: false with payer_operates_in_state: false. |
Example Request
curl -X POST "https://api.nofone.io/prior-auth/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"payer_id": "pyr_premera",
"lob": "commercial",
"cpt_codes": ["63650", "63685", "95972"]
}'Example Response 200
{
"payer_id": "pyr_premera",
"lob": "commercial",
"results": [
{
"cpt_code": "63650",
"description": "Percutaneous implantation of neurostimulator electrode array, epidural",
"prior_auth_required": true,
"policies": [
{
"policy_id": "a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f",
"policy_name": "Spinal Cord Stimulation",
"policy_url": "https://www.premera.com/medicalpolicies/8.01.004.pdf"
}
]
},
{
"cpt_code": "63685",
"description": "Insertion or replacement of spinal neurostimulator pulse generator or receiver",
"prior_auth_required": true,
"policies": [
{
"policy_id": "a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f",
"policy_name": "Spinal Cord Stimulation",
"policy_url": "https://www.premera.com/medicalpolicies/8.01.004.pdf"
},
{
"policy_id": "b7e2d38f-8c5e-4f9b-a03d-2b3c4d5e6f7a",
"policy_name": "Implantable Neurostimulators for Pain",
"policy_url": "https://www.premera.com/medicalpolicies/7.01.125.pdf"
}
]
},
{
"cpt_code": "95972",
"description": "Electronic analysis of implanted neurostimulator pulse generator",
"prior_auth_required": false,
"policies": []
}
]
}List Formulary Plans
Lists the formulary plans NOF1 has for a payer across Medicare Advantage, commercial and ACA marketplace, so you can see which plans exist and how they're identified: plan_key, the Medicare contract and plan number, or the ACA HIOS plan IDs. Sources: CMS Part D formulary files and CMS Monthly Enrollment by Contract (Medicare Advantage; the payer comes from the contract's parent organization); payers' published drug lists (commercial); CMS machine-readable QHP files (ACA, HealthCare.gov states).
plan_key, a HIOS plan ID, or a state.Query Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| payer_id | string | required | Universal payer ID from GET /v1/payers (the top-level id), e.g. humana. |
| lob | string | One of medicare, commercial, aca. Omit to list all three. | |
| state | string | Two-letter state code, e.g. NE. Case-insensitive. Medicare Advantage and ACA only, since their states come from CMS files. Rejected with lob=commercial: commercial employer plans have no reliable state. | |
| limit | integer | Plans per page. Default: 50. Maximum: 200. | |
| offset | integer | Number of plans to skip. Default: 0. |
Example Request
curl "https://api.nofone.io/v1/formulary/plans?payer_id=humana&lob=medicare&state=NE&limit=1" \ -H "Authorization: Bearer nof1_live_<your_api_key>"
Example Response 200
{
"payer_id": "humana",
"lob": "medicare",
"state": "NE",
"total": 5,
"limit": 1,
"offset": 0,
"plans": [
{
"plan_key": "medicare:H0028-053",
"lob": "medicare",
"plan_name": "Humana Gold Plus H0028-053 (HMO)",
"plan_year": null,
"states": ["IA", "NE"],
"contract_id": "H0028",
"plan_id": "053",
"drug_count": null,
"data_loaded_on": "2026-11-17"
}
]
}Example Plans (Commercial and ACA)
{
"plan_key": "commercial:anthem:anthem-national-4-tier",
"lob": "commercial",
"plan_name": "Anthem National 4-Tier",
"plan_year": null,
"states": [],
"is_default": true,
"drug_count": 5213,
"data_loaded_on": "2026-11-17"
}
{
"plan_key": "aca:anthem:aca-2027-fl-wellpoint-44228-flf501-flf529-10-formulary-ids",
"lob": "aca",
"plan_name": "ACA 2027 FL Wellpoint (44228) FLF501..FLF529 (10 formulary ids)",
"plan_year": 2027,
"states": ["FL"],
"hios_plan_ids": ["44228FL0040001", "44228FL0040002"],
"market": "individual",
"drug_count": 3584,
"data_loaded_on": "2026-11-17"
}Response Fields
| Field | Type | Description | |
|---|---|---|---|
| payer_id, lob, state | string | null | The filters you sent. lob and state are null when omitted; state is upper-cased. | |
| total, limit, offset | integer | total is the number of plans matching the filters, across all pages. | |
| plan_key | string | NOF1's stable ID for the plan, prefixed by its line of business, e.g. medicare:H0028-053. | |
| lob | string | "medicare", "commercial" or "aca". | |
| plan_name | string | null | Medicare Advantage: CMS plan name. Commercial: name of the payer's drug list. ACA: a label built from the plan year, state, issuer and formulary IDs. | |
| plan_year | number | null | Plan year, when the source gives one (ACA). | |
| states | array | States the plan is sold in. Always empty for commercial. | |
| contract_id, plan_id | string | Medicare Advantage only: the CMS contract and plan number, as sent to Drug Check - Formulary. | |
| hios_plan_ids | array | ACA only: the 14-character HIOS plan IDs that use this formulary. | |
| market | string | null | ACA only: "individual" or "small_group". | |
| is_default | boolean | Commercial only: true for the plan Drug Check - Formulary answers from when you send only payer_id. | |
| drug_count | number | null | Number of drugs on the plan's list, when known. | |
| data_loaded_on | string | null | When NOF1 last loaded the source data for the plan. |
Notes
Plans are ordered by line of business, then the commercial default first, then by name. A known payer with no plans for the filters returns total: 0 and an empty plans array. When lob is omitted, state leaves out commercial plans, since they have no states.
An unknown payer_id, a lob other than the three above (e.g. medicaid), state with lob=commercial, or an out-of-range limit/offset returns 400 invalid_query, with param naming the field. Medicare Advantage listings (lob=medicare) are available to all API keys, including trial keys; commercial and ACA listings, and listings without lob, are limited for trial keys to the payers enabled for that key (403 otherwise).
Drug Check - Formulary
Checks whether drugs are on a plan's formulary, and if so their tier and whether they need prior authorization, step therapy, or have a quantity limit. Name the payer with payer_id, the line of business with lob (Medicare Advantage, commercial or ACA marketplace), and the plan with plan, using the identifiers from List Formulary Plans. Name drugs by NDC, RxNorm RXCUI, or both. Accepts up to 10 codes per request. Sources: CMS Part D formulary files (Medicare Advantage); payers' published drug lists (commercial); CMS machine-readable QHP files (ACA, HealthCare.gov states).
lob: "medicare" needs plan: { contract_id, plan_id } (or a plan_key): a payer has many Medicare plans, each with its own formulary. The contract must belong to payer_id, or the check returns 404. Contracts must start with H or R; standalone Part D plans (S contracts) are rejected. This covers the pharmacy (Part D) benefit. Physician-administered drugs billed under the medical benefit (Part B, HCPCS J-codes) are checked with Prior Authorization Check. The older request, with contract_id + plan_id at the top level and no payer_id, still works unchanged.lob. Without plan, the check answers from the payer's default drug list (plan.selected_by: "default") and returns available_plans, the number of commercial plans NOF1 has for the payer; name another with plan: { plan_key }. NOF1 maps each drug list to NDCs and RXCUIs. See Commercial matching in the Notes below.plan: { hios_plan_id } or plan: { plan_key }, or send only state when the payer has one ACA formulary in that state.Request Body
| Field | Type | Description | |
|---|---|---|---|
| payer_id | string | required | Universal payer ID from GET /v1/payers, e.g. humana. Required except in the older Medicare request (top-level contract_id + plan_id, below). |
| lob | string | commercial (default), medicare or aca. A plan_key implies its lob; a lob that contradicts it returns 400 (param: "lob"). | |
| plan | object | The plan to check, as one of: { plan_key } for any lob; { contract_id, plan_id } for medicare; { hios_plan_id } for aca. Required for medicare. Optional for commercial (the payer's default plan) and for aca when you send state. | |
| plan.plan_key | string | NOF1's plan ID from List Formulary Plans, e.g. commercial:anthem:anthem-national-4-tier. Must be a plan of payer_id (404 otherwise). | |
| plan.contract_id, plan.plan_id | string | Medicare: CMS contract ID (H or R followed by 4 digits, e.g. H0028; case-insensitive) and plan number within the contract (e.g. 007; leading zeros are optional). Each plan has exactly one formulary, so the answer is specific to that plan. | |
| plan.hios_plan_id | string | ACA: 14-character HIOS plan ID, e.g. 44228FL0040001. Dashes are allowed (44228-FL-004-0001); a 16-character plan variant ID is cut to its first 14 characters. | |
| state | string | ACA only: two-letter state code, case-insensitive. Without plan, the check answers from the payer's ACA formulary in that state when it has exactly one. Several return 400 with error.available_plans (plan_key, plan_name) to choose from; none returns 404. Rejected for commercial (400, param: "state"). | |
| ndc_codes | array | NDCs to check. Send 11 digits (00169450114) or a hyphenated form: 4-4-2, 5-3-2, 5-4-1 or 5-4-2. A 10-digit NDC without hyphens is rejected because it's ambiguous which segment to pad. | |
| rxcuis | array | RxNorm concept IDs to check, e.g. 259255. Must be drug-level concepts (clinical drug, branded drug, or pack: RxNorm term types SCD, SBD, GPCK, BPCK), which is what formularies list. An ingredient-only RXCUI such as 83367 (atorvastatin) is never on a formulary and returns on_formulary: false. Send at least one code in ndc_codes and/or rxcuis; at most 10 across both. | |
| contract_id, plan_id | string | Older Medicare. The older Medicare Advantage request: send these at the top level, without payer_id, in the same formats as plan.contract_id and plan.plan_id. Sent together with payer_id they return 400 (param: "payer_id"); use plan instead. |
Example Request (ACA, by state)
curl -X POST "https://api.nofone.io/v1/formulary/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"payer_id": "centene",
"lob": "aca",
"state": "TX",
"rxcuis": ["2398842", "861007"]
}'Example Response (ACA, by state) 200
{
"market": "aca",
"payer_id": "centene",
"lob": "aca",
"state": "TX",
"payer_name": "Centene",
"plan_name": "ACA 2027 AL..TX (8 states) Ambetter of North Carolina (29418..99723 (9 issuers)) ALF001..TXF009 (84 formulary ids)",
"plan": {
"plan_key": "aca:centene:aca-2027-al-tx-8-states-ambetter-of-north-carolina-29418-997-e0f13277",
"plan_name": "ACA 2027 AL..TX (8 states) Ambetter of North Carolina (29418..99723 (9 issuers)) ALF001..TXF009 (84 formulary ids)",
"plan_year": 2027,
"selected_by": "state",
"hios_plan_ids": ["29418TX0140049", "29418TX0140064", "87226TX0060009"],
"states": ["AL", "IA", "MI", "MO", "NC", "OH", "OK", "TX"]
},
"data_loaded_on": "2026-11-17",
"results": [
{
"ndc": null,
"ndc11": null,
"rxcui": "2398842",
"drug_name": "3 ML semaglutide 1.34 MG/ML Pen Injector [Ozempic]",
"formulary_drug_name": "3 ML SEMAGLUTIDE 1.34 MG/ML PEN INJECTOR [OZEMPIC]",
"on_formulary": true,
"tier": 3,
"tier_label": "PREFERREDBRAND",
"prior_auth_required": false,
"step_therapy": false,
"quantity_limit": true,
"matched_on": "rxcui"
},
{
"ndc": null,
"ndc11": null,
"rxcui": "861007",
"drug_name": "metformin hydrochloride 500 MG Oral Tablet",
"formulary_drug_name": "METFORMIN HYDROCHLORIDE 500 MG ORAL TABLET",
"on_formulary": true,
"tier": 1,
"tier_label": "PREFERREDGENERIC",
"prior_auth_required": false,
"step_therapy": false,
"quantity_limit": true,
"matched_on": "rxcui"
}
]
}Example Request (Commercial, default plan)
curl -X POST "https://api.nofone.io/v1/formulary/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"payer_id": "anthem",
"ndc_codes": ["00169413013"]
}'Example Response (Commercial, default plan) 200
{
"market": "commercial",
"payer_id": "anthem",
"lob": "commercial",
"payer_name": "Anthem",
"plan_name": "Anthem National 4-Tier",
"plan": {
"plan_key": "commercial:anthem:anthem-national-4-tier",
"plan_name": "Anthem National 4-Tier",
"plan_year": null,
"selected_by": "default"
},
"available_plans": 1,
"data_loaded_on": "2026-11-17",
"results": [
{
"ndc": "00169413013",
"ndc11": "00169413013",
"rxcui": "2398842",
"drug_name": "3 ML semaglutide 1.34 MG/ML Pen Injector [Ozempic]",
"formulary_drug_name": "OZEMPIC (1 MG/DOSE) SUBCUTANEOUS SOLUTION PEN-INJECTOR 4 MG/3ML",
"on_formulary": true,
"tier": 2,
"tier_label": "2",
"prior_auth_required": true,
"step_therapy": false,
"quantity_limit": true,
"matched_on": "ndc"
}
]
}Example Request (Medicare Advantage)
curl -X POST "https://api.nofone.io/v1/formulary/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"payer_id": "humana",
"lob": "medicare",
"plan": { "contract_id": "H0028", "plan_id": "007" },
"ndc_codes": ["00169413013"]
}'Example Response (Medicare Advantage) 200
{
"market": "medicare",
"payer_id": "humana",
"lob": "medicare",
"plan": {
"plan_key": "medicare:H0028-007",
"plan_name": "Humana Gold Plus SNP-DE H0028-007 (HMO D-SNP)",
"plan_year": null,
"selected_by": "contract_plan",
"contract_id": "H0028",
"plan_id": "007"
},
"contract_id": "H0028",
"plan_id": "007",
"contract_name": "CHA HMO, INC.",
"plan_name": "Humana Gold Plus SNP-DE H0028-007 (HMO D-SNP)",
"formulary_id": "27366",
"states": ["NE"],
"data_loaded_on": "2026-11-17",
"results": [
{
"ndc": "00169413013",
"ndc11": "00169413013",
"rxcui": "2398842",
"drug_name": "3 ML semaglutide 1.34 MG/ML Pen Injector [Ozempic]",
"on_formulary": true,
"tier": 3,
"tier_label": "3",
"prior_auth_required": true,
"step_therapy": false,
"quantity_limit": true,
"matched_on": "ndc"
}
]
}Example Request (Medicare Advantage, older form)
curl -X POST "https://api.nofone.io/v1/formulary/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"contract_id": "H0028",
"plan_id": "015",
"ndc_codes": ["00169-4501-14", "0093-5057-98", "12345-6789-01"]
}'Example Response (Medicare Advantage, older form) 200
{
"market": "medicare",
"contract_id": "H0028",
"plan_id": "015",
"contract_name": "CHA HMO, INC.",
"plan_name": "Humana Gold Plus SNP-DE H0028-015 (HMO-POS D-SNP)",
"formulary_id": "27366",
"states": ["MO"],
"data_loaded_on": "2026-11-05",
"results": [
{
"ndc": "00169-4501-14",
"ndc11": "00169450114",
"rxcui": "2553803",
"drug_name": "0.5 ML semaglutide 2 MG/ML Auto-Injector [Wegovy]",
"on_formulary": true,
"tier": 3,
"tier_label": "3",
"prior_auth_required": true,
"step_therapy": false,
"quantity_limit": true,
"matched_on": "ndc"
},
{
"ndc": "0093-5057-98",
"ndc11": "00093505798",
"rxcui": "259255",
"drug_name": "atorvastatin 80 MG Oral Tablet",
"on_formulary": true,
"tier": 1,
"tier_label": "1",
"prior_auth_required": false,
"step_therapy": false,
"quantity_limit": false,
"matched_on": "rxcui"
},
{
"ndc": "12345-6789-01",
"ndc11": "12345678901",
"rxcui": null,
"drug_name": null,
"on_formulary": null,
"tier": null,
"tier_label": null,
"prior_auth_required": null,
"step_therapy": null,
"quantity_limit": null,
"matched_on": null,
"unresolved_reason": "ndc_not_found"
}
]
}Example Response (ACA, several formularies in the state) 400
Request { "payer_id": "oscar", "lob": "aca", "state": "TX", "rxcuis": ["2398842"] }, where the payer has two ACA formularies in the state:
{
"error": {
"code": "invalid_query",
"message": "oscar has 2 ACA formularies in TX; name one with plan: { plan_key } or { hios_plan_id }.",
"param": "plan",
"available_plans": [
{
"plan_key": "aca:oscar:aca-2027-tx-oscar-insurance-company-20069-txf001",
"plan_name": "ACA 2027 TX Oscar Insurance Company (20069) TXF001"
},
{
"plan_key": "aca:oscar:aca-2027-tx-oscar-insurance-company-20069-txf002-txf003-txf0-fd0f6291",
"plan_name": "ACA 2027 TX Oscar Insurance Company (20069) TXF002/TXF003/TXF004"
}
]
}
}Response Fields
| Field | Type | Description | |
|---|---|---|---|
| market | string | The same as lob; kept for compatibility. "medicare" in the older Medicare response. | |
| payer_id, lob | string | The payer and line of business the answer is for. lob is "commercial" when you omit it, or the plan's own when you send a plan_key. Not in the older Medicare response. | |
| state | string | null | ACA only: the state you sent, upper-cased, or null. | |
| payer_name | string | null | Commercial and ACA: the payer's name. | |
| plan_name | string | null | Medicare Advantage: CMS plan name. Commercial: name of the payer's drug list. ACA: a label built from the plan year, states, issuers and formulary IDs. | |
| plan | object | The plan the answer comes from: plan_key, plan_name, plan_year and selected_by, plus contract_id and plan_id (Medicare) or hios_plan_ids and states (ACA: every HIOS plan ID that uses this formulary, and the states it's sold in). Not in the older Medicare response. | |
| plan.selected_by | string | How the plan was chosen: default (commercial, no plan sent), plan_key, contract_plan (Medicare contract_id + plan_id), hios_plan_id or state (ACA). | |
| available_plans | number | Commercial only, when you sent no plan: how many commercial plans NOF1 has for the payer. If more than one, list them with List Formulary Plans and send a plan_key. | |
| contract_id, plan_id, contract_name, formulary_id, states | string / array | Medicare Advantage only: the plan, its CMS contract name, formulary ID and the states it's sold in. | |
| data_loaded_on | string | null | When NOF1 last loaded the source data (CMS formulary files, the payer's drug list, or the insurer's ACA formulary). | |
| ndc, ndc11 | string | null | The NDC as sent and its 11-digit form. null for RXCUI inputs. | |
| rxcui | string | null | The RXCUI the drug was identified as. | |
| drug_name | string | null | RxNorm name of the drug, when known. | |
| formulary_drug_name | string | null | Commercial and ACA: the drug as the plan's list names it, i.e. what your code matched. | |
| on_formulary | boolean | null | true on the formulary, false not on it, null couldn't identify the drug. | |
| tier | number | null | Formulary tier as a number; null when the drug isn't on the formulary or the plan's tier isn't numeric. | |
| tier_label | string | null | The tier as the plan prints it: the insurer's tier name for ACA (e.g. "PREFERREDBRAND"), the drug list's tier for commercial (e.g. "2"), the CMS tier number as text for Medicare (e.g. "3"). null when the drug isn't on the formulary. | |
| prior_auth_required, step_therapy, quantity_limit | boolean | null | Restrictions on the drug; null when not on the formulary. | |
| matched_on | string | null | "ndc" (exact NDC) or "rxcui" (via the drug's RXCUI). | |
| unresolved_reason | string | Only when on_formulary is null: ndc_not_found or ndc_lookup_unavailable. |
Notes
How drugs are matched. CMS formularies list drugs by RxNorm concept (RXCUI), with one example NDC for each. If your NDC is that example, it matches directly (matched_on: "ndc"). Otherwise it is mapped to its RXCUI and matched on that (matched_on: "rxcui"), so other package sizes and labelers of the same drug still match. Brand and generic are different RXCUIs: a branded NDC matches only if the plan lists the brand. If you already have RXCUIs, send them in rxcuis: they match the formulary directly with no NDC lookup. Their results have ndc and ndc11 set to null and come after the NDC results.
Commercial matching. Commercial payers publish drug lists by drug name, not by NDC. NOF1 maps each listed drug to NDCs and RXCUIs, and your codes are matched against those the same way (matched_on: "ndc", else "rxcui"). formulary_drug_name shows the payer's own entry your code matched.
ACA matching. ACA insurers publish their formularies by RXCUI. Codes are matched the same way (matched_on: "ndc", else "rxcui"), formulary_drug_name shows the insurer's entry, and tier_label is the insurer's own tier name.
Not on formulary. on_formulary: false means the drug was identified but the plan doesn't list it, or the plan lists it as not covered; coverage would need a formulary exception. tier and the three restriction flags are null then, since they don't apply.
Unresolved NDCs. (NDC inputs only.) on_formulary: null means we couldn't identify the drug, so we make no claim either way. unresolved_reason is ndc_not_found (the NDC isn't known to RxNorm) or ndc_lookup_unavailable (a temporary lookup failure; retry).
Errors. 400 invalid_query, with param naming the field: an unknown payer_id, or payer_id sent with top-level contract_id/plan_id (payer_id); a lob other than the three above, or one that contradicts the plan_key (lob); a malformed plan, medicare without contract_id + plan_id, or several ACA formularies in the state (plan); state with commercial, or aca with neither plan nor state (state). 404 not_found: an unknown plan_key for the payer; a Medicare contract/plan that isn't the payer's or isn't known; an unknown HIOS plan ID; no ACA formulary for the payer in the state; or a payer without a commercial drug list.
states lists the states the plan is sold in; the formulary is the same in each. Medicare Advantage checks are available to all API keys, including trial keys; commercial and ACA checks with a trial key are limited to the payers enabled for that key (403 otherwise).
Drug Check - Policies
Checks whether a payer's drug policies require prior authorization for a set of NDCs under a given line of business, whether they cover the drug, and whether they require step therapy, set a quantity limit, or have specialty requirements. Each answer lists the policies behind it, with a short quote from the policy as evidence. Accepts up to 10 NDCs per request. Source: the payer's published drug policies.
Request Body
| Field | Type | Description | |
|---|---|---|---|
| payer_id | string | required | The payer to check against: the top-level id from the List Payers response, e.g. aetna. |
| ndc_codes | array | required | NDCs to check, minimum 1, maximum 10. Send 11 digits (68974020030) or a hyphenated form: 4-4-2, 5-3-2, 5-4-1 or 5-4-2. A 10-digit NDC without hyphens is ambiguous, so it is returned in unresolved instead of failing the whole request. |
| lob | string | Line of business. One of: commercial, medicare, medicaid, or aca. Defaults to commercial. | |
| include_criteria | boolean | When true, each policy also carries a criteria object with the policy's coverage criteria for that drug (see Notes). Defaults to false. | |
| state | string | Optional, and only accepted when lob is medicaid. Medicaid payers often publish a separate drug policy per state. Pass a US state (2-letter code or full name) to get the answer for that state only: just the policies that apply there are kept, and the answer fields are recomputed from them. Without it (or with all) the answer combines every state. See Notes. |
Example Request
curl -X POST "https://api.nofone.io/v1/drug-pa/check" \
-H "Authorization: Bearer nof1_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"payer_id": "aetna",
"lob": "commercial",
"ndc_codes": ["68974-0200-30", "42708-0031-30", "1234567890"]
}'Example Response 200
{
"payer_id": "aetna",
"lob": "commercial",
"results": [
{
"ndc": "68974-0200-30",
"ndc11": "68974020030",
"found_in_policies": true,
"prior_auth_required": true,
"drug_covered": true,
"step_therapy_required": true,
"quantity_limit_required": false,
"specialty_requirements": true,
"broad_match_only": false,
"policies": [
{
"policy_id": "828701e9-c6a8-4781-b27f-8b5882cad8ad",
"policy_name": "Filspari",
"policy_url": "https://www.aetna.com/products/rxnonmedicare/data/2026/Filspari_SGM_5791-A_P2025a.html",
"evidence": "Authorization of 12 months may be granted when all of the following criteria are met:"
}
],
"policies_total": 1
},
{
"ndc": "42708-0031-30",
"ndc11": "42708003130",
"found_in_policies": false,
"prior_auth_required": null,
"drug_covered": null,
"step_therapy_required": null,
"quantity_limit_required": null,
"specialty_requirements": null,
"broad_match_only": false,
"policies": [],
"policies_total": 0
}
],
"unresolved": [
{
"ndc": "1234567890",
"error": "10-digit NDCs without hyphens are ambiguous; send the hyphenated form (e.g. 1234-5678-90) or 11 digits"
}
]
}Response Fields
| Field | Type | Description | |
|---|---|---|---|
| ndc | string | The NDC exactly as you sent it. | |
| ndc11 | string | The same NDC normalized to 11 digits. | |
| found_in_policies | boolean | true when at least one of the payer's policies mentions the drug. | |
| prior_auth_required | boolean | null | The payer's policies require prior authorization for the drug. | |
| drug_covered | boolean | null | The policies cover the drug. false means they exclude it, or call it investigational or not medically necessary. | |
| step_therapy_required | boolean | null | Another drug or therapy must be tried first. | |
| quantity_limit_required | boolean | null | The quantity dispensed is limited. | |
| specialty_requirements | boolean | null | The policies have a specialty rule: a specialist prescriber, a specialty pharmacy, or a required site of care. | |
| broad_match_only | boolean | The drug is matched only through very broad policies (for example a "high-risk medications" list), so treat the answer with less confidence. | |
| policies | array | The policies behind the answer: policy_id, policy_name, policy_url and evidence (a short quote from the policy about prior authorization). See Notes. | |
| policies_total | number | How many policies mention the drug. |
Notes
How a payer's policies are combined. A payer can have several policies for the same drug. Each answer field is true if any policy says true, false if none says true and at least one says false, and null if no policy says either.
found_in_policies is false and every answer field is null.Policies. One entry per policy document, those requiring prior authorization first, at most 20 per NDC; policies_total is the full count. When a payer publishes the same document under several policy names, it is returned once with all of them in policy_names.
Medicaid and state. With a single state, the response has state (normalized, e.g. Texas), state_specific: true and payer_operates_in_state. Policies that apply to every state the payer operates in are always kept. If no policy for that state mentions the NDC, or the payer doesn't operate in that state (payer_operates_in_state: false), the result is the same as when the payer has no policy for the NDC. With state: "all", state_specific is false and the answer combines every state. Without state the answer is the same combined one, and the response has no state fields. In every Medicaid response each policy also has states (the states it is published for) and all_states (true when it applies to every state the payer operates in).
Criteria. With include_criteria: true, each policy carries criteria: indication (string) and the lists drug_requirements, step_therapy, dosage_requirements, specialty_requirements and preferred_alternatives. For Medicare, they come from the plan's Part D prior authorization criteria.
An unknown payer_id returns 400 invalid_query. Trial keys can only query the payers enabled for them (403 forbidden otherwise).
Data Objects
Reference for the core object shapes returned by the API.
Policy
commercial, medicare. When you searched with a specific lob this is that value; otherwise it is the first entry of lines_of_business.["commercial", "medicare"].all_states is true.true if the policy governs coverage of at least one drug: a pharmacy policy, or a medical policy with a drug component.true if drugs are the policy's primary subject, rather than one component of a broader medical or procedural policy.{ cpt_codes, hcpcs_codes }, each an array of CodeEntry objects.{ services_count, covered_services_count, excluded_services_count, services }: services is an array of Service objects.is_drug_policy is false.CodeEntry
Each element of coding.cpt_codes and coding.hcpcs_codes in the Get Policy response.
false if the policy explicitly excludes this code from coverage.null.DrugCoverage
Each element of the drug_coverage array in the Get Policy response. Every requirement array is a list of conditions that must all be satisfied; empty arrays mean the policy states no requirement of that kind.
Payer
The payer sub-object embedded in Search Policies and Get Policy results, not the same shape as a List Payers entry (PayerListing, below).
PayerListing
Each element of the data array returned by List Payers.
premera), matching payer_key from Match Payer to NOF1 Payer. Not the value to filter on. Use payer_ids below.commercial, medicare.true for utilization-management vendors rather than health plans.{ clinical, prior_auth }, each a map of line of business (commercial | medicare) to the actual payer_id to filter on for that workflow. Use clinical for Search Policies / Get Policy, prior_auth for Prior Auth Check. A line of business may be missing if NOF1 doesn't track a payer_id for it under that workflow.Service
Each element of criteria.services in the Get Policy response.
true if the service is covered under some conditions; false if the service is explicitly excluded or considered experimental.null when is_medically_necessary is false. See CriteriaNode below.CriteriaNode
Recursive tree node. A node is either a head (logical operator with children) or a leaf (terminal condition).
head: a logic operator node with children; leaf: a terminal condition with no children.head nodes only. One of AND or OR: how the children must be satisfied.head nodes only. Array of child CriteriaNode objects.leaf nodes only. The plain-English clinical condition that must be satisfied.