# Price API

What hospitals and insurers agreed to pay, with the file behind every rate.

Covers: commercial, Medicare Advantage, Medicare fee-for-service · 5 sub-APIs · 8 tools

## Compare rates (API plans: Prices pack)

What does this procedure cost across hospitals and insurers in a market, or across a whole service line?

| tool | returns | required |
|---|---|---|
| compare_hospital_rates v1.22.0 | NEGOTIATED RATES BY INSURER AND PLAN ARE SERVED HERE: hospital price-transparency files carry the rate each hospital filed for each payer and plan (the insurer-file / TiC tools are coming soon). | billing_code |
| get_service_line_prices v1.0.0 | A market's or a hospital's negotiated prices across a whole SERVICE LINE in ONE call: GI endoscopy, MRI, CT, cardiology, orthopedics, maternity, lab, and the rest of CMS's 70 shopp | none |

**A real request and answer** (`compare_hospital_rates`, customer seat, 6.51 s):

```bash
curl -X POST https://api.vladahealth.com/v1/tools/compare_hospital_rates -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" -d '{"billing_code":"70450","state":"CT","line_of_business":"commercial","limit":3}'
```

```json
{
 "value": {
  "cheapest": [
   {
    "hospital_ccn": "070005",
    "hospital_name": "WATERBURY HOSPITAL",
    "hospital_state": "CT",
    "payer_name": "Aetna",
    "payer_parent_name": "CVS Health",
    "payer_resolution": "resolved",
    "payer_parents_sharing_price": 1,
    "payer_labels_sharing_price": 1,
    "payer_entity_class": null,
    "plan_name": "Commercial",
    "line_of_business": "commercial",
    "plan_product_structure": null,
    "billing_class": "institutional",
    "code_system": "CPT",
    "methodology": "fee_schedule",
    "methodology_family": "fee_schedule",
    "rate": 44.03,
    "gross_charge": null,
    "cash_price": null,
    "x_medicare": 0.41,
    "x_medicare_wage_adjusted": 0.35,
    "medicare_allowed_wage_adjusted": 125.33,
    "wage_index": 1.289,
    "wage_index_fiscal_year": 2026,
    "wage_adjustment_status": "wage_adjusted",
    "facility_type": "acute",
    "plausibility": "not_assessed",
    "rank_tier": "stated_methodology",
    "price_kind": "negotiated price",
    "price_basis": "hospital-stated fee schedule"
   },
   {
    "hospital_ccn": "070027",
    "hospital_name": "MANCHESTER MEMORIAL HOSPITAL",
    "hospital_state": "CT",
    "payer_name": "Aetna Whole Health",
    "payer_parent_name": "CVS Health",
    "payer_resolution": "resolved",
    "payer_parents_sharing_price": 1,
    "payer_labels_sharing_price": 1,
    "payer_entity_class": null,
    "plan_name": "Commercial",
    "line_of_business": "commercial",
    "plan_product_structure": null,
    "billing_class": "institutional",
    "code_system": "CPT",
    "methodology": "fee_schedule",
    "methodology_family": "fee_schedule",
    "rate": 61.71,
    "gross_charge": null,
    "cash_price": null,
    "x_medicare": 0.58,
    "x_medicare_wage_adjusted": 0.49,
    "medic
... (truncated; full answer on the tool's page)
```

## Price proof (API plans: Prices pack)

What does this plan pay this hospital for this code, with a receipt that can be re-run?

| tool | returns | required |
|---|---|---|
| plan_hospital_price v1.5.0 | One hospital, one code, the rate by payer and plan name as the hospital filed it (where negotiated rates by insurer live today; the insurer-file / TiC tools are coming soon). | hospital_ccn, billing_code |
| prove_hospital_price v1.5.0 | One hospital, one code, the rate by payer and plan name with a receipt (where negotiated rates by insurer live today; the insurer-file / TiC tools are coming soon). | hospital_ccn, billing_code |
| replay_hospital_price v1.5.0 | Replay a hospital price-proof receipt by re-running its recorded tool inputs and comparing response hash, Iceberg snapshot, plan hash, row count, status, and raw-byte source descriptor. | receipt |

**A real request and answer** (`plan_hospital_price`, customer seat, 3.62 s):

```bash
curl -X POST https://api.vladahealth.com/v1/tools/plan_hospital_price -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" -d '{"hospital_ccn":"070005","billing_code":"70450"}'
```

```json
{
 "value": {
  "proof_kind": "hospital_price_proof",
  "source_table": "fact_hospital_chargemaster",
  "hospital_ccn": "070005",
  "billing_code": "70450",
  "version_id": null,
  "planned_file_count": 1,
  "planned_bytes": 93233000,
  "planned_record_count": 1908186,
  "planned_delete_file_count": 0,
  "plan_manifest_hash": "432b007b75d09646abed67f2ed3107945c3e9902b0518a03d1cffbceaa5b8abb",
  "row_count": 0,
  "status": "planned",
  "all_rows_have_byte_provenance": true,
  "distinct_payer_names": [],
  "distinct_plan_names": [],
  "distinct_billing_classes": [],
  "distinct_methodologies": [],
  "distinct_content_sha256": [],
  "distinct_raw_s3_keys": [],
  "distinct_mrf_version_ids": [],
  "verdict": "planned"
 },
 "unit": null,
 "vintage": null,
 "methodology": null,
 "caveats": [],
 "response_hash": "c7173201617306835e2cb531b57d8a83dd98b306cc71a24f1863c3335123a7c7",
 "semantic_version": 1,
 "tool_version": "plan_hospital_price@1.5.0",
 "explanation": null,
 "status": "complete",
 "proof_id": "hospitalprice_e1915d7121219695",
 "receipt": {
  "receipt_version": "hospital_price_proof_receipt.v0",
  "substrate": "hospital",
  "proof_kind": "hospital_price_proof",
  "proof_id": "hospitalprice_e1915d7121219695",
  "tool_name": "plan_hospital_price",
  "tool_version": "1.5.0",
  "source_table": "fact_hospital_chargemaster",
  "source_descriptor": {
   "table": "fact_hospital_chargemaster",
   "snapshot_id": "4789942790573672775",
   "raw_s3_keys": [],
   "content_sha256": [],
   "mrf_version_ids": [],
   "source_urls": [],
   "parser_artifact_hashes": [],
   "s3_version_ids": []
  },
  "read_snapshot_set": {
   "fact_hospital_chargemaster": "4789942790573672775"
  },
  "filters": {
   "hospital_ccn": "070005",
   "billing_code": "70450",
   "current_only": true
  },
  "gu
... (truncated; full answer on the tool's page)
```

## Medicare benchmark

What does Medicare pay for the same service?

| tool | returns | required |
|---|---|---|
| medicare_allowed v0.1.0 | Returns the Medicare allowed amount for ONE billing code (CPT/HCPCS, or an MS-DRG for inpatient) from every Medicare fee schedule that prices it: PFS (professional, national non-fa | billing_code |

**A real request and answer** (`medicare_allowed`, customer seat, 6.39 s):

```bash
curl -X POST https://api.vladahealth.com/v1/tools/medicare_allowed -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" -d '{"billing_code":"70450","medicare_year":2026}'
```

```json
{
 "value": {
  "found": true,
  "not_found_reason": null,
  "summary": {
   "billing_code": "70450",
   "medicare_allowed": 106.81,
   "unit": "USD",
   "medicare_source": "OPPS_APC",
   "fee_schedule": "OPPS",
   "component": "facility",
   "site": "hospital_outpatient",
   "billing_class": "institutional",
   "medicare_year": 2026,
   "basis": "national",
   "locality_adjusted": false,
   "preferred_by": "default_setting_order",
   "schedules_pricing_code": [
    "ASC",
    "OPPS_APC",
    "PFS_non_facility"
   ],
   "schedule_count": 3,
   "latest_year_by_schedule": {
    "ASC": 2027,
    "OPPS_APC": 2027,
    "PFS_non_facility": 2027
   },
   "medicare_year_selection": "pinned_by_caller"
  },
  "settings": [
   {
    "billing_code": "70450",
    "medicare_source": "ASC",
    "billing_class": "institutional",
    "medicare_allowed": 57.04,
    "unit": "USD",
    "medicare_year": 2026,
    "fee_schedule": "ASC",
    "component": "facility",
    "site": "ambulatory_surgical_center",
    "basis": "national",
    "locality_adjusted": false,
    "note": "ASC addendum payment_rate, national (no wage index)."
   },
   {
    "billing_code": "70450",
    "medicare_source": "OPPS_APC",
    "billing_class": "institutional",
    "medicare_allowed": 106.81,
    "unit": "USD",
    "medicare_year": 2026,
    "fee_schedule": "OPPS",
    "component": "facility",
    "site": "hospital_outpatient",
    "basis": "national",
    "locality_adjusted": false,
    "note": "Addendum B APC payment_rate, national (no wage index). Do NOT benchmark a facility charge against PFS."
   },
   {
    "billing_code": "70450",
    "medicare_source": "PFS_non_facility",
    "billing_class": "professional",
    "medicare_allowed": 106.55,
    "unit": "USD",
    "medicare_year": 2026,
    "fee_schedule": "
... (truncated; full answer on the tool's page)
```

## Hospital quality

What are this hospital's CMS star rating and quality measures?

| tool | returns | required |
|---|---|---|
| get_hospital_quality v0.1.0 | Returns one hospital's CMS Care Compare quality record by CCN: the overall star rating (1-5) with hospital type / ownership; every Care Compare measure for the hospital (mortality | ccn |

**A real request and answer** (`get_hospital_quality`, customer seat, 4.44 s):

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

```json
{
 "value": {
  "found": true,
  "not_found_reason": null,
  "summary": {
   "ccn": "070005",
   "facility_name": "WATERBURY HOSPITAL",
   "city": "WATERBURY",
   "state": "CT",
   "hospital_type": "Acute Care Hospitals",
   "hospital_ownership": "Proprietary",
   "emergency_services": true,
   "overall_rating": 2,
   "overall_rating_status": "available",
   "overall_rating_not_available_reason": null,
   "overall_rating_footnote": null,
   "overall_rating_vintage": "2026-09-22",
   "measure_count": 106,
   "measures_available": 79,
   "measures_not_available": 27,
   "measures_by_source": {
    "complications_deaths": {
     "available": 18,
     "not_available": 2
    },
    "healthcare_assoc_infections": {
     "available": 33,
     "not_available": 3
    },
    "maternal_health": {
     "available": 0,
     "not_available": 4
    },
    "outpatient_imaging_efficiency": {
     "available": 1,
     "not_available": 1
    },
    "timely_care": {
     "available": 16,
     "not_available": 14
    },
    "unplanned_visits": {
     "available": 11,
     "not_available": 3
    }
   },
   "measure_groups": [
    {
     "measure_group": "complications_deaths",
     "measure_count": 20,
     "available": 18,
     "not_available": 2,
     "vs_national": {
      "No Different Than the National Rate": 11,
      "No Different Than the National Value": 1
     }
    },
    {
     "measure_group": "healthcare_assoc_infections",
     "measure_count": 36,
     "available": 33,
     "not_available": 3,
     "vs_national": {
      "No Different than National Benchmark": 24,
      "Better than the National Benchmark": 6
     }
    },
    {
     "measure_group": "maternal_health",
     "measure_count": 4,
     "available": 0,
     "not_available": 4
    },
    {
     "measure_group": "out
... (truncated; full answer on the tool's page)
```

## State coverage

What do we hold for this state, what must it publish, and what is missing?

| tool | returns | required |
|---|---|---|
| state_expert v1.2.1 | The callable STATE EXPERT — the data-availability + regulation X-ray for a US state. | state_code |

**A real request and answer** (`state_expert`, customer seat, 6.06 s):

```bash
curl -X POST https://api.vladahealth.com/v1/tools/state_expert -H "Authorization: Bearer $VLADA_API_KEY" -H "Content-Type: application/json" -d '{"state_code":"CT"}'
```

```json
{
 "value": {
  "state_code": "CT",
  "state_name": "Connecticut",
  "found": true,
  "fips": "09",
  "data_availability": {
   "hospitals_priced": 39,
   "hospital_price_rows": 42731575,
   "distinct_billing_codes": 110242,
   "care_sites_mapped": 19400,
   "care_sites_verified": 441,
   "payers_with_coverage": 36
  },
  "regulation": {
   "transparency_regime": "state-plus",
   "required_disclosures": [
    {
     "name": "hospital_hpt",
     "authority": "federal CMS HPT rule"
    },
    {
     "name": "payer_tic",
     "authority": "federal TiC rule"
    }
   ],
   "public_datasets": [
    {
     "name": "CT APCD",
     "kind": "all_payer_claims_database",
     "status": "mandatory",
     "ingested": false,
     "note": "CT runs a mandatory APCD (CT Office of Health Strategy) \u2014 richer than MRFs; not yet ingested = known gap"
    },
    {
     "name": "CT DOI rate filings",
     "kind": "doi_rate_filings",
     "status": "public",
     "ingested": false
    },
    {
     "name": "CHIME / hospital reporting",
     "kind": "state_hospital_reports",
     "status": "public",
     "ingested": false
    }
   ],
   "apcd_status": "mandatory",
   "completeness_bar": "all CT acute hospitals priced (HPT) + dominant carriers built (TiC) + APCD ingested for the claims-grounded layer",
   "source_urls": [
    "https://portal.ct.gov/ohs"
   ],
   "reviewed_by": "seed_2026-06-21"
  },
  "gaps": [
   {
    "item": "CT APCD",
    "kind": "all_payer_claims_database",
    "severity": "known_gap",
    "detail": "CT runs a mandatory APCD (CT Office of Health Strategy) \u2014 richer than MRFs; not yet ingested = known gap"
   },
   {
    "item": "CT DOI rate filings",
    "kind": "doi_rate_filings",
    "severity": "known_gap",
    "detail": "exists but not ingested"
   },
   {
    "
... (truncated; full answer on the tool's page)
```

**Limits.**
- One payment basis per figure. A fee schedule, a per diem and a percent of charges are never blended.
- Always give the hospital's state. Send price calls one after another, not in parallel.
- Whole rate files are not delivered through this API.

**What sets it apart.** Every number carries its source file and its payment basis; a receipt can be replayed.
