# Medicaid API

State fee schedules by code over time, and managed-care enrollment by plan.

Covers: Medicaid fee-for-service, Medicaid managed care · 2 sub-APIs · 2 tools

## Rates (API plans: Medicaid pack)

What does a state's Medicaid program pay for this code, how has it moved, and how does it compare?

| tool | returns | required |
|---|---|---|
| get_medicaid_rate v0.3.1 | State Medicaid fee-for-service (FFS) rates by code from every state's published fee schedules, with history, cross-state comparison and the Medicare benchmark. | none |

**get_medicaid_rate modes.**
- `mode="lookup"`: A state's rate for one or more codes today, or on any past date.
- `mode="compare"`: One code across every state that publishes it, with the national median and rank.
- `mode="trend"`: One state and code over time, with the change at each step.
- `mode="changes"`: Every rate that moved in a state in a date window.
- `mode="vs_medicare"`: A state's rates as a share of Medicare's for the same codes.

## Managed-care enrollment (API plans: Medicaid pack)

Which plans and parent companies have how many Medicaid members in this state, by month?

| tool | returns | required |
|---|---|---|
| get_medicaid_mco_enrollment v0.5.0 | Returns Medicaid managed-care enrollment for ONE state. | state |

**A real request and answer** (`get_medicaid_mco_enrollment`, customer seat, 3.86 s):

```bash
curl -X POST https://api.vladahealth.com/v1/tools/get_medicaid_mco_enrollment -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" -d '{"state":"TX","year":2024,"limit":5}'
```

```json
{
 "value": {
  "found": true,
  "not_found_reason": null,
  "summary": {
   "state": "TX",
   "state_name": "Texas",
   "tracker": {
    "status": "available",
    "measure_class": "members",
    "measure_classes_held": [
     "members",
     "members_hhsc_prelim_plan_total"
    ],
    "headline": {
     "observation_month": "2026-11",
     "basis": "estimated",
     "members_total": 3585306.7,
     "members_observed": null,
     "members_estimated": 3585306.7,
     "estimated_interval_summed": [
      3239052.03,
      3891857.0
     ],
     "members_modeled_indicative": null,
     "state_total_members": 3891857.0,
     "state_total_basis": "cms_carried",
     "methods": {
      "M-e": 48
     }
    },
    "headline_rule": "the latest month that carries a value, with its basis: observed (a published count), estimated (method and interval) or observed_and_estimated; members_total = observed + estimated, modeled never in it; modeled_only (indicative, no total) only when no month has a total",
    "last_observed": {
     "observation_month": "2026-02",
     "basis": "observed",
     "members_total": 3679446.0,
     "members_observed": 3679446.0,
     "members_estimated": null,
     "estimated_interval_summed": [
      null,
      null
     ],
     "members_modeled_indicative": null,
     "state_total_members": 4033526.8286634316,
     "state_total_basis": "state_reported_hhsc_preliminary"
    },
    "months_from_last_observed_to_headline": 9,
    "methods_legend": {
     "M-a": "M-a carry-forward of the last observed value",
     "M-b": "M-b plan share x the state total",
     "M-e": "M-e the tracker's nowcast model",
     "PUB-PRELIM": "PUB-PRELIM the publisher's own preliminary estimate"
    },
    "parents_month": "2026-11",
    "parent_count": 15,
    "parent_basis":
... (truncated; full answer on the tool's page)
```

**Limits.**
- A rate is the state's published fee-for-service rate, not what a managed-care plan paid.
- Enrollment figures are marked published, estimated or modeled, and the three are never summed together.
- Each answer says whether it came from a state's own publication or a national file.

**What sets it apart.** Every rate links to the state schedule it came from, with its history and the Medicare comparison.
