Medicaid Intelligence

v0.2.1
io.github.pipeworx-io/medicaid-intelligence Checked 2 days ago Published 1 month ago

Investor-oriented Medicaid drug utilization, managed-care, and enrollment signals.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

medicaid_drug_utilization

Quarterly state-level Medicaid utilization rows for a drug — prescriptions, units and reimbursement per state and quarter, separated into fee-for-service and managed care. Ask by NAME ("Ozempic") or by an exact 11-digit NDC. Reimbursement is gross before Medicaid rebates and is not manufacturer revenue or net price.

ParameterTypeDescription
drugstringDrug name as it appears on the package, e.g. "Ozempic" or "Humira" — matched against the Medicaid product list, aggregating every package size. A generic ingredient is expanded to its NDCs automatic…
limitnumber
ndcstringExact 11-digit National Drug Code, hyphenated or not, e.g. "00002-1433-80". Optional — give this OR drug. An NDC narrows to one package size.
offsetnumber
statestringUS state, as a two-letter code ("CA") or a full name ("California") — both are accepted.
utilization_typestringRestrict to fee-for-service or managed-care records; omit for both.
yearnumberCalendar year 2020-2026. Defaults to the most recent year with data.

medicaid_drug_state_market

Which states spend the most on a drug — one year of Medicaid reimbursement broken down by state, keeping fee-for-service and managed care separate. Ask by NAME ("Ozempic") or by an exact 11-digit NDC. Suppressed rows remain unavailable and totals are gross pharmacy reimbursement before rebates.

ParameterTypeDescription
drugstringDrug name as it appears on the package, e.g. "Ozempic" or "Humira" — matched against the Medicaid product list, aggregating every package size. A generic ingredient is expanded to its NDCs automatic…
ndcstringExact 11-digit National Drug Code, hyphenated or not, e.g. "00002-1433-80". Optional — give this OR drug. An NDC narrows to one package size.
yearnumberCalendar year 2020-2026. Defaults to the most recent year with data.

medicaid_drug_trend

How much Medicaid spent on a drug, year by year — annual prescriptions, units and gross reimbursement from 2020 onward, split between fee-for-service and managed care. Ask by NAME ("Ozempic", "Humira"): the name is matched against the Medicaid product list and aggregated across every package size, so this answers "how much did Medicaid spend on X" directly. An exact 11-digit NDC narrows to one package instead. Reimbursement is GROSS, before the rebates Medicaid negotiates, so it is not manufacturer revenue or net cost to the programme. Suppressed values are never converted to zero.

ParameterTypeDescription
drugstringDrug name as it appears on the package, e.g. "Ozempic" or "Humira" — matched against the Medicaid product list, aggregating every package size. A generic ingredient is expanded to its NDCs automatic…
from_yearnumberFirst calendar year, 2020 or later. Defaults to 2024 — pass an earlier year for a longer history.
ndcstringExact 11-digit National Drug Code, hyphenated or not, e.g. "00002-1433-80". Optional — give this OR drug. An NDC narrows to one package size.
statestringUS state, as a two-letter code ("CA") or a full name ("California") — both are accepted.
to_yearnumberLast calendar year, 2026 or earlier.

medicaid_managed_care_summary

Show annual state Medicaid enrollment and enrollment in any or comprehensive managed care. Counts are state-reported program enrollment, not covered lives attributable to a particular insurer.

ParameterTypeDescription
from_yearnumber
statestringUS state, as a two-letter code ("CA") or a full name ("California"). Omit for national totals.
to_yearnumber

medicaid_managed_care_program_mix

Show state Medicaid enrollment by managed-care program type, including comprehensive MCO, PCCM, MLTSS, behavioral health, dental, transportation, and PACE. Program counts overlap and must not be summed.

ParameterTypeDescription
state *stringUS state, as a two-letter code ("CA") or a full name ("California") — both are accepted.
yearnumberCalendar year; omit for every year published.

medicaid_plan_market

Return a bounded API-order sample of Medicaid managed-care plan/program rows by state and optional year, with the authoritative matching-row count. Zero may represent confidentiality suppression in this source.

ParameterTypeDescription
state *stringFull state name.
limitnumber
offsetnumber
parent_organizationstring
yearnumber

medicaid_monthly_managed_care

Show monthly Medicaid/CHIP enrollment for one state and managed-care participation category. Data-quality flags and confidentiality suppression are preserved.

ParameterTypeDescription
participation *stringExact CMS category, e.g. "Comprehensive managed care".
state *stringUS state, as a two-letter code ("CA") or a full name ("California") — both are accepted.
from_monthstringYYYYMM.
to_monthstringYYYYMM.

medicaid_enrollment_operations

Show monthly Medicaid and CHIP enrollment and application-processing indicators for one state. Values are preliminary or updated state reports and may include footnotes or missing periods.

ParameterTypeDescription
state *stringUS state, as a two-letter code ("CA") or a full name ("California") — both are accepted.
from_monthstringYYYYMM.
to_monthstringYYYYMM.