API Documentation

Reference for authenticating and integrating with the NOF1 Policy API.

Policy API

v1

Programmatic 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.

ⓘAPI access is available on select plans. Contact support@nofone.io to enable API access for your organization and receive your API key.

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.

Request header
Authorization: Bearer nof1_live_<your_api_key>

Requests without a valid token will receive a 401 response.

⚠Keep your API key confidential. If a key is compromised, rotate it immediately from your organization settings. NOF1 will never ask for your API key over email.

Base URL & Versioning

All endpoints are versioned under /v1. Breaking changes will be released under a new version prefix with advance notice.

Base URLhttps://api.nofone.io

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.

Example paginated response envelope
{
  "data": [ ... ],
  "meta": {
    "total": 142,
    "page": 1,
    "per_page": 20,
    "total_pages": 8
  }
}
ParameterTypeDescription
pageintegerPage number to return. Default: 1.
per_pageintegerResults 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.

⚠Ordering without 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.

HeaderTypeDescription
X-RateLimit-LimitMaximum requests allowed per minute.
X-RateLimit-RemainingRequests remaining in the current window.
X-RateLimit-ResetUnix timestamp when the window resets.
Retry-AfterSeconds 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 response shape
{
  "error": {
    "code": "invalid_query",
    "message": "At least one search parameter is required.",
    "param": "q"
  }
}
StatusCodeDescription
400invalid_queryA query parameter is missing, malformed, or out of range.
401unauthorizedAPI key is missing, invalid, or revoked.
404not_foundThe requested policy or resource does not exist.
429rate_limitedToo many requests. Slow down and retry after Retry-After seconds.

List Payers

GET/v1/payersList all supported 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.

⚠The 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

ParameterTypeDescription
lobstringFilter to payers supported on this line of business. One of: commercial, medicare.
pageintegerPage number. Default: 1.
per_pageintegerResults per page. Default: 20. Maximum: 100.

Example Request

cURL
curl "https://api.nofone.io/payers?lob=commercial" \
  -H "Authorization: Bearer nof1_live_<your_api_key>"

Example Response 200

JSON
{
  "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

POST/v1/payers/matchResolve external payer names to a 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

FieldTypeDescription
queriesarrayrequiredPayer name strings to resolve, one result returned per entry in the same order. Minimum 1, maximum 25.
lobstringRestrict candidates to payers supported on this line of business. One of: commercial, medicare. Omit to match across both.

Example Request

cURL
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

JSON
{
  "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.



Get Policy

GET/v1/policies/{policy_id}Retrieve a single 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

ParameterTypeDescription
policy_idstringrequiredThe UUID of the policy (e.g. a3f1c29e-7b4d-4e8a-9f2c-1a2b3c4d5e6f).

Example Request

cURL
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.

JSON
{
  "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.

JSON
{
  "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

POST/v1/prior-auth/checkCheck prior auth requirements for CPT codes

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

FieldTypeDescription
payer_idstringrequiredThe payer to check against. Use a value from payer_ids.prior_auth.<lob> in the List Payers response, not its top-level id.
cpt_codesarrayrequiredList of CPT code strings to check. Minimum 1, maximum 10.
lobstringLine of business. One of: commercial, medicare, medicaid, or aca. Defaults to commercial.
statestringRequired 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
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

JSON
{
  "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

GET/v1/formulary/plansList the formulary plans NOF1 has for a payer, with their plan identifiers

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).

ⓘACA. Check drugs against an ACA plan with Drug Check - Formulary, using its plan_key, a HIOS plan ID, or a state.

Query Parameters

ParameterTypeDescription
payer_idstringrequiredUniversal payer ID from GET /v1/payers (the top-level id), e.g. humana.
lobstringOne of medicare, commercial, aca. Omit to list all three.
statestringTwo-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.
limitintegerPlans per page. Default: 50. Maximum: 200.
offsetintegerNumber of plans to skip. Default: 0.

Example Request

cURL
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

JSON
{
  "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)

JSON
{
  "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

FieldTypeDescription
payer_id, lob, statestring | nullThe filters you sent. lob and state are null when omitted; state is upper-cased.
total, limit, offsetintegertotal is the number of plans matching the filters, across all pages.
plan_keystringNOF1's stable ID for the plan, prefixed by its line of business, e.g. medicare:H0028-053.
lobstring"medicare", "commercial" or "aca".
plan_namestring | nullMedicare 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_yearnumber | nullPlan year, when the source gives one (ACA).
statesarrayStates the plan is sold in. Always empty for commercial.
contract_id, plan_idstringMedicare Advantage only: the CMS contract and plan number, as sent to Drug Check - Formulary.
hios_plan_idsarrayACA only: the 14-character HIOS plan IDs that use this formulary.
marketstring | nullACA only: "individual" or "small_group".
is_defaultbooleanCommercial only: true for the plan Drug Check - Formulary answers from when you send only payer_id.
drug_countnumber | nullNumber of drugs on the plan's list, when known.
data_loaded_onstring | nullWhen 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

POST/v1/formulary/checkCheck drugs by NDC or RXCUI against a Medicare Advantage, commercial or ACA marketplace plan's 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).

ⓘMedicare Advantage. 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.
ⓘCommercial. The default 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.
ⓘACA marketplace. HealthCare.gov states, plan year 2027, for insurers mapped to a NOF1 payer. Name the plan with plan: { hios_plan_id } or plan: { plan_key }, or send only state when the payer has one ACA formulary in that state.

Request Body

FieldTypeDescription
payer_idstringrequiredUniversal payer ID from GET /v1/payers, e.g. humana. Required except in the older Medicare request (top-level contract_id + plan_id, below).
lobstringcommercial (default), medicare or aca. A plan_key implies its lob; a lob that contradicts it returns 400 (param: "lob").
planobjectThe 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_keystringNOF1'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_idstringMedicare: 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_idstringACA: 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.
statestringACA 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_codesarrayNDCs 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.
rxcuisarrayRxNorm 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_idstringOlder 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
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

JSON (hios_plan_ids shortened)
{
  "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
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

JSON
{
  "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
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

JSON
{
  "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
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

JSON
{
  "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:

JSON
{
  "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

FieldTypeDescription
marketstringThe same as lob; kept for compatibility. "medicare" in the older Medicare response.
payer_id, lobstringThe 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.
statestring | nullACA only: the state you sent, upper-cased, or null.
payer_namestring | nullCommercial and ACA: the payer's name.
plan_namestring | nullMedicare 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.
planobjectThe 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_bystringHow 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_plansnumberCommercial 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, statesstring / arrayMedicare Advantage only: the plan, its CMS contract name, formulary ID and the states it's sold in.
data_loaded_onstring | nullWhen NOF1 last loaded the source data (CMS formulary files, the payer's drug list, or the insurer's ACA formulary).
ndc, ndc11string | nullThe NDC as sent and its 11-digit form. null for RXCUI inputs.
rxcuistring | nullThe RXCUI the drug was identified as.
drug_namestring | nullRxNorm name of the drug, when known.
formulary_drug_namestring | nullCommercial and ACA: the drug as the plan's list names it, i.e. what your code matched.
on_formularyboolean | nulltrue on the formulary, false not on it, null couldn't identify the drug.
tiernumber | nullFormulary tier as a number; null when the drug isn't on the formulary or the plan's tier isn't numeric.
tier_labelstring | nullThe 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_limitboolean | nullRestrictions on the drug; null when not on the formulary.
matched_onstring | null"ndc" (exact NDC) or "rxcui" (via the drug's RXCUI).
unresolved_reasonstringOnly 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

POST/v1/drug-pa/checkCheck whether a payer's policies require prior auth for drugs, by NDC

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

FieldTypeDescription
payer_idstringrequiredThe payer to check against: the top-level id from the List Payers response, e.g. aetna.
ndc_codesarrayrequiredNDCs 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.
lobstringLine of business. One of: commercial, medicare, medicaid, or aca. Defaults to commercial.
include_criteriabooleanWhen true, each policy also carries a criteria object with the policy's coverage criteria for that drug (see Notes). Defaults to false.
statestringOptional, 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
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

JSON
{
  "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

FieldTypeDescription
ndcstringThe NDC exactly as you sent it.
ndc11stringThe same NDC normalized to 11 digits.
found_in_policiesbooleantrue when at least one of the payer's policies mentions the drug.
prior_auth_requiredboolean | nullThe payer's policies require prior authorization for the drug.
drug_coveredboolean | nullThe policies cover the drug. false means they exclude it, or call it investigational or not medically necessary.
step_therapy_requiredboolean | nullAnother drug or therapy must be tried first.
quantity_limit_requiredboolean | nullThe quantity dispensed is limited.
specialty_requirementsboolean | nullThe policies have a specialty rule: a specialist prescriber, a specialty pharmacy, or a required site of care.
broad_match_onlybooleanThe drug is matched only through very broad policies (for example a "high-risk medications" list), so treat the answer with less confidence.
policiesarrayThe policies behind the answer: policy_id, policy_name, policy_url and evidence (a short quote from the policy about prior authorization). See Notes.
policies_totalnumberHow 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.

⚠When no policy mentions the NDC. 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

Field
Type
Description
id
string
Unique policy identifier (UUID v4).
name
string
Human-readable policy name.
payer
object
Payer this policy belongs to. See Payer object.
line_of_business
string
One of commercial, medicare. When you searched with a specific lob this is that value; otherwise it is the first entry of lines_of_business.
lines_of_business
array
Every line of business the policy applies to. Some payers publish one policy for both commercial and Medicare Advantage members, in which case this is ["commercial", "medicare"].
covered_states
array
Medicaid policies only. States the policy names explicitly. May be empty when all_states is true.
all_states
boolean
Medicaid policies only. True when the policy applies in every state its payer operates in.
effective_date
string
ISO 8601 date the policy became effective.
last_updated
string
ISO 8601 date the policy was last updated in the NOF1 system.
url
string
URL to the original payer policy document.
lcds_referenced
array
List of LCD reference objects this policy cites.
is_drug_policy
boolean
true if the policy governs coverage of at least one drug: a pharmacy policy, or a medical policy with a drug component.
is_primarily_drug_policy
boolean
true if drugs are the policy's primary subject, rather than one component of a broader medical or procedural policy.
coding
object
{ cpt_codes, hcpcs_codes }, each an array of CodeEntry objects.
criteria
object
{ services_count, covered_services_count, excluded_services_count, services }: services is an array of Service objects.
drug_coverage
array
Array of DrugCoverage objects, one per drug the policy governs. Empty when is_drug_policy is false.

CodeEntry

Each element of coding.cpt_codes and coding.hcpcs_codes in the Get Policy response.

Field
Type
Description
code
string
The CPT or HCPCS code.
description
string | null
Code description, when known.
covered
boolean
false if the policy explicitly excludes this code from coverage.
notes
string | null
Reserved for billing notes; currently always 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.

Field
Type
Description
drug_name
string
Primary name of the drug as identified in the policy.
drug_type
string | null
Classification of the drug (e.g. biologic, small molecule, biosimilar), when the policy states one.
brand_names
array
Brand names the drug is marketed under.
generic_names
array
Generic / non-proprietary names for the drug.
indication
string | null
The condition the drug is covered for under this entry.
fda_label_ids
array
FDA application / label identifiers for the drug.
ndc_codes
array
National Drug Codes associated with the drug.
drug_requirements
array
Clinical and administrative requirements that must be met for coverage.
step_therapy
array
Therapies that must be tried and failed before this drug is covered.
preferred_alternatives
array
Drugs the payer prefers in place of this one.
specialty_requirements
array
Specialty-pharmacy, site-of-care, or prescriber restrictions.
dosage_requirements
array
Dose, frequency, and quantity limits that apply to coverage.

Payer

The payer sub-object embedded in Search Policies and Get Policy results, not the same shape as a List Payers entry (PayerListing, below).

Field
Type
Description
id
string
Payer identifier as recorded on the policy (matches payer_id).
name
string
Payer name as recorded on the policy.

PayerListing

Each element of the data array returned by List Payers.

Field
Type
Description
id
string
Stable NOF1 payer identifier (e.g. premera), matching payer_key from Match Payer to NOF1 Payer. Not the value to filter on. Use payer_ids below.
name
string
Full payer display name.
lines_of_business
array
Lines of business this payer is supported on: any of commercial, medicare.
is_um_vendor
boolean
true for utilization-management vendors rather than health plans.
payer_ids
object
{ 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.

Field
Type
Description
service_name
string
Name of the clinical service or indication, as extracted from the policy (e.g. "Spinal cord stimulation for chronic intractable pain").
is_medically_necessary
boolean
true if the service is covered under some conditions; false if the service is explicitly excluded or considered experimental.
med_nec_tree
object | null
JSON logic tree of coverage conditions. 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).

Field
Type
Description
node_type
string
head: a logic operator node with children; leaf: a terminal condition with no children.
type
string
Present on head nodes only. One of AND or OR: how the children must be satisfied.
children
array
Present on head nodes only. Array of child CriteriaNode objects.
condition
string
Present on leaf nodes only. The plain-English clinical condition that must be satisfied.