# Productivity and officials

> Clinician Medicare work RVUs, specialty benchmarks, site-of-service counts, DME referrals, and organization authorized officials.

Source: https://openpipe.health/docs/api/productivity/

These endpoints measure clinician Medicare Part B productivity in work RVUs (wRVUs), publish national and state specialty benchmarks, and return the authorized official listed for an organization NPI in NPPES. For general clinician billing and prescribing profiles, use [Providers](https://openpipe.health/docs/api/providers.md). For DME market rankings by HCPCS code and state, use [DME market](https://openpipe.health/docs/api/dme.md).

Each endpoint costs 1 credit, charged only when the call succeeds. A `400` or a `404` is free.

## Get provider productivity

```http
GET /api/providers/:npi/productivity
```

Returns one clinician's Medicare Part B work RVUs, national specialty percentile, national and state specialty benchmark percentiles, site-of-service breakdown (facility vs office and ASC-eligible volume), DME referral summary and top ordered items, and Medicare opt-out status. Costs 1 credit, charged only if the provider exists.

`:npi` must be 10 digits, otherwise the call returns `400` with `NPI must be 10 digits.` An NPI absent from `providers`, `provider_wrvus`, `dme_referrers` and `optouts` returns `404`.

### Parameters

| Name | Type | Description |
|---|---|---|
| `dme_limit` | number | Maximum top DME services to return, 1 to 100. Default 25. |

Unknown query parameters return `400`.

### Example

```sh
curl "$OPH_API/api/providers/1234567890/productivity?dme_limit=5" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "npi": 1234567890,
  "provider": {
    "npi": "1234567890",
    "entity_type": "I",
    "name": "JANE EXAMPLE",
    "credentials": "M.D.",
    "specialty": "Orthopaedic Surgery",
    "city": "HOUSTON",
    "state": "TX"
  },
  "wrvus": {
    "npi": "1234567890",
    "year": 2024,
    "entity_type": "I",
    "specialty": "Orthopedic Surgery",
    "state": "TX",
    "total_wrvus": 2450.5,
    "unadjusted_wrvus": 2498.1,
    "facility_wrvus": 1900.2,
    "office_wrvus": "550.30",
    "services": 980,
    "wrvu_services": 910,
    "codes": 24,
    "asc_eligible_services": 120,
    "asc_eligible_facility_services": 110,
    "asc_eligible_office_services": "10.00",
    "specialty_percentile": 76.2
  },
  "specialty_benchmark": {
    "national": {
      "specialty": "Orthopedic Surgery",
      "state": "US",
      "year": 2024,
      "providers": 20733,
      "p25": 457,
      "p50": 1170.3,
      "p75": 2430.7,
      "p90": 4098.1,
      "mean_wrvus": 1758.8,
      "total_wrvus": 36465841
    },
    "state": {
      "specialty": "Orthopedic Surgery",
      "state": "TX",
      "year": 2024,
      "providers": 1502,
      "p25": 457.1,
      "p50": 1217.1,
      "p75": 2372.4,
      "p90": 3830,
      "mean_wrvus": 1740.8,
      "total_wrvus": 2614680
    }
  },
  "site_of_service": {
    "by_place": [
      { "place_of_service": "F", "codes": 14, "services": "420.0", "medicare_payment": "182400" },
      { "place_of_service": "O", "codes": 10, "services": "560.0", "medicare_payment": "41900" }
    ],
    "asc_eligible_services": 120,
    "asc_eligible_facility_services": 110,
    "asc_eligible_office_services": "10.00"
  },
  "dme": {
    "summary": {
      "year": 2024,
      "tot_suppliers": 6,
      "tot_hcpcs_codes": 5,
      "tot_benes": 24,
      "tot_claims": 42,
      "tot_srvcs": 58,
      "tot_charges": "32400",
      "tot_allowed": "18900",
      "tot_payment": "14800",
      "dme_claims": 14,
      "dme_payment": "4200",
      "pos_claims": 28,
      "pos_payment": "10600",
      "drug_claims": 0,
      "drug_payment": "0"
    },
    "top_services": [
      {
        "hcpcs_code": "L1833",
        "rental": false,
        "hcpcs_description": "Knee orthosis, adjustable knee joints...",
        "category": "Orthotic Devices",
        "subcategory": "Orthotic Devices-Lower Limb",
        "tot_suppliers": 4,
        "tot_benes": 18,
        "tot_claims": 28,
        "tot_srvcs": 28,
        "avg_charge": 720.5,
        "avg_allowed": 440.1,
        "avg_payment": 350.0,
        "est_payment": "9800"
      }
    ]
  },
  "optout": null,
  "population": "Medicare fee-for-service Part B volumes (2024) priced with the same year's Physician Fee Schedule work RVUs (RVU24D)...",
  "sql": { "provider": "...", "wrvus": "...", "site_of_service": "...", "dme_summary": "...", "dme_services": "...", "optout": "...", "specialty_benchmark": "..." },
  "sources": ["providers", "provider_wrvus", "medicare_service", "dme_referrers", "dme_referrer_services", "optouts", "rollup_wrvu_specialty"],
  "ms": 14,
  "usage": { "credits": 1, "creditsUsed": 12, "creditsLimit": 5000, "txid": "11402" }
}
```

### Response fields

| Field | Contents |
|---|---|
| `provider` | Registry record from `providers` (`entity_type`, `name`, `credentials`, `specialty`, `city`, `state`). `null` if absent from NPPES. |
| `wrvus` | Latest year row from `provider_wrvus`: `total_wrvus`, `unadjusted_wrvus`, `facility_wrvus`, `office_wrvus`, `services`, `wrvu_services`, `codes`, ASC-eligible counts, and `specialty_percentile` (0 to 100 among individuals of the same Medicare specialty nationally; `null` for organizations or zero wRVUs). |
| `specialty_benchmark` | `national` (`state = 'US'`) and `state` benchmark rows from `rollup_wrvu_specialty` for the clinician's specialty and year (`p25`, `p50`, `p75`, `p90`, `mean_wrvus`, `providers`). `null` when fewer than 11 clinicians exist in the cell. |
| `site_of_service` | `by_place` aggregates `medicare_service` by `place_of_service` (`F` = facility, `O` = office) with distinct `codes`, `services`, and `medicare_payment`. Also repeats `asc_eligible_services`, `asc_eligible_facility_services`, and `asc_eligible_office_services`. |
| `dme` | `summary` from `dme_referrers` and `top_services` (up to `dme_limit`) from `dme_referrer_services` ranked by claims. |
| `optout` | Active Medicare opt-out affidavit from `optouts` (`optout_effective_date`, `optout_end_date`, `can_order_and_refer`, `affidavits`), or `null` if not opted out. |
| `sql` | Object with each statement the server ran, as a read-only [receipt](https://openpipe.health/docs/receipts.md). |

## Get work RVU benchmarks

```http
GET /api/benchmarks/wrvus
```

Returns Medicare Part B work RVU percentiles (`p25`, `p50`, `p75`, `p90`, `mean_wrvus`, `total_wrvus` and `providers`) per Medicare specialty and state, plus national rows (`state = 'US'`). Costs 1 credit.

### Parameters

| Name | Type | Description |
|---|---|---|
| `specialty` | string | Substring of the Medicare specialty, case-insensitive, for example `Orthopedic Surgery` or `Cardiology`. 1 to 120 characters. |
| `state` | string | Two-letter USPS state code, or `US` for national rows. |
| `sort` | string | `p50` (default), `p75`, `p90`, `mean`, `providers`, `total_wrvus`, or `specialty`. |
| `limit` | number | 1 to 200. Default 50. |
| `offset` | number | Rows to skip, 0 to 100,000. Default 0. |

Behavior when parameters are omitted:

- When both `specialty` and `state` are omitted, the endpoint returns national (`state = 'US'`) rows across all specialties so national and state rows are never mixed.
- When `specialty` is given without `state`, the national `US` row is pinned first, followed by all qualifying states.

Unknown query parameters return `400`.

### Example

```sh
curl "$OPH_API/api/benchmarks/wrvus?specialty=Cardiology&state=US" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "rows": [
    {
      "specialty": "Interventional Cardiology",
      "state": "US",
      "year": 2024,
      "providers": 4619,
      "p25": 1472,
      "p50": 2690.1,
      "p75": 4332.1,
      "p90": 6347.5,
      "mean_wrvus": 3244.3,
      "total_wrvus": 14985446
    },
    {
      "specialty": "Cardiology",
      "state": "US",
      "year": 2024,
      "providers": 19488,
      "p25": 1041.2,
      "p50": 2236.5,
      "p75": 3835,
      "p90": 5861,
      "mean_wrvus": 2851.6,
      "total_wrvus": 55572065
    }
  ],
  "sql": "SELECT specialty, state, year, providers, p25, p50, p75, p90, mean_wrvus, total_wrvus\nFROM rollup_wrvu_specialty\nWHERE specialty ILIKE $1\n  AND state = $2\nORDER BY p50 DESC NULLS LAST, specialty, state\nLIMIT 50 OFFSET 0",
  "params": ["%Cardiology%", "US"],
  "sources": ["rollup_wrvu_specialty"],
  "ms": 3,
  "population": "Medicare fee-for-service Part B volumes (2024) priced with the same year's Physician Fee Schedule work RVUs (RVU24D)...",
  "note": "state = 'US' is the national benchmark; never sum it with state rows...",
  "usage": { "credits": 1, "creditsUsed": 13, "creditsLimit": 5000, "txid": "11403" }
}
```

## Get an organization's authorized official

```http
GET /api/organizations/:npi/official
```

Returns the authorized official listed for a healthcare organization in the NPPES NPI Registry, alongside the organization's registry record. Costs 1 credit, charged only if the organization exists.

`:npi` must be 10 digits, otherwise the call returns `400` with `NPI must be 10 digits.` An unknown NPI, or an individual clinician NPI (`entity_type = 'I'`), returns `404` and is not charged. Unknown query parameters return `400`.

### Example

```sh
curl "$OPH_API/api/organizations/1234567893/official" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "npi": 1234567893,
  "organization": {
    "npi": "1234567893",
    "entity_type": "O",
    "name": "EXAMPLE ORTHOPEDIC CLINIC LLC",
    "specialty": "Clinic/Center",
    "address1": "100 MAIN ST",
    "city": "COLUMBUS",
    "state": "OH",
    "zip5": "43215",
    "phone": "6145550100"
  },
  "official": {
    "npi": "1234567893",
    "name": "JANE EXAMPLE",
    "first_name": "JANE",
    "last_name": "EXAMPLE",
    "credentials": "MBA",
    "title": "CHIEF EXECUTIVE OFFICER",
    "title_group": "ceo",
    "phone": "6145550199",
    "is_subpart": false,
    "parent_org_name": null,
    "last_updated": "2025-08-14"
  },
  "caveat": "Published CMS NPPES business contact data, self-reported when the organization applied for or last updated its NPI (last_updated). Verify before outreach.",
  "sql": { "organization": "...", "official": "..." },
  "sources": ["org_officials", "providers"],
  "ms": 4,
  "usage": { "credits": 1, "creditsUsed": 14, "creditsLimit": 5000, "txid": "11404" }
}
```

### `title_group` values

`title_group` is a keyword bucket derived from the free-text `title`: `owner`, `ceo`, `finance`, `operations`, `president`, `administrator`, `clinician`, `manager`, `administrative`, or `other`.

## Caveats

- **Medicare fee-for-service only.** Work RVUs in `provider_wrvus` and `rollup_wrvu_specialty` count Original Medicare Part B only. Commercial, Medicare Advantage and Medicaid volume is absent, so medians are far below all-payer compensation survey benchmarks (MGMA, AMGA) and clinicians with mostly non-Medicare panels (pediatrics, obstetrics) appear artificially low.
- **Same-year RVUs.** Service volumes are calendar year 2024 (`medicare_service`) and are priced with the 2024 Physician Fee Schedule (October release, `RVU24D`), so codes deleted since (such as the 2024 telephone visits 99441-99443) still count and later revaluations do not apply. Only codes paid under the fee schedule (status A, R or T) earn work RVUs.
- **Partial surgical services.** Because the Medicare Part B service file omits modifiers, rows on 10- or 90-day global surgical codes whose average allowed amount is under 40% of the national fee (assistants at surgery, post-operative co-management) are scaled proportionally in `total_wrvus`. `unadjusted_wrvus` preserves the raw sum.
- **Self-reported business contacts.** `org_officials` reflects whoever signed the organization's NPI application or last NPPES update (`last_updated`). In large health systems, the official is frequently a credentialing or compliance officer listed across many NPIs.
