Medicaid Rate API

Programmatic access to Medicaid reimbursement rates across ten states. Look up outpatient fee schedules, full inpatient or outpatient hospital claim pricing, and provider data in real time.

Why the API

Automate

Build rate lookups into your everyday pricing workflows.

Scale

Batch-price hundreds of claims in one call. Most responses in under one second.

Integrate

RESTful JSON. Any language, any platform.

Getting Started

Authentication

All requests need a Bearer token in the Authorization header. A key works in every state. Don't have a key? Create one.

Base URL: https://api.staterates.health/api/v1

The key must go in the Authorization header, not the URL; we reject ?api_key=… with 400 api_key_in_query so keys never end up in access logs or browser history.

Follow best practices to keep your keys safe. Don't embed secret API keys in source code or client-side applications. Instead, use your server platform's secrets vault to provide keys to your server-side applications. If your platform doesn't offer a secrets vault, set your keys in environment variables.

Request
curl "https://api.staterates.health/api/v1/ca/outpatient/rate?billing_code=99213&npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import os
import time
import requests

API_KEY = os.environ["STATERATES_API_KEY"]
URL = "https://api.staterates.health/api/v1/tx/inpatient/rate/batch"

def price_claims(claims, max_retries=5):
    headers = {"Authorization": f"Bearer {API_KEY}"}
    for attempt in range(max_retries):
        resp = requests.post(URL, headers=headers,
                             json={"requests": claims}, timeout=30)
        if resp.status_code == 429:
            time.sleep(2 ** attempt)   # 1s, 2s, 4s, 8s, 16s
            continue
        resp.raise_for_status()
        return resp.json()
    raise RuntimeError("rate-limited after all retries")

claims = [{
    "npi": "1831128974", "billing_code": "593-4",
    "length_of_stay": 10, "discharge_date": "2026-03-01",
}]
for r in price_claims(claims)["results"]:
    # request_index is the claim's position in the list you sent.
    print(r["request_index"], r["payment_rate"] if r["rate_found"] else r["error_message"])
GET/az/inpatient/rate

Arizona Inpatient Claims

APR-DRG inpatient payment, with transfer, cost outlier, pediatric and Differential Adjusted Payment adjustments, and the behavioral health per diem. The discharge date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code, with or without severity: '560-1' prices that severity level; '560' returns all four.
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringAHCCCS provider ID (six digits).
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that matched.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Arizona prices inpatient stays by date of discharge. Defaults to today.
length_of_stayintegerLength of stay in days. Used for transfer claims and the behavioral health per diem.
transfer_claimbooleanTrue when the patient was transferred to another facility (discharge status 02, 05, 66, 82, 85 or 94). Needs length_of_stay. Defaults to false.
total_chargesdecimalTotal covered charges (UB-04 FL47). Needed to evaluate the cost outlier, and to apply the lesser of billed charges on a behavioral health per diem.
child_patientbooleanTrue if the patient is 18 or younger. Defaults to false.
psych_primary_diagbooleanTrue if the claim's primary diagnosis is F01 through F99. Needs length_of_stay. Defaults to false.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringAHCCCS provider ID.
provider_namestringProvider name.
provider_typestringProvider type (HOSPITAL).
provider_type_labelstringHuman-readable provider type label.
critical_access_hospitalbooleanTRUE for Critical Access Hospitals.
high_utilization_out_of_statebooleanTRUE for the out-of-state hospitals Arizona lists with their own rates.
ccnstringCMS Certification Number.
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county. Not published for Arizona; always null.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
apr_drg_codestringBase APR-DRG code.
soiintegerSeverity of illness (1-4).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
relative_weightdecimalAPR-DRG relative weight.
alosdecimalNational average length of stay for the DRG, used to prorate transfers.
service_policy_adjustor_useddecimalService policy adjustor applied: the pediatric value when child_patient is true, otherwise the adult value.
final_drg_base_ratedecimalThe hospital's wage-adjusted DRG base rate.
hold_harmless_adjustordecimalHigh Medicaid volume hold-harmless adjustor on the hospital.
ip_dap_multiplierdecimalDifferential Adjusted Payment multiplier on the hospital for the contract year, applied last.
base_paymentdecimalBase rate × weight × hold-harmless adjustor × service policy adjustor, before transfer, outlier and the Differential Adjusted Payment.
transfer_adjustment_appliedbooleanTRUE when the transfer proration lowered the DRG amount. Suppressed (null) otherwise.
transfer_paymentdecimalDRG amount after the transfer proration (transfer claims only).
transfer_notestringWhy a transfer claim was not prorated.
ip_cost_to_charge_ratiodecimalThe hospital's inpatient cost-to-charge ratio, used for the cost outlier.
cost_outlier_fixed_loss_thresholddecimalThe fixed-loss amount added to the DRG amount to set the outlier threshold.
outlier_marginal_cost_pctdecimalShare of cost above the threshold paid as the outlier.
estimated_costdecimalTotal charges × the hospital's cost-to-charge ratio.
outlier_adjustment_appliedbooleanTRUE when a cost outlier was paid. Suppressed (null) otherwise.
outlier_amountdecimalCost outlier payment before the Differential Adjusted Payment.
psych_per_diemdecimalThe Psychiatric Stay per diem (behavioral health principal diagnosis only).
charge_cap_appliedbooleanTRUE when billed charges were lower than the per diem total and set the payment. Suppressed (null) otherwise.
calculation_notestringContext on how the stay priced. Null otherwise.
length_of_stay_usedintegerLength of stay used (echoed from request).
total_charges_useddecimalTotal charges used (echoed from request).
transfer_claim_usedbooleanEcho of transfer_claim. TRUE when submitted as true; suppressed (null) when FALSE.
child_patient_usedbooleanEcho of child_patient. TRUE when submitted as true; suppressed (null) when FALSE.
psych_primary_diag_usedbooleanEcho of psych_primary_diag. TRUE when submitted as true; suppressed (null) when FALSE.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/az/inpatient/rate?\
billing_code=560-1&\
npi=1234567890&\
discharge_date=2026-03-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "reference_id": null,
    "request_index": null,
    "rate_found": true,
    "provider_matches_total": null,
    "error_message": null,
    "error_code": null,
    "npi": "1234567890",
    "state_provider_id": "123456",
    "provider_name": "EXAMPLE REGIONAL HOSPITAL",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "critical_access_hospital": true,
    "high_utilization_out_of_state": null,
    "ccn": "031300",
    "street_address": "100 MAIN ST",
    "city": "PARKER",
    "county": null,
    "state": "AZ",
    "zip_code": "85344",
    "billing_code": "560-1",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "Vaginal Delivery",
    "apr_drg_code": "560",
    "soi": 1,
    "payment_rate": "3313.43",
    "payment_rate_type": "claim",
    "calculation_method": "$7,014.00 (Final DRG Base Rate) × 0.2988 (Relative Weight) × 1 (Hold-Harmless Adjustor) × 1.55 (Service Policy Adjustor) × 1.02 (Differential Adjusted Payment) = $3,313.43 (Estimated Payment)",
    "relative_weight": "0.2988",
    "alos": "2.0500",
    "service_policy_adjustor_used": "1.5500",
    "final_drg_base_rate": "7014.0000",
    "hold_harmless_adjustor": "1.0000",
    "ip_dap_multiplier": "1.0200",
    "base_payment": "3248.46",
    "transfer_adjustment_applied": null,
    "transfer_payment": null,
    "transfer_note": null,
    "ip_cost_to_charge_ratio": "0.2540",
    "cost_outlier_fixed_loss_threshold": "5000.00",
    "outlier_marginal_cost_pct": "0.8000",
    "estimated_cost": null,
    "outlier_adjustment_applied": null,
    "outlier_amount": null,
    "psych_per_diem": null,
    "charge_cap_applied": null,
    "calculation_note": null,
    "length_of_stay_used": null,
    "total_charges_used": null,
    "transfer_claim_used": null,
    "child_patient_used": null,
    "psych_primary_diag_used": null,
    "discharge_date_used": "2026-03-15",
    "effective_start_date": "2025-10-01",
    "effective_end_date": "2026-03-31"
  }
]
POST/az/inpatient/rate/batch

Look up multiple AZ inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "reference_id": "row-1",
      "npi": "1234567890",
      "billing_code": "560-1",
      "discharge_date": "2026-03-15"
    },
    {
      "reference_id": "row-2",
      "npi": "1234567890",
      "billing_code": "139-2",
      "discharge_date": "2026-03-15",
      "total_charges": 250000
    }
  ]
}
POST/az/outpatient/claim

Arizona Outpatient Claims

Price a whole Arizona Medicaid (AHCCCS) hospital outpatient claim (UB-04) in one request. Lines price from the Outpatient Hospital Fee Schedule with the hospital's peer group and Differential Adjusted Payment, and lines with no fee pay a percentage of charges. Emergency, surgery and observation bundling, multiple surgery, published modifier rates and the lesser of billed charges are applied. Returns expected reimbursement for a clean, payable claim: pricing, not adjudication.

Parameters

NameTypeDescription
npi1 requiredstringBilling hospital NPI (10 digits). Provide npi, state_provider_id or provider_name.
state_provider_id1 requiredstringBilling hospital AHCCCS provider ID (six digits).
provider_name1 requiredstringBilling hospital name (partial match, min 2 characters). It must match exactly one Arizona hospital; several matches return claim_priced=false naming them.
date_of_servicerequiredstringStatement from-date of the claim (MM/DD/YYYY or YYYY-MM-DD). Arizona values an outpatient claim on its beginning date of service: it selects the fee schedule, the hospital's peer group and ratio, and the modifier table for every line.
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
linesrequiredarrayClaim lines (1-99). Each line: revenue_code (required, 3 or 4 digits), hcpcs (optional, HCPCS/CPT code; a line without one prices as a percentage of its charges), modifier (optional) and modifiers (optional, up to 4; read together), units (optional, default 1; observation lines count hours), billed_charges (optional; required to price a percent-of-charges line, and the ceiling on a fee schedule line), service_date (optional, defaults to date_of_service; used only to group lines for same-day edits), line (optional line number, echoed).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
claim_pricedbooleanFalse when the claim could not be priced at all (hospital not found, not on the outpatient peer group list, or an ambiguous name).
error_messagestringExplanation when claim_priced is false.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null when the claim was priced.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
npistringBilling hospital NPI (echoed, or resolved).
state_provider_idstringBilling hospital AHCCCS provider ID.
provider_namestringHospital name.
critical_access_hospitalbooleanTrue for a Critical Access Hospital.
citystringHospital city.
countystringHospital county. Not published for Arizona; always null.
date_of_servicedateStatement from-date (echoed).
pricing_pathstringAlways fee_schedule_with_bundling: lines price from the Outpatient Hospital Fee Schedule, with emergency, surgery and observation bundling and percent of charges for lines with no fee.
claim_totaldecimalFee-for-service expected reimbursement for the claim: the sum of line allowed amounts.
total_billed_chargesdecimalSum of line billed charges, when provided.
total_linesintegerNumber of lines submitted.
lines_pricedintegerNumber of lines with an allowed amount (including $0 lines).
linesarrayPer-line results, in submitted order. Each line: rate_found (with error_message and error_code when a line can't be priced, see Errors > When no rate is found), pricing_bucket (fee_schedule, emergency_fee_schedule, clinic_fee_schedule, modifier_amount, percent_of_charges, bundled, not_payable_on_claim_type, zero_charge), bundled, allowed_amount, hcpcs_description, calculation_method, calculation_note, plus the echoed line, revenue_code, hcpcs, modifier, modifiers, units, billed_charges and service_date.
claim_calculationstringHow the claim total was assembled, in short sentences: the lines priced, each rule that fired, and the total.
rules_appliedarrayMachine-readable claim-rule events in the order applied (e.g., not_covered_revenue, zero_charge, trigger_bundling, modifier_priced, multiple_surgery, billed_charges_cap). claim_calculation is rendered from exactly these events.
flagsarrayInformational flags, each {code, line, message}: a machine-readable code, the claim line it refers to (null when claim-level), and a plain-English explanation naming the AHCCCS document it comes from. Flags never change the returned pricing. Every code is listed in the flag legend below.
peer_groupstringThe hospital's outpatient peer group, which sets its percentage of the fee schedule by code range.
op_dap_percentagedecimalThe hospital's outpatient Differential Adjusted Payment increase for the contract year, applied to fee schedule lines.
effective_percent_of_chargesdecimalThe hospital's urban or rural cost-to-charge ratio, paid on lines with no fee schedule amount.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.

Flag legend

Flags are informational. They never change the returned pricing. Applied-rule flags accompany amounts the pricing already reflects. Denial-risk notices mark lines priced as if billed correctly that an adjudicator may pay differently.

Applied payment rules (amounts already reflect these)
NOT_PAYABLE_ON_CLAIM_TYPEThe revenue code is not covered on a hospital outpatient claim, or the line carries a surgeon's professional-service modifier Arizona no longer pays a hospital for. The line pays $0.
ZERO_CHARGE_LINEThe line was billed with zero charges and pays $0.
OPFS_BUNDLED_UNDER_TRIGGERThe claim has an emergency visit, a surgery or an observation stay, and this line's revenue code is included in that payment. The line pays $0.
OPFS_SURGERY_BUNDLE_EXCEPTIONA procedure Arizona excepts from surgery-or-procedure bundling still prices on a bundled revenue code.
DEVICE_PAID_SEPARATELYA device or implant code Arizona excepts from surgery-or-procedure bundling still prices on a bundled revenue code.
MULTIPLE_SURGERY_REDUCTIONThe highest-fee surgery pays 100% and secondary surgeries and further units pay 50%.
MOD51_EXEMPT_100_PERCENTModifier 79 exempts the line from the multiple surgery reduction, so it pays 100%.
OPFS_MODIFIER_PRICEDArizona publishes a percentage or an amount for the code with this modifier, and the line is priced with it. A bilateral procedure (modifier 50) pays 150%, and 75% as a secondary procedure.
COST_TO_CHARGE_LINEThe procedure code is not on Arizona's Outpatient Hospital Fee Schedule for the date, so the line is priced at the hospital's cost-to-charge ratio. Arizona does not publish which codes it covers.
BILLED_CHARGES_CAP_APPLIEDA fee schedule line priced above its billed charges and is paid at the charges.
PEER_GROUP_PERCENT_APPLIEDThe hospital's peer group sets its percentage of the fee schedule. Each fee schedule line shows its multiplier.
DAP_APPLIEDThe hospital's Differential Adjusted Payment increase is applied to fee schedule lines.
Denial-risk notices (line still priced in full)
MISSING_HCPCSArizona requires this revenue code to be billed with a HCPCS/CPT code and the line has none. Priced at the cost-to-charge ratio.
INVALID_REVENUE_CODEThe revenue code is not on Arizona's list for a hospital outpatient claim. Priced by its procedure code or charges.
REV_HCPCS_PAIR_INVALIDArizona does not list the procedure as reportable with the revenue code. Priced as if the pairing were valid.
MODIFIER_NOT_VALID_OPFSThe modifier is not on Arizona's list for the code on this date. Priced without the modifier.
MODIFIER_COMBINATION_UNPUBLISHEDThe line carries more than one price-changing modifier, and Arizona does not publish how they combine. Only the first is applied.
STATE_CODE_PAIR_EDITArizona lists the code as not separately payable with another code on the claim, or the line matches one of the claim edits AHCCCS added on 09/04/2026.
DUPLICATE_SERVICEThe same procedure is on another line for the same date of service. Arizona expects one line with units.
OBSERVATION_OVER_HOUR_CAPObservation hours exceed 24. Arizona reviews these for medical necessity. There is no cap, so every hour is priced.
NCCI_PTP_CONFLICTBilled with its NCCI column-1 partner code on the same day. The component line may be denied on adjudication.
MUE_UNITS_EXCEEDEDUnits exceed the Medicaid daily maximum for this code.
Line handling (explains a line priced differently than sent)
PROFESSIONAL_MODIFIER_IGNOREDModifier 26 or TC is not on Arizona's list for the code on a hospital claim. The line is priced at the full fee schedule rate.
Request
curl -X POST "https://api.staterates.health/api/v1/az/outpatient/claim" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "npi": "1234567890",
    "date_of_service": "2026-03-15",
    "lines": [
      {"revenue_code": "0450", "hcpcs": "99284", "units": 1, "billed_charges": 1850.00},
      {"revenue_code": "0250", "units": 1, "billed_charges": 96.00},
      {"revenue_code": "0300", "hcpcs": "80053", "units": 1, "billed_charges": 210.00}
    ]
  }'
Sample response
{
  "reference_id": null,
  "claim_priced": true,
  "error_message": null,
  "error_code": null,
  "npi": "1234567890",
  "state_provider_id": "123456",
  "provider_name": "EXAMPLE MEDICAL CENTER",
  "critical_access_hospital": null,
  "city": "PHOENIX",
  "county": null,
  "date_of_service": "2026-03-15",
  "pricing_path": "fee_schedule_with_bundling",
  "claim_total": "349.18",
  "total_billed_charges": "2156.00",
  "total_lines": 3,
  "lines_priced": 3,
  "lines": [
    {
      "line": 1,
      "revenue_code": "0450",
      "hcpcs": "99284",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "billed_charges": "1850.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "emergency_fee_schedule",
      "bundled": false,
      "allowed_amount": "338.41",
      "hcpcs_description": "Emergency department visit for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and moderate level of medical decision making",
      "calculation_method": "$221.18 (OPFS Emergency Sheet Base Rate) × 1.5 (Peer Group Multiplier) × 1.02 (Differential Adjusted Payment) = $338.41",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 2,
      "revenue_code": "0250",
      "hcpcs": null,
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "billed_charges": "96.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "bundled",
      "bundled": true,
      "allowed_amount": "0.00",
      "hcpcs_description": null,
      "calculation_method": "$0.00. Revenue code 0250 is included in the payment for the emergency department visit on this claim.",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 3,
      "revenue_code": "0300",
      "hcpcs": "80053",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "billed_charges": "210.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "fee_schedule",
      "bundled": false,
      "allowed_amount": "10.77",
      "hcpcs_description": "Comprehensive metabolic panel",
      "calculation_method": "$10.56 (OPFS Fee Schedule) × 1 (Peer Group Multiplier) × 1.02 (Differential Adjusted Payment) = $10.77",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    }
  ],
  "claim_calculation": "3 of 3 lines priced. The claim has an emergency department visit on line 1, whose payment includes the associated services. Line 2 is bundled into it and pays $0. Claim total = $349.18.",
  "rules_applied": [
    {
      "rule": "trigger_bundling",
      "kind": "emergency",
      "trigger_lines": [
        1
      ],
      "bundled_lines": [
        2
      ],
      "exception_lines": []
    }
  ],
  "flags": [
    {
      "code": "OPFS_BUNDLED_UNDER_TRIGGER",
      "line": 2,
      "message": "This claim has an emergency department visit (line 1). Arizona includes the services billed under revenue code 0250 in that payment, on every date of the claim, so this line pays $0 (Arizona Administrative Code R9-22-712.25; AHCCCS Bundled Revenue Codes extract, RF796)."
    }
  ],
  "peer_group": "URBAN_TRAUMA",
  "op_dap_percentage": "0.0200",
  "effective_percent_of_charges": "0.1441",
  "effective_start_date": "2025-10-01",
  "effective_end_date": "2026-03-31"
}
POST/az/outpatient/claim/batch

Price multiple AZ outpatient claims in a single POST request. Maximum 1,000 claims and 30,000 total lines per batch. Set your client timeout to at least 300 seconds.

Batch request
{
  "requests": [
    {
      "reference_id": "claim-0001",
      "npi": "1234567890",
      "date_of_service": "2026-03-15",
      "lines": [
        {
          "revenue_code": "0450",
          "hcpcs": "99284",
          "units": 1,
          "billed_charges": 1850
        }
      ]
    },
    {
      "reference_id": "claim-0002",
      "npi": "1234567890",
      "date_of_service": "2026-03-16",
      "lines": [
        {
          "revenue_code": "0300",
          "hcpcs": "80053",
          "units": 1,
          "billed_charges": 210
        }
      ]
    }
  ]
}
GET/az/outpatient/rate

Arizona Outpatient Rates

Pricing routes by provider type across Arizona's methods: the Outpatient Hospital Fee Schedule with peer groups, and the ASC, physician, anesthesia, imaging and clinical laboratory schedules. The date of service determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringAHCCCS provider ID (six digits). Hospitals only.
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that matched.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER (case-insensitive); any other value is rejected. If omitted, resolved from the provider.
modifierstringProcedure modifier (e.g., 26, TC, 50). Priced only where Arizona publishes a rate or a percentage for the code with that modifier; otherwise no rate is returned.
place_of_servicestringPlace of service (physician codes only). Values: facility, non_facility. If omitted, the non_facility rate is returned.
billed_chargesdecimalCovered billed charges in dollars. Prices the codes Arizona pays as a percentage of charges, and caps a fee schedule rate at the charges. Without it, percent-of-charges responses return the percentage instead of a dollar amount.
anesthesia_minutesintegerTotal anesthesia time in minutes (anesthesia codes only). Without it, the response returns the base units and conversion factor with no dollar amount.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee schedule in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringAHCCCS provider ID (hospitals only).
provider_namestringProvider name.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
critical_access_hospitalbooleanTRUE for Critical Access Hospitals (hospitals only).
primary_taxonomy_codestringNPPES primary taxonomy code.
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county. Not published for Arizona; always null.
statestringProvider state.
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringModifier the rate was priced with: the matched rate row's modifier, or the modifier whose published percentage or amount was applied.
modifier_adjustmentdecimalThe modifier's published factor against the unmodified rate (for example 0.373 for a professional component, 1.5 for a bilateral procedure).
modifier_amountdecimalThe dollar amount Arizona publishes for the code with this modifier, where it publishes an amount in place of a percentage (hospital codes only).
place_of_servicestringPlace of service on the matched row (physician codes): facility or non_facility.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
service_categorystringWhich Arizona schedule priced the code. Values: hospital_fee_schedule, hospital_emergency, hospital_not_on_schedule (the code is not on Arizona's Outpatient Hospital Fee Schedule for the date and is priced at the hospital's cost-to-charge ratio), asc, physician, anesthesia, imaging, clinical_lab.
peer_groupstringThe hospital's outpatient peer group, which sets its percentage of the fee schedule (hospitals only).
az_schedule_ratedecimalThe published schedule amount before any peer group, modifier or Differential Adjusted Payment factor.
peer_group_multiplierdecimalThe peer group's multiplier on the fee schedule for this code (hospital fee schedule rows).
op_dap_percentagedecimalThe hospital's outpatient Differential Adjusted Payment increase for the contract year (for example 0.02), applied to fee schedule rows.
effective_percent_of_chargesdecimalThe fraction of covered charges paid, on percent-of-charges rows: the hospital's urban or rural cost-to-charge ratio, the statewide ASC ratio, or the by-report percentage.
base_unitsdecimalAnesthesia base units for the code, from the CMS anesthesia base-unit file (anesthesia only).
anesthesia_conversion_factordecimalDollars per anesthesia unit (anesthesia only).
time_units_usedintegerTime units derived from anesthesia_minutes (every 15 minutes or part = 1 unit).
charge_cap_appliedbooleanTRUE when billed charges were lower than the fee schedule amount and set the payment. Suppressed (null) otherwise.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringContext on how the rate priced (for example the source of anesthesia base units). Null otherwise.
billed_charges_useddecimalBilled charges used (echoed from request).
anesthesia_minutes_usedintegerAnesthesia minutes used to derive time units (echoed from request, after any cap).
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/az/outpatient/rate?\
billing_code=70450&\
npi=1234567890&\
date_of_service=2026-03-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "reference_id": null,
    "request_index": null,
    "rate_found": true,
    "provider_matches_total": null,
    "error_message": null,
    "error_code": null,
    "npi": "1234567890",
    "state_provider_id": "123456",
    "provider_name": "EXAMPLE REGIONAL MEDICAL CENTER",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "critical_access_hospital": null,
    "primary_taxonomy_code": "282N00000X",
    "primary_taxonomy_display_name": "General Acute Care Hospital",
    "street_address": "100 MAIN ST",
    "city": "KINGMAN",
    "county": null,
    "state": "AZ",
    "zip_code": "86409",
    "billing_code": "70450",
    "billing_code_type": "HCPCS",
    "billing_code_description": "Computed tomography, head or brain; without contrast material",
    "modifier": null,
    "modifier_adjustment": null,
    "modifier_amount": null,
    "place_of_service": null,
    "payment_rate": "105.56",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "$79.00 (OPFS Fee Schedule) × 1.31 (Peer Group Multiplier) × 1.02 (Differential Adjusted Payment) = $105.56",
    "service_category": "hospital_fee_schedule",
    "peer_group": "LARGE_RURAL",
    "az_schedule_rate": "79.00",
    "peer_group_multiplier": "1.3100",
    "op_dap_percentage": "0.0200",
    "effective_percent_of_charges": null,
    "base_units": null,
    "anesthesia_conversion_factor": null,
    "time_units_used": null,
    "charge_cap_applied": null,
    "is_manually_priced": null,
    "calculation_note": null,
    "billed_charges_used": null,
    "anesthesia_minutes_used": null,
    "date_of_service_used": "2026-03-15",
    "effective_start_date": "2021-10-01",
    "effective_end_date": "2026-03-31"
  }
]
POST/az/outpatient/rate/batch

Look up multiple AZ outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "reference_id": "row-1",
      "npi": "1234567890",
      "billing_code": "70450"
    },
    {
      "reference_id": "row-2",
      "npi": "1234567890",
      "billing_code": "99284",
      "date_of_service": "2026-03-15"
    }
  ]
}
GET/az/providers/search

Arizona Provider Search

Search for Arizona Medicaid (AHCCCS) providers by NPI, AHCCCS provider ID, name, city, ZIP, taxonomy, provider type, or Critical Access status. Returns provider details with rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
state_provider_idstringAHCCCS provider ID (six digits; hospitals only).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER.
critical_access_hospitalbooleanFilter hospitals by Critical Access status (HOSPITAL only).
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳state_provider_idstringAHCCCS provider ID (hospitals only).
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization.
↳primary_taxonomystringNPPES primary taxonomy display name.
↳ccnstringCMS Certification Number (hospitals only).
↳critical_access_hospitalbooleanTRUE for Critical Access Hospitals (hospitals only).
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty. Not published for Arizona; always null.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanProvider has outpatient rates available.
↳ip_ratesbooleanProvider has inpatient rates available.
total_resultsintegerHow many providers matched the search in total.
limit_appliedintegerLimit applied to the search.
Request
curl "https://api.staterates.health/api/v1/az/providers/search?\
provider_name=regional&\
provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "state_provider_id": "123456",
      "provider_name": "EXAMPLE REGIONAL MEDICAL CENTER",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "organization",
      "primary_taxonomy": "General Acute Care Hospital",
      "ccn": "030055",
      "critical_access_hospital": false,
      "street_address": "100 MAIN ST",
      "city": "KINGMAN",
      "county": null,
      "state": "AZ",
      "zip_code": "86409",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/ca/inpatient/rate

California Inpatient Claims

Look up a Medi-Cal APR-DRG inpatient payment rate, with adjustments for transfers, cost outliers, and interim claims. The admission date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code (e.g., 593-4 for DRG 593, SOI 4).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringOSHPD ID: California hospital identifier.
provider_name1 requiredstringHospital name (partial match). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
admit_datestringAdmission date (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. California uses the admission date to determine which rate period applies.
transfer_claimbooleanTransfer claim. Discharge status 02, 05, 63, 65, 66, 82, 85, 91, 93, or 94 (transferred to another facility).
interim_claimbooleanDischarge status = 30 (interim claim). Uses per-diem calculation.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
length_of_stayintegerLength of stay in days. If omitted, defaults to the national average LOS for this APR-DRG.
total_chargesdecimalTotal charges from the claim. If omitted, charges are estimated for outlier calculations.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringOSHPD ID: California hospital identifier.
provider_namestringProvider name.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
street_addressstringHospital street address.
citystringHospital city.
zip_codestringHospital ZIP code.
countystringHospital county.
cbsa_codestringCBSA code.
cbsa_descriptionstringCBSA area description.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
apr_drgstringAPR-DRG code.
soiintegerSeverity of Illness level (1–4).
drg_base_ratedecimalHospital-specific DRG base rate (wage-adjusted).
payment_relative_weightfloatPayment relative weight (casemix weight × policy adjustor).
casemix_adjustment_factorfloatHospital casemix adjustment factor.
policy_adjustor_usedstringPolicy adjustor letter used. Values: A, B, C, D (based on age and NICU status).
policy_adjustor_valuefloatPolicy adjustor numeric value.
designated_nicubooleanWhether the hospital is a designated NICU facility.
designated_public_hospitalbooleanWhether this is a Designated Public Hospital. DPHs are reimbursed through certified public expenditures, not APR-DRG; the calculated amount is a reference value.
advisoriesarrayInformational advisories (code + message), e.g. DPH_REFERENCE_PRICING on Designated Public Hospitals. Omitted from the response when there are none.
estimated_costdecimalEstimated cost (total_charges × cost_to_charge_ratio).
drg_base_paymentdecimalBase DRG payment before adjustments.
transfer_adjustment_appliedbooleanWhether transfer adjustment was applied.
transfer_adjusted_amountdecimalPayment after transfer adjustment.
outlier_adjustment_appliedbooleanWhether cost outlier adjustment was applied.
outlier_adjustment_amountdecimalOutlier adjustment amount.
cost_to_charge_ratiofloatHospital cost-to-charge ratio.
outlier_thresholdfloatOutlier threshold amount from the published outlier parameters.
marginal_cost_percentagefloatMarginal cost percentage applied to outlier excess, from the published outlier parameters.
charge_cap_appliedbooleanWhether payment was capped to total charges (lesser-of rule).
is_interim_claimbooleanWhether calculated as an interim claim.
interim_per_diem_amountfloatPer diem rate for interim claim calculation.
length_of_stay_usedintegerLength of stay used in calculation.
national_average_losdecimalNational average LOS for this APR-DRG.
total_charges_useddecimalTotal charges used (actual or estimated).
total_charges_sourcestringWhether charges were 'actual' or 'estimated'.
admit_date_useddateThe admit date the rate was priced against, echoed from the request. When you omit admit_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ca/inpatient/rate?\
  billing_code=593-4&\
  npi=1234567890&\
  length_of_stay=10&\
  total_charges=150000" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": "106194016",
    "provider_name": "CHILDRENS HOSPITAL LOS ANGELES",
    "street_address": "4650 SUNSET BLVD",
    "city": "LOS ANGELES",
    "zip_code": "90027",
    "county": "LOS ANGELES",
    "cbsa_code": "31084",
    "cbsa_description": "Los Angeles-Long Beach-Anaheim, CA",
    "billing_code": "593-4",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "NEONATE BIRTHWT 750-999G W/O MAJOR PROCEDURE",
    "payment_rate": "194522.35",
    "payment_rate_type": "claim",
    "calculation_method": "standard_drg_payment",
    "apr_drg": "593",
    "soi": 4,
    "drg_base_rate": "8950.25",
    "payment_relative_weight": 20.506,
    "casemix_adjustment_factor": 1,
    "policy_adjustor_used": "A",
    "policy_adjustor_value": 1.0294,
    "designated_nicu": true,
    "estimated_cost": "216945.00",
    "drg_base_payment": "183492.50",
    "transfer_adjustment_applied": false,
    "transfer_adjusted_amount": null,
    "outlier_adjustment_applied": true,
    "outlier_adjustment_amount": "11029.85",
    "cost_to_charge_ratio": 0.445,
    "outlier_threshold": 99000,
    "marginal_cost_percentage": 0.53,
    "charge_cap_applied": false,
    "is_interim_claim": false,
    "interim_per_diem_amount": null,
    "length_of_stay_used": 10,
    "national_average_los": "24.80",
    "total_charges_used": "150000.00",
    "total_charges_source": "actual",
    "admit_date_used": "2026-08-01",
    "effective_start_date": "2025-07-01",
    "effective_end_date": null
  }
]
POST/ca/inpatient/rate/batch

Look up multiple CA inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "593-4",
      "npi": "1234567890"
    },
    {
      "billing_code": "194-1",
      "npi": "9876543210",
      "length_of_stay": 5,
      "total_charges": "85000",
      "child_patient": true
    }
  ]
}
POST/ca/outpatient/claim

California Outpatient Claims

Price a whole Medi-Cal institutional outpatient claim (UB-04, type of bill 131) in one request: claim header plus up to 99 lines, with the billing hospital identified by NPI, OSHPD ID, or a name matching exactly one hospital. Medi-Cal prices each line from its per-code rates file, and the engine applies the Medi-Cal claims-level rules (surgical modifier percentages with the exemption list, UA/UB supply allowances, the drug administration-fee deduction, the operating-room cap, same-day rules, the multiple-imaging reduction, per-line lesser-of) and screens the claim against the CMS Medicaid NCCI edits. Returns per-line allowed amounts, the fee-for-service claim total, and informational flags. The statement date of service selects the fee schedule edition and provider period.

Parameters

NameTypeDescription
npi1 requiredstringBilling hospital NPI (10 digits). Provide npi, oshpd_id, or provider_name. Hospitals also answer to their Medi-Cal alternate NPIs.
oshpd_id1 requiredstringOSHPD/HCAI facility ID. Provide npi, oshpd_id, or provider_name. Required when an NPI is shared by several campuses.
provider_name1 requiredstringProvider name (partial match, min 2 characters). Must match exactly one hospital.
date_of_servicerequiredstringStatement date of service (MM/DD/YYYY or YYYY-MM-DD). Drives the fee schedule edition and provider period used.
emergencybooleanTrue for an emergency admission (admit type 1). Every hospital line on an emergency claim pays without the 20% cutback, which does not apply in the emergency room; ED visit codes 99281-99285 pay their published ER rate. The use-of-emergency-room charge (Z7502) pays only on emergency claims. Defaults to false.
child_patientbooleanTrue if the patient is 17 years of age or younger (prices the fee schedule's child rates where published). Defaults to false.
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
linesrequiredarrayClaim lines (1-99). Each line: revenue_code (required, 3 or 4 digits), hcpcs (optional, HCPCS/CPT code including Medi-Cal Z-codes), modifier (optional, one modifier), modifiers (optional, a JSON array of up to 4 modifier codes, e.g. ["AG", "22", "SC"], use instead of modifier, combined with it if both are sent), units (optional, defaults to 1), billed_charges (optional, dollars), service_date (optional, defaults to the header date_of_service), anesthesia_minutes (optional, total minutes for an anesthesia line).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
claim_pricedbooleanFalse when the claim could not be priced at all (hospital not found, ambiguous name, shared-NPI campuses without an oshpd_id).
error_messagestringExplanation when claim_priced is false.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null when the claim was priced.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
npistringBilling hospital NPI (echoed, or resolved from the OSHPD ID).
oshpd_idstringOSHPD/HCAI facility ID.
provider_namestringHospital name.
cbsa_descriptionstringHospital CBSA (metro area).
child_patient_usedbooleanEcho of child_patient. True when submitted as true; null otherwise.
pricing_pathstringAlways per_line_fee_schedule: Medi-Cal prices every hospital outpatient line independently off the rates file (no grouper, no day-surgery global, no percent-of-charges path).
claim_totaldecimalFee-for-service expected reimbursement for the claim (sum of line allowed amounts).
total_billed_chargesdecimalSum of line billed charges, when provided.
total_linesintegerNumber of lines submitted.
lines_pricedintegerNumber of lines with an allowed amount (including $0 not-separately-reimbursable lines).
linesarrayPer-line results, in submitted order. Each line: rate_found (with error_message and error_code when a line can't be priced, see Errors > When no rate is found), pricing_bucket (fee_schedule, supply_allowance, manually_priced, not_separately_payable, not_payable_on_claim_type), bundled (true when a claim-level rule zeroed the line), allowed_amount, hcpcs_description, calculation_method, calculation_note (hospital-increase context from the rate lookup; null on lines a claim rule repriced, where the flag and calculation_method explain the amount instead), procedure_type_used (the Medi-Cal procedure-type column the line priced from), and echoes of the inputs including modifiers and the line's service_date.
claim_calculationstringHow the claim total was assembled: per-line pricing, reductions, zeroed lines, and total, with actual values.
rules_appliedarrayMachine-readable claim-rule events in the order applied (e.g., multiple_surgery_reduction, er_em_vs_critical_care, imaging_same_session, pad_admin_fee_deducted, lesser_of). claim_calculation is rendered from exactly these events.
flagsarrayInformational flags, each {code, line, message}: a machine-readable code, the claim line it refers to (null when claim-level), and a plain-English explanation with the Medi-Cal manual citation. Flags never change the returned pricing. Every code is listed in the flag legend below.

Flag legend

Flags are informational. They never change the returned pricing. Applied-rule flags accompany amounts the pricing already reflects; denial-risk flags mark amounts an adjudicator may pay differently; line-handling flags explain lines that could not be priced as submitted.

Applied payment rules (amounts already reflect these)
ER_ROOM_NONEMERGENT_REPRICEDZ7502 (use of emergency room) pays only for emergency conditions; this non-emergency claim pays the Z7500 examining-room rate.
OR_ROOM_CAP_APPLIEDCombined operating/cystoscopy room time capped at Medi-Cal's published daily maximum.
ER_EM_VS_CRITICAL_CAREAn ED visit and critical care share a day; only the higher-priced service pays.
NOT_SEPARATELY_PAYABLEVenipuncture, catheter insertion, or pulse oximetry is included in same-day services; pays $0.
IMAGING_SAME_SESSION_REDUCTIONMultiple same-family scans on one day: the highest pays 100%, the rest a reduced component rate. Documented separate sessions restore 100%.
MOD51_EXEMPT_100_PERCENTThis procedure is exempt from the multiple-surgery reduction; pays 100% even with modifier 51.
UA_UB_ONCE_PER_PROCEDUREA duplicate surgical-supply allowance for the same procedure and day pays $0.
NOT_PAYABLE_ON_CLAIM_TYPEAn Alternative Birthing Center facility fee cannot appear on a hospital claim; pays $0.
Denial-risk notices (line still priced in full)
NCCI_PTP_CONFLICTBilled with its NCCI column-1 partner code on the same day; the component line denies on adjudication.
MUE_UNITS_EXCEEDEDUnits exceed the Medicaid daily maximum for this code.
UNIT_CAP_EXCEEDEDUnits exceed a Medi-Cal per-day limit (hydration, chemotherapy hours, saline).
ED_EM_REPEAT_SAME_DAYA second ED visit on one day needs justification; Medi-Cal instructs billing 99283 for repeat visits.
MODIFIER_22_SC_BY_REPORTModifiers 22 + SC can qualify the line for 100% on by-report review with a TAR; priced with the 20% office-setting reduction.
CTA_CT_SAME_DAY_CONFLICTA CTA and its overlapping CT share a day; Medi-Cal denies one without documented separate sessions.
MODIFIER_99_REMARKS_REQUIREDModifier 99's meaning lives in the claim Remarks, which the API cannot read; priced at the modifier-51 rate.
SURGICAL_MODIFIER_MISSINGSurgical codes require a modifier; Medi-Cal returns the claim for correction without one. Priced at 100%.
PREOP_EM_JUSTIFICATIONAn E&M visit on the day of surgery requires justification.
DUPLICATE_SERVICEAn identical service appears more than once for one day; Medi-Cal pays one.
Z7610_WITH_UA_UBMiscellaneous supplies (Z7610) are not payable alongside a UA/UB supply allowance.
IMAGING_SAME_SESSION_UNSPLITA same-session scan with no published professional/technical split; priced as submitted.
UNITS_OVER_TWO_DIGITSMedi-Cal allows two digits in the units field; claims over 99 units split across lines.
REV_CODE_ER_MISMATCHAn ER revenue code appears with no ED visit or use-of-ER line.
REV_CODE_DRUG_MISMATCHA drug revenue code (0636) carries a non-drug procedure code.
MODIFIER_26_TC_CONFLICTA line cannot carry both component modifiers; priced at the global rate.
UNMODIFIED_SPLIT_BILLABLE_LINEA lab, pathology or radiology line with no 26 or TC modifier bills both the professional and technical parts. If the radiologist or pathologist bills the professional part separately, the hospital is owed only the technical part; enter modifier TC to see that amount.
OBSERVATION_NOT_RECOGNIZEDMedi-Cal does not recognize observation status. Lines price from their own procedure codes, and DHCS reviews the stay against acute inpatient criteria.
Line handling
MISSING_HCPCSMedi-Cal prices per procedure code; a line without one is skipped, the claim still prices.
MANUALLY_PRICED_LINEPriced By Report by Medi-Cal (invoice/manual review); excluded from the claim total.
Request
curl -X POST "https://api.staterates.health/api/v1/ca/outpatient/claim" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "npi": "1234567890",
    "date_of_service": "2026-08-14",
    "emergency": true,
    "lines": [
      {"revenue_code": "0450", "hcpcs": "Z7502", "units": 1, "billed_charges": 410.00},
      {"revenue_code": "0450", "hcpcs": "99283", "units": 1, "billed_charges": 980.00},
      {"revenue_code": "0320", "hcpcs": "73610", "modifiers": ["TC", "76"], "units": 1, "billed_charges": 625.00}
    ]
  }'
Sample response
{
  "reference_id": null,
  "claim_priced": true,
  "error_message": null,
  "error_code": null,
  "npi": "1234567890",
  "provider_name": "EXAMPLE MEDICAL CENTER",
  "oshpd_id": "106000000",
  "cbsa_description": "Oakland-Fremont-Berkeley, CA",
  "date_of_service": "2026-08-14",
  "emergency": true,
  "child_patient_used": null,
  "pricing_path": "per_line_fee_schedule",
  "claim_total": "120.52",
  "total_billed_charges": "2015.00",
  "total_lines": 3,
  "lines_priced": 3,
  "lines": [
    {
      "line": 1,
      "revenue_code": "450",
      "hcpcs": "Z7502",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "service_date": "2026-08-14",
      "billed_charges": "410.00",
      "rate_found": true,
      "pricing_bucket": "fee_schedule",
      "bundled": false,
      "allowed_amount": "49.60",
      "hcpcs_description": "Use of emergency room",
      "procedure_type_used": "Allied Health and other programs",
      "calculation_method": "34.58 (6/30/2001 Base Rate) × 1.4344 (HOPD) = $49.60",
      "calculation_note": "Emergency room pricing was requested, but it does not change this rate. California pays this code at its June 30, 2001 fee schedule rate plus a court-ordered 43.44% increase. See About This Data.",
      "error_message": null
    },
    {
      "line": 2,
      "revenue_code": "450",
      "hcpcs": "99283",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "service_date": "2026-08-14",
      "billed_charges": "980.00",
      "rate_found": true,
      "pricing_bucket": "fee_schedule",
      "bundled": false,
      "allowed_amount": "44.60",
      "hcpcs_description": null,
      "procedure_type_used": "Medicine",
      "calculation_method": "44.60 (Published ER Rate) = $44.60",
      "calculation_note": "This emergency department visit code pays its published emergency room rate, with no standard hospital outpatient department increase. See About This Data.",
      "error_message": null
    },
    {
      "line": 3,
      "revenue_code": "320",
      "hcpcs": "73610",
      "modifier": null,
      "modifiers": [
        "TC",
        "76"
      ],
      "units": 1,
      "service_date": "2026-08-14",
      "billed_charges": "625.00",
      "rate_found": true,
      "pricing_bucket": "fee_schedule",
      "bundled": false,
      "allowed_amount": "26.32",
      "hcpcs_description": null,
      "procedure_type_used": "Radiology",
      "calculation_method": "25.14 (6/30/2001 Base Rate) × 1.4344 (HOPD) × 0.73 (Modifier TC Adjustment) = $26.32",
      "calculation_note": "Emergency room pricing was requested, but it does not change this rate. California pays this code at its June 30, 2001 fee schedule rate plus a court-ordered 43.44% increase. See About This Data.",
      "error_message": null
    }
  ],
  "claim_calculation": "Priced per line from the Medi-Cal fee schedule. 3 of 3 lines priced (3 Medi-Cal fee schedule). Claim total = $120.52.",
  "rules_applied": [],
  "flags": []
}
POST/ca/outpatient/claim/batch

Price multiple CA outpatient claims in a single POST request. Maximum 1,000 claims and 30,000 total lines per batch. Set your client timeout to at least 300 seconds.

Batch request
{
  "requests": [
    {
      "reference_id": "claim-0001",
      "npi": "1234567890",
      "date_of_service": "2026-08-14",
      "emergency": true,
      "lines": [
        {
          "revenue_code": "0450",
          "hcpcs": "99283",
          "units": 1,
          "billed_charges": 980
        }
      ]
    },
    {
      "reference_id": "claim-0002",
      "npi": "1234567890",
      "date_of_service": "2026-08-15",
      "lines": [
        {
          "revenue_code": "0320",
          "hcpcs": "73610",
          "units": 1,
          "billed_charges": 625
        }
      ]
    }
  ]
}
GET/ca/outpatient/rate

California Outpatient Rates

Look up a Medi-Cal outpatient rate by HCPCS code and provider. The returned rate reflects the applicable conversion factor, HOPD multiplier, and modifier adjustments.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS procedure code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringOSHPD ID: California hospital identifier.
provider_name1 requiredstringProvider name (partial match, min 2 characters). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: hospital, physician, surgical_clinic (ambulatory surgical center), free_clinic, other_clinic, podiatrist, nurse_anesthetist, clinical_laboratory, imaging_center (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
procedure_typestringMedi-Cal procedure type. Values: Allied Health and other programs, Anesthesia, Assistant Surgeon, Diagnostic and Treatment (EPSDT), Early and Periodic Screening, Expanded Access to Primary Care (EAPC), Injection, Justice Involved, Local Educational Agency, Medi-Cal Waiver, Medicine, Multipurpose Senior Services Program (MSSP), Palliative Care, Pathology and Clinical Laboratory, Podiatrist, Primary Surgeon, Psychology Services for Mental Health Expansion, Radiology, Targeted Rate Increase, Vision Care. Valid values vary by billing code; if omitted, the most common type is selected automatically.
service_typestringMedi-Cal service type. Values: ABORTION, ANESTHESIOLOGY, ANESTHESIOLOGY (OB), Family Planning Services, FIXED PRICE, GYN, INJECTIONS, MEDICINE, MEDICINE EMERGENCY, OB (C-SECTION), OB (VAGINAL DELIVERY), OTHER OB, OTHER SURGERY, PATHOLOGY, PODIATRY MEDICINE, PODIATRY PRIMARY CARE I & II - ADULT, PODIATRY PRIMARY CARE I & II - CHILD, PODIATRY RADIOLOGY, PODIATRY SURGERY, PRIMARY CARE I, PRIMARY CARE II - ADULT, PRIMARY CARE II - CHILD, RADIOLOGY, SURGERY FIXED PRICE, SURGERY (LAPAROSCOPY GYN), TUBAL STERILIZATIONS, WELL CHILD EXAMS. Valid values vary by procedure type; if omitted, selected automatically.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
family_planning_primary_dxbooleanTrue if billed with a primary family planning diagnosis code. Adds the Family Planning add-on to the rate for qualifying E&M codes.
emergency_roombooleanTrue to use ER pricing. Hospitals pay their standard hospital outpatient rate without the 20% cutback, which does not apply in the emergency room. Other provider types pay the published ER rate where one exists, otherwise the published rate, with no cutback.
modifierstringHCPCS modifier. Values: 26 (Professional Component), TC (Technical Component).
anesthesia_minutesintegerAnesthesia time in minutes (anesthesia codes only). Time units are 15 minutes each; a leftover of 5 minutes or more counts as one more unit, and anesthesia under 5 minutes total is one unit (CCR Title 22 §51505.2). Nurse anesthetist rates subtract one base unit and hospital providers receive the HOPD add-on automatically. Without it, anesthesia responses return the base units and conversion factor with no dollar amount.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringOSHPD ID (hospitals) or Medi-Cal Provider Number (professionals).
provider_namestringProvider name.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
provider_typestringState Rates provider classification used for rate lookup. Values: hospital, physician, surgical_clinic (ambulatory surgical center), free_clinic, other_clinic, podiatrist, nurse_anesthetist, clinical_laboratory, imaging_center.
provider_type_labelstringHuman-readable label for the State Rates provider classification (e.g., Hospital, Physician).
cbsa_codestringCore Based Statistical Area code.
cbsa_descriptionstringCBSA area description.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
basic_ratedecimalBasic rate (unit value) from fee schedule.
conversion_factordecimalConversion factor applied to basic rate.
modifierstringHCPCS modifier applied (e.g., 26, TC).
modifier_adjustmentdecimalModifier adjustment factor (e.g., 0.29 for 26, 0.71 for TC).
cutback_indintegerCutback indicator (1 = the cutback reduction applied to hospital/surgical clinic rates).
hopd_multiplierfloatHospital Outpatient Department add-on multiplier when applied.
rate_2001_basedecimalThe June 30, 2001 fee schedule dollar used as the hospital rate's payment base under the court-ordered construction (Title 22, Section 51509). Null where the construction did not use a 2001 base.
medicare_clfs_ratedecimalThe Medicare clinical laboratory rate that capped the hospital laboratory increase. Null where the cap was not in play.
family_planning_multiplierfloatFamily Planning add-on multiplier when applied.
anesthesia_base_unitsdecimalPublished anesthesia base units (anesthesia codes only). Payment = (base units + time units) × conversion factor; the nurse anesthetist base-unit reduction appears in calculation_method.
time_units_usedintegerTime units derived from anesthesia_minutes: one per 15 minutes, one more when 5 or more minutes are left over, and one unit when the total is under 5 minutes.
anesthesia_minutes_usedintegerAnesthesia minutes used to derive time units (echoed from request).
emergency_roombooleanTrue if emergency room pricing changed the rate (a published ER rate applied, or a hospital code's 20% cutback was dropped); false if ER pricing was requested but does not change this code's rate (see calculation_note); null if not requested. Emergency department visit codes 99281-99285 are always priced as the emergency room and report true either way.
procedure_type_usedstringProcedure type used for pricing.
service_type_usedstringService type used for pricing.
is_default_selectionbooleanTrue if the API auto-selected the procedure/service type because none was specified.
available_procedure_typesstring[]Other procedure types available for this code. Only present when defaults were used.
available_service_typesstring[]Other service types available for this code. Only present when defaults were used.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
child_patient_usedbooleanEcho of child_patient. True when submitted as true; null otherwise.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ca/outpatient/rate?\
  billing_code=99213&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": "106380013",
    "provider_name": "COMMUNITY HOSPITAL",
    "provider_type": "hospital",
    "provider_type_label": "Hospital",
    "cbsa_code": "31084",
    "cbsa_description": "Los Angeles-Long Beach-Anaheim, CA",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "payment_rate": "75.50",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "4.07 (Basic Rate) × 18.55 (Conversion Factor)",
    "basic_rate": "4.07",
    "conversion_factor": "18.55",
    "modifier": null,
    "modifier_adjustment": null,
    "cutback_ind": null,
    "hopd_multiplier": null,
    "family_planning_multiplier": null,
    "anesthesia_base_units": null,
    "time_units_used": null,
    "anesthesia_minutes_used": null,
    "emergency_room": null,
    "procedure_type_used": "Medicine",
    "service_type_used": "PRIMARY CARE I",
    "is_default_selection": true,
    "available_procedure_types": [
      "Medicine",
      "Targeted Rate Increase"
    ],
    "available_service_types": [
      "PRIMARY CARE I",
      "PRIMARY CARE II - ADULT",
      "MEDICINE"
    ],
    "is_manually_priced": false,
    "date_of_service_used": "2026-08-01",
    "child_patient_used": null,
    "effective_start_date": "2025-01-01",
    "effective_end_date": null
  }
]
POST/ca/outpatient/rate/batch

Look up multiple rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "npi": "1234567890",
      "billing_code": "99213"
    },
    {
      "npi": "1234567890",
      "billing_code": "99214",
      "child_patient": true
    }
  ]
}
GET/ca/providers/search

California Provider Search

Search for California Medicaid providers by NPI, OSHPD ID, name, location, or taxonomy. Returns provider details with outpatient and inpatient rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
state_provider_idstringOSHPD ID or Medi-Cal Provider Number.
provider_namestringProvider name (partial match, min 2 characters).
citystringCity (partial match).
zip_codestringZIP code (exact match).
cbsa_codestringCBSA code (exact match).
cbsa_descriptionstringCBSA description (partial match).
entity_typestringFilter by entity type. Values: individual, organization.
taxonomystringTaxonomy code filter.
provider_typestringState Rates provider classification. Values: hospital, physician, surgical_clinic (ambulatory surgical center), free_clinic, other_clinic, podiatrist, nurse_anesthetist, clinical_laboratory, imaging_center.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳state_provider_idstringOSHPD ID or Medi-Cal Provider Number.
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable label for the State Rates provider classification.
↳entity_typestringIndividual or Organization.
↳primary_taxonomystringPrimary taxonomy code.
↳citystringCity.
↳statestringState.
↳zip_codestringZIP code.
↳street_addressstringStreet address.
↳cbsa_codestringCBSA code.
↳cbsa_descriptionstringCBSA area description.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
↳alternate_npisstring[]Hospitals only: this hospital's other NPIs. Searching by any of them returns this hospital.
↳matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
total_resultsintegerTotal number of results found.
limit_appliedintegerLimit applied to results.
Request
curl "https://api.staterates.health/api/v1/ca/providers/search?\
  provider_name=community&\
  city=los+angeles" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "state_provider_id": "106380013",
      "provider_name": "COMMUNITY HOSPITAL OF LONG BEACH",
      "provider_type": "hospital",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "282N00000X",
      "city": "LONG BEACH",
      "state": "CA",
      "zip_code": "90806",
      "street_address": "1720 TERMINO AVE",
      "cbsa_code": "31084",
      "cbsa_description": "Los Angeles-Long Beach-Anaheim, CA",
      "op_rates": true,
      "ip_rates": true,
      "alternate_npis": [
        "1093718645"
      ],
      "matched_npi": null
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/fl/inpatient/rate

Florida Inpatient Claims

Look up a Florida Medicaid APR-DRG inpatient payment rate. Incorporates service, age, and provider adjustors, plus a children's hospital add-on. The discharge date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code (e.g., 140 or 140-2).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringFL Provider Base ID.
provider_name1 requiredstringHospital name (partial match). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Florida uses the discharge date (not admission date) to determine which rate period applies.
transfer_claimbooleanTransfer claim. Discharge status 02, 05, 65, 66, 82, 85, 93, or 94 (transferred to another acute-care hospital).
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
length_of_stayintegerLength of stay in days. Defaults to average LOS.
total_chargesdecimalTotal charges for outlier calc and charge cap.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringFL Provider Base ID.
provider_namestringProvider name.
hospital_classstringHospital category per the inpatient DRG calculator. Values: All Other, Rural, Rehab, Long Term Acute Care, High Medicaid Ip Utilization.
trauma_classstringTrauma designation. Values: Level I, Level II, Pediatric. Null if not a trauma center.
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
apr_drg_codestringBase DRG code.
soiintegerSeverity of Illness (1–4).
fl_relative_weightdecimalFlorida-specific DRG weight.
mean_losdecimalAverage length of stay for this DRG.
service_adjustordecimalService adjustor (1.0 or 1.3 for neonatal).
age_adjustordecimalAge adjustor (applied when age < 21).
pediatric_service_linestringPediatric service line classification.
adult_service_linestringAdult service line classification.
provider_adjustordecimalProvider category adjustor.
max_adjustor_useddecimalMAX(service, age, provider) adjustor used.
statewide_base_ratedecimalFL statewide base rate.
base_paymentdecimalBase payment: base_rate × weight × max_adjustor.
trauma_enhancement_amountdecimalTrauma enhancement amount.
childrens_addondecimalChildren's hospital add-on (source value).
childrens_addon_amountdecimalActual children's add-on calculated.
transfer_adjustment_appliedbooleanWhether transfer adjustment was applied.
transfer_adjusted_amountdecimalPayment after transfer adjustment.
outlier_adjustment_appliedbooleanWhether cost outlier was applied.
outlier_amountdecimalCost outlier adjustment amount.
outlier_thresholdfloatCost outlier threshold from the discharge date's published parameters.
marginal_cost_pctfloatMarginal cost percentage used, from the discharge date's published parameters.
charge_cap_appliedbooleanWhether payment was capped at total charges.
cost_to_charge_ratiodecimalHospital CCR for outlier calc.
casemixdecimalHospital casemix index.
length_of_stay_usedintegerLOS used in calculation.
total_charges_useddecimalTotal charges used.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/fl/inpatient/rate?\
  billing_code=140-2&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": "100001",
    "provider_name": "FLORIDA GENERAL HOSPITAL",
    "hospital_class": "All Other",
    "trauma_class": null,
    "street_address": "500 HOSPITAL DR",
    "city": "JACKSONVILLE",
    "county": "DUVAL",
    "zip_code": "32209",
    "billing_code": "140-2",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "CHRONIC OBSTRUCTIVE PULMONARY DISEASE",
    "payment_rate": "6850.75",
    "payment_rate_type": "claim",
    "calculation_method": "6210.50 (Base Rate) × 0.8500 (FL Weight) × 1.3000 (MAX Adjustor)",
    "apr_drg_code": "140",
    "soi": 2,
    "fl_relative_weight": "0.8500",
    "mean_los": "3.50",
    "service_adjustor": "1.0000",
    "age_adjustor": null,
    "pediatric_service_line": null,
    "adult_service_line": "Pulmonary",
    "provider_adjustor": "1.3000",
    "max_adjustor_used": "1.3000",
    "statewide_base_rate": "6210.50",
    "base_payment": "6850.75",
    "trauma_enhancement_amount": null,
    "childrens_addon": null,
    "childrens_addon_amount": null,
    "transfer_adjustment_applied": false,
    "transfer_adjusted_amount": null,
    "outlier_adjustment_applied": false,
    "outlier_amount": null,
    "outlier_threshold": 60000,
    "marginal_cost_pct": 0.6,
    "charge_cap_applied": false,
    "cost_to_charge_ratio": "0.3500",
    "casemix": "1.2500",
    "length_of_stay_used": 4,
    "total_charges_used": null,
    "discharge_date_used": "2026-08-01",
    "effective_start_date": "2024-07-01",
    "effective_end_date": null
  }
]
POST/fl/inpatient/rate/batch

Look up multiple FL inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "140-2",
      "npi": "1234567890"
    },
    {
      "billing_code": "640-1",
      "npi": "9876543210",
      "length_of_stay": 3,
      "total_charges": "45000"
    }
  ]
}
GET/fl/outpatient/rate

Florida Outpatient Rates

Look up a Florida Medicaid outpatient rate. HCPCS are used for professional claims, sourced from fee schedules. Hospital outpatient claims use provider-specific EAPG rates for payment.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS code (e.g., 99213) or EAPG code (e.g., 00002).
billing_code_typestringCode type filter. Values: HCPCS, EAPG. If omitted, returns results for all matching types.
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringFL Provider Base ID.
provider_name1 requiredstringProvider name (partial match). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PRACTITIONER, ASC, INDEPENDENT_LAB (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
modifierstringModifier for component selection. Values: 26 (Professional), TC (Technical).
place_of_servicestringPlace of service. Values: facility, non_facility. Facility POS codes (19, 21, 22, 23, 24) use the facility rate. Defaults to non-facility.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
anesthesia_minutesintegerAnesthesia time in total minutes. Used only for anesthesia codes (00100-01999). Without it, the response returns the formula with no dollar amount.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today.
paf_*booleanEAPG Payment Adjustor Flags (hospital only): paf_multiple_significant, paf_same_significant, paf_clinical_significant, paf_packaging, paf_repeat_ancillary, paf_bilateral, paf_terminated.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringFL Provider Base ID.
provider_namestringProvider name.
provider_typestringState Rates provider classification. Values: PRACTITIONER, HOSPITAL, INDEPENDENT_LAB, ASC.
provider_type_labelstringHuman-readable label for the State Rates provider classification.
fl_provider_type_codestringFlorida's own 2-digit provider type code from source files. Possible values: 01 = Hospital, 06 = ASC, 25 = Physician M.D., 26 = Physician D.O., 50 = Independent Laboratory.
fl_provider_type_code_descriptionstringFlorida's description for the provider type code.
fl_specialty_codestringFlorida's own provider specialty code from source files (e.g., 01 = General Practice, 65 = Maternal Fetal Medicine).
fl_specialty_descriptionstringFlorida's description for the specialty code.
hospital_classstringHospital category per the outpatient EAPG file (hospitals only). Values: All Other Hospitals, Rural Hospitals, High Medicaid OP Util Hospitals.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringModifier applied (sourced from the matched rate row, not request input).
modifier_adjustmentdecimalDerived ratio for PCI/TCI rows (pci/fsi or tci/fsi); runtime multiplier for the MODIFIER_ADJUSTMENTS carve-out (50/52/53/54/55/56/62/80). NULL on base / state-modifier rows.
place_of_servicestring'non_facility' / 'facility' on PRACTITIONER rows where the source has the distinction; NULL on PCI/TCI / lab / EAPG rows.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
prior_auth_requiredbooleanPrior authorization required.
specialty_multiplierfloatSpecialty-based rate multiplier.
age_multiplier_applieddecimalAge multiplier if applied.
provider_type_multiplier_applieddecimalAlways null; the former provider type discount was removed. The field remains for response-shape stability.
eapg_weightdecimalEAPG relative weight (hospital only).
eapg_base_ratedecimalHospital-specific EAPG base rate.
eapg_policy_adjustordecimalHospital policy adjustor.
eapg_childrens_addondecimalChildren's hospital add-on.
paf_multiple_significantdecimalPAF: Multiple Significant Procedures adjustment.
paf_same_significantdecimalPAF: Same Significant Procedure adjustment.
paf_clinical_significantdecimalPAF: Clinical Significant Procedure adjustment.
paf_packagingdecimalPAF: Packaging adjustment.
paf_repeat_ancillarydecimalPAF: Repeat Ancillary adjustment.
paf_bilateraldecimalPAF: Bilateral adjustment.
paf_terminateddecimalPAF: Terminated Procedure adjustment.
paf_adjustmentdecimalCombined PAF adjustment factor (product of selected flags).
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/fl/outpatient/rate?\
  billing_code=99213&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": null,
    "provider_name": "FLORIDA MEDICAL GROUP",
    "provider_type": "PRACTITIONER",
    "provider_type_label": "Practitioner",
    "fl_provider_type_code": "17",
    "fl_provider_type_code_description": "Physician",
    "fl_specialty_code": "01",
    "fl_specialty_description": "General Practice",
    "hospital_class": null,
    "street_address": "100 MAIN ST",
    "city": "MIAMI",
    "county": "MIAMI-DADE",
    "zip_code": "33101",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "modifier": null,
    "modifier_adjustment": null,
    "place_of_service": "non_facility",
    "payment_rate": "47.41",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "$47.41 (Practitioner Fee Schedule, Non-Facility) = $47.41",
    "prior_auth_required": false,
    "specialty_multiplier": null,
    "age_multiplier_applied": null,
    "provider_type_multiplier_applied": null,
    "eapg_weight": null,
    "eapg_base_rate": null,
    "eapg_policy_adjustor": null,
    "eapg_childrens_addon": null,
    "paf_multiple_significant": null,
    "paf_same_significant": null,
    "paf_clinical_significant": null,
    "paf_packaging": null,
    "paf_repeat_ancillary": null,
    "paf_bilateral": null,
    "paf_terminated": null,
    "paf_adjustment": null,
    "date_of_service_used": "2026-08-01",
    "effective_start_date": "2024-07-01",
    "effective_end_date": null
  }
]
POST/fl/outpatient/rate/batch

Look up multiple FL outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1234567890"
    },
    {
      "billing_code": "99214",
      "npi": "1234567890",
      "child_patient": true
    }
  ]
}
GET/fl/providers/search

Florida Provider Search

Search for Florida Medicaid providers by NPI, Provider Base ID, name, or location. Returns provider details with FL-specific specialty codes and rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
state_provider_idstringFL Provider Base ID.
provider_namestringProvider name (partial match).
citystringCity (partial match).
countystringCounty (partial match).
taxonomystringTaxonomy code filter.
provider_typestringState Rates provider classification. Values: PRACTITIONER, HOSPITAL, INDEPENDENT_LAB, ASC.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳state_provider_idstringFL Provider Base ID.
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification. Values: PRACTITIONER, HOSPITAL, INDEPENDENT_LAB, ASC.
↳provider_type_labelstringHuman-readable label for the State Rates provider classification.
↳entity_typestringIndividual or Organization.
↳primary_taxonomystringPrimary taxonomy code.
↳street_addressstringStreet address.
↳citystringCity.
↳statestringState.
↳zip_codestringZIP code.
↳countystringCounty.
↳ip_provider_categorystringHospital category per the inpatient DRG calculator (hospitals only).
↳op_provider_categorystringHospital category per the outpatient EAPG file (hospitals only).
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/fl/providers/search?\
  provider_name=jackson&\
  city=miami" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "state_provider_id": "100001",
      "provider_name": "JACKSON MEMORIAL HOSPITAL",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "282N00000X",
      "street_address": "1611 NW 12TH AVE",
      "city": "MIAMI",
      "state": "FL",
      "zip_code": "33136",
      "county": "MIAMI-DADE",
      "ip_provider_category": "All Other",
      "op_provider_category": "All Other Hospitals",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/ga/inpatient/rate

Georgia Inpatient Claims

Look up a Georgia Medicaid APR-DRG inpatient payment, with short-stay, cost-outlier, and Hospital Rate Add-On adjustments. The admission date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code, with or without severity: '560-1' prices that severity level; '560' returns all four.
npi1 requiredstringNational Provider Identifier (10 digits).
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only hospitals that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified. Georgia publishes no state-specific provider ID.
admit_datestringAdmission date (MM/DD/YYYY or YYYY-MM-DD). Georgia prices inpatient stays by admission date. Defaults to today.
length_of_stayintegerCovered days. Stays under 2 covered days trigger short-stay lesser-of pricing unless the DRG is exempt; when omitted, the standard per-case payment is returned with no short-stay evaluation.
total_chargesdecimalTotal covered charges (UB-04 FL47). Required to evaluate the cost outlier and the short-stay lesser-of.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringHospital NPI.
provider_namestringHospital name.
provider_typestringProvider type (HOSPITAL).
provider_type_labelstringHuman-readable provider type label.
critical_access_hospitalbooleanTRUE for Critical Access Hospitals, which are exempt from the Hospital Rate Add-On.
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringAPR-DRG code priced, with severity (e.g., '560-1').
billing_code_typestringCode system: 'APR-DRG'.
billing_code_descriptionstringAPR-DRG description (v40 catalog label).
apr_drg_codestringAPR-DRG code without the severity suffix.
soistringSeverity of illness (1–4).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
relative_weightdecimalAPR-DRG relative weight for this DRG-severity.
alosdecimalAverage length of stay for the DRG-severity (context; not a payment input).
cost_outlier_thresholddecimalCost-outlier threshold for the DRG-severity: the claim qualifies when charges × CCR exceeds it.
sst_eligiblebooleanTRUE when the DRG is exempt from short-stay pricing (e.g., neonate transfer DRGs where a sub-2-day stay is the expected course).
ip_base_ratedecimalHospital-specific DRG base rate for the admission-date period.
ip_ccrdecimalHospital cost-to-charge ratio. Drives the outlier and short-stay calculations.
base_paymentdecimalBase per-case payment = hospital base rate × DRG relative weight.
short_stay_appliedbooleanTRUE when short-stay lesser-of pricing was evaluated (covered days under 2, DRG not exempt). Suppressed (null) otherwise.
ccr_based_paymentdecimalCharges × hospital CCR: the short-stay lesser-of comparator.
short_stay_notestringSet when the short-stay lesser-of could not be evaluated (e.g., total_charges not supplied) or when the DRG is exempt.
outlier_adjustment_appliedbooleanTRUE when a cost-outlier add-on was applied. Suppressed (null) otherwise.
outlier_amountdecimalCost-outlier add-on included in the payment.
outlier_percentagedecimalOutlier Payment Percentage applied to estimated cost above the threshold. Present only when an outlier fired.
estimated_costdecimalEstimated cost = total charges × hospital CCR.
outlier_notestringSet when the cost outlier could not be evaluated (e.g., total_charges not supplied).
addon_multiplierdecimalHospital Rate Add-On multiplier applied to DRG + outlier payments; 1.0 for Critical Access Hospitals.
pre_addon_subtotaldecimalPer-case payment + outlier before the Hospital Rate Add-On multiplier.
length_of_stay_usedintegerCovered days used for the short-stay evaluation (echoed from request; null when not supplied).
total_charges_useddecimalTotal charges used in the outlier / short-stay calculations (echoed from request).
admit_date_useddateThe admit date the rate was priced against, echoed from the request. When you omit admit_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ga/inpatient/rate?\
  billing_code=560-1&\
  npi=1992799050&\
  admit_date=2024-02-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1992799050",
    "provider_name": "Grady Memorial Hospital",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "critical_access_hospital": false,
    "street_address": "80 JESSE HILL JR DR SE",
    "city": "ATLANTA",
    "county": "FULTON",
    "state": "GA",
    "zip_code": "30303",
    "billing_code": "560-1",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "VAGINAL DELIVERY",
    "apr_drg_code": "560",
    "soi": "1",
    "payment_rate": "6536.95",
    "payment_rate_type": "claim",
    "calculation_method": "$8,988.96 (Hospital Base Rate) × 0.65 (DRG Weight) = $5,842.82 (Base Payment) × 1.1188 (Hospital Rate Add-On) = $6,536.95 (Estimated Payment)",
    "relative_weight": "0.65",
    "alos": "2.04",
    "cost_outlier_threshold": "30000",
    "sst_eligible": true,
    "ip_base_rate": "8988.96",
    "ip_ccr": "0.186",
    "base_payment": "5842.82",
    "short_stay_applied": null,
    "ccr_based_payment": null,
    "short_stay_note": null,
    "outlier_adjustment_applied": null,
    "outlier_amount": null,
    "outlier_percentage": null,
    "estimated_cost": null,
    "outlier_note": "Cost-outlier qualification needs total_charges. Not supplied, so no outlier was evaluated.",
    "addon_multiplier": "1.1188",
    "pre_addon_subtotal": "5842.82",
    "length_of_stay_used": null,
    "total_charges_used": null,
    "admit_date_used": "2024-02-15",
    "effective_start_date": "2024-01-01",
    "effective_end_date": null
  }
]
POST/ga/inpatient/rate/batch

Look up multiple GA inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "560-1",
      "npi": "1992799050",
      "admit_date": "2024-02-15"
    },
    {
      "billing_code": "560-4",
      "npi": "1992799050",
      "admit_date": "2024-02-15",
      "total_charges": "400000"
    }
  ]
}
POST/ga/outpatient/claim

Georgia Outpatient Claims

Price a whole Georgia Medicaid hospital outpatient claim (UB-04, type of bill 131) in one request. Covered lines pay the hospital's percentage of charges with the Hospital Rate Add-On. Laboratory, drug, vaccine and birthing-class lines pay their own Georgia rule, and non-covered codes pay $0. The claim is held to Georgia's per-claim maximum. The CMS Medicaid NCCI edits are returned as flags. Date of service selects the hospital's interim rate and Critical Access status, and the lab and drug schedules, for every line.

Parameters

NameTypeDescription
npi1 requiredstringBilling hospital NPI (10 digits). Provide npi, provider_name, or both. An NPI that covers several rated campuses (a hospital system Georgia rates per campus) is refused with the campus list unless provider_name names the campus.
provider_name1 requiredstringBilling hospital name (partial match, min 2 characters). Alone, it must match exactly one Georgia hospital. With npi, it narrows a shared NPI to one campus.
date_of_servicerequiredstringStatement from-date of the claim (MM/DD/YYYY or YYYY-MM-DD). Selects the hospital's interim rate, Critical Access status and DRG base rate, and the lab and drug schedules, for every line.
child_patientbooleanTrue if the patient is under 21. Vaccine product lines then pay $0 (the state supplies vaccines for members under 21) and only the administration code pays. Defaults to false.
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
linesrequiredarrayClaim lines (1-99). Each line: revenue_code (required, 3 or 4 digits), hcpcs (optional, HCPCS/CPT code), modifier (optional. 26 or TC prices the component rate where Georgia publishes one. Other modifiers are echoed and do not change the price), units (optional, defaults to 1, hours for observation lines), billed_charges (optional, dollars, required to price a percent-of-charges line and the ceiling on every line), service_date (optional, defaults to the header date_of_service and groups lines for the same-day rules).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
claim_pricedbooleanFalse when the claim could not be priced at all (hospital not found, no published interim rate, ambiguous name, a shared NPI with no campus name).
error_messagestringExplanation when claim_priced is false.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null when the claim was priced.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
npistringBilling hospital NPI (echoed, or resolved from the name).
provider_namestringHospital name (the campus name for a system rated per campus).
campus_namestringCampus, for the hospital systems Georgia rates per campus under one NPI.
critical_access_hospitalbooleanTrue for a Critical Access Hospital: no add-on, and laboratory lines pay the percentage instead of the lab schedule.
citystringHospital city.
countystringHospital county.
child_patient_usedbooleanEcho of child_patient. True when submitted as true, null otherwise.
pricing_pathstringAlways percent_of_charges_with_carve_outs: covered lines pay the hospital's percentage, and laboratory, drug, vaccine and birthing-class lines pay their own Georgia rule.
claim_totaldecimalFee-for-service expected reimbursement for the claim: the sum of line allowed amounts after the billed-charges ceiling and the per-claim maximum.
claim_total_before_maximumdecimalThe claim total after the covered-charges ceiling and before the per-claim maximum. Equal to claim_total unless the maximum bound.
claim_maximumdecimalThe per-claim maximum allowable payment: 85.6% of the hospital's DRG base rate, with the add-on. Null when the hospital has no base rate on file.
total_billed_chargesdecimalSum of line billed charges, when provided.
total_covered_chargesdecimalSum of billed charges on covered lines. The claim never pays more than this.
total_linesintegerNumber of lines submitted.
lines_pricedintegerNumber of lines with an allowed amount (including $0 non-covered and bundled lines).
linesarrayPer-line results, in submitted order. Each line: rate_found (with error_message and error_code when a line can't be priced, see Errors > When no rate is found), pricing_bucket (percent_of_charges, clinical_lab_fee_schedule, drug_fee_schedule, birthing_class_flat, state_supplied_vaccine, bundled, not_a_benefit, not_payable_on_claim_type), bundled (true when the line was absorbed into an automated chemistry bundle), allowed_amount (before the per-claim maximum), hcpcs_description, calculation_method, calculation_note (the state-supplied-vaccine alternative on a vaccine product line), and echoes of the inputs including the line's service_date.
claim_calculationstringHow the claim total was assembled: the percentage, carve-outs, zeroed lines, ceilings, the maximum, and the total, with actual values.
rules_appliedarrayMachine-readable claim-rule events in the order applied (e.g., non_covered_line, automated_chemistry_bundle, state_supplied_vaccine, birthing_class_flat, billed_charges_cap, claim_maximum, claim_maximum_not_evaluated). claim_calculation is rendered from exactly these events.
flagsarrayInformational flags, each {code, line, message}: a machine-readable code, the claim line it refers to (null when claim-level), and a plain-English explanation with the Georgia manual or schedule citation. Flags never change the returned pricing. Every code is listed in the flag legend below.
outpatient_interim_ratedecimalThe hospital's own percent-of-charges interim rate in force on the statement from-date.
addon_multiplierdecimalHospital Rate Add-On multiplier applied to covered charges and the maximum. 1.0 for Critical Access Hospitals.
effective_percent_of_chargesdecimalInterim rate × add-on multiplier: the fraction of covered charges the hospital is paid.
ip_base_ratedecimalThe hospital's DRG base rate the per-claim maximum is computed from. Null when none is on file.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.

Flag legend

Flags are informational. They never change the returned pricing. Applied-rule flags accompany amounts the pricing already reflects. Denial-risk notices mark amounts an adjudicator may pay differently.

Applied payment rules (amounts already reflect these)
NOT_A_BENEFITA non-covered revenue or procedure code (take-home items, dialysis outside the covered codes, venipuncture, unlisted procedures, the general health panel, and the rest of the published list). Pays $0 and leaves the percentage base.
NOT_PAYABLE_ON_CLAIM_TYPEA service the hospital bills under a separate program enrollment (ambulance, DME, prosthetics and orthotics, pharmacy, preventive care, rural health clinic). Pays $0 on a hospital claim.
MULTICHANNEL_LAB_PANEL_SUSPECTEDSame-day automated chemistry tests and panels are bundled to one fee by the count of distinct tests. One line carries the fee and the rest pay $0, except a panel component that is not an automated chemistry, which keeps its own lab rate.
STATE_SUPPLIED_VACCINEThe patient is under 21, so the state supplied the vaccine. The product line pays $0 and only the administration code pays.
BILLED_CHARGES_CAP_APPLIEDA line, or the claim, priced above its billed charges and is paid at the charges.
CLAIM_MAXIMUM_APPLIEDThe claim total exceeded 85.6% of the hospital's DRG base rate with the add-on and pays the maximum.
ADDON_EXEMPT_PROVIDER_CLASSA Critical Access Hospital: no Hospital Rate Add-On, and laboratory lines pay the percentage instead of the lab schedule.
PROFESSIONAL_MODIFIER_IGNOREDModifier 26 or TC on a code Georgia publishes no component rate for. The modifier is ignored and the line pays the unmodified rate.
Denial-risk notices (line still priced in full)
CLAIM_MAXIMUM_NOT_EVALUATEDThe hospital has no DRG base rate on file, so the per-claim maximum could not be evaluated. The total is uncapped.
MISSING_HCPCSGeorgia requires this revenue code to be accompanied by a HCPCS/CPT code and the line has none, so the line may be denied. Priced at the percentage as billed.
OBSERVATION_OVER_HOUR_CAPObservation hours exceed 24. Georgia may deny the claim unless medical review finds the hours medically appropriate.
OBSERVATION_REV_CODE_CONFLICTObservation shares a day with surgery, chemotherapy or therapy revenue codes, which Georgia lists as non-covered observation situations.
CHEMO_ADMIN_WITHOUT_DRUGA chemotherapy administration code is on the claim with no chemotherapy drug. Georgia pays it only with the drug.
STATE_CODE_PAIR_EDITAn infusion add-on code with none of its primary codes on the claim. The primary may be in history, which the claim cannot show.
HOSPITAL_PATHOLOGY_TC_SPLITAn anatomic pathology code without a 26 or TC modifier is priced at the full rate but may be paid for just the technical portion. Enter modifier TC to see the hospital's component.
NCCI_PTP_CONFLICTBilled with its NCCI column-1 partner code on the same day. The component line may be denied on adjudication.
MUE_UNITS_EXCEEDEDUnits exceed the Medicaid daily maximum for this code.
Request
curl -X POST "https://api.staterates.health/api/v1/ga/outpatient/claim" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "npi": "1234567890",
    "date_of_service": "2026-10-15",
    "lines": [
      {"revenue_code": "0450", "hcpcs": "99284", "units": 1, "billed_charges": 1850.00},
      {"revenue_code": "0300", "hcpcs": "80053", "units": 1, "billed_charges": 210.00},
      {"revenue_code": "0636", "hcpcs": "J0696", "units": 2, "billed_charges": 48.00}
    ]
  }'
Sample response
{
  "reference_id": null,
  "claim_priced": true,
  "error_message": null,
  "error_code": null,
  "npi": "1234567890",
  "provider_name": "EXAMPLE MEDICAL CENTER",
  "campus_name": null,
  "critical_access_hospital": false,
  "city": "ATLANTA",
  "county": "FULTON",
  "date_of_service": "2026-10-15",
  "child_patient_used": null,
  "pricing_path": "percent_of_charges_with_carve_outs",
  "claim_total": "304.01",
  "claim_total_before_maximum": "304.01",
  "claim_maximum": "8231.27",
  "total_billed_charges": "2108.00",
  "total_covered_charges": "2108.00",
  "total_lines": 3,
  "lines_priced": 3,
  "lines": [
    {
      "line": 1,
      "revenue_code": "450",
      "hcpcs": "99284",
      "modifier": null,
      "units": 1,
      "billed_charges": "1850.00",
      "service_date": "2026-10-15",
      "rate_found": true,
      "pricing_bucket": "percent_of_charges",
      "bundled": false,
      "allowed_amount": "292.67",
      "hcpcs_description": "Emergency department visit for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and moderate level of medical decision making",
      "calculation_method": "$1,850.00 (Covered Charges) × 0.1414 (Hospital-Specific Interim Rate) × 1.1188 (Hospital Rate Add-On) = $292.67",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 2,
      "revenue_code": "300",
      "hcpcs": "80053",
      "modifier": null,
      "units": 1,
      "billed_charges": "210.00",
      "service_date": "2026-10-15",
      "rate_found": true,
      "pricing_bucket": "clinical_lab_fee_schedule",
      "bundled": false,
      "allowed_amount": "10.56",
      "hcpcs_description": "Comprehensive metabolic panel",
      "calculation_method": "Lesser of $14.87 ($13.29 GA Lab Fee Schedule × 1.1188 Hospital Rate Add-On) and $10.56 (Medicare CLFS): Medicare CLFS applies = $10.56",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 3,
      "revenue_code": "636",
      "hcpcs": "J0696",
      "modifier": null,
      "units": 2,
      "billed_charges": "48.00",
      "service_date": "2026-10-15",
      "rate_found": true,
      "pricing_bucket": "drug_fee_schedule",
      "bundled": false,
      "allowed_amount": "0.78",
      "hcpcs_description": "Injection, ceftriaxone sodium, per 250 mg",
      "calculation_method": "Physician-Administered Drug List Maximum Allowable = $0.39 × 2 (Units) = $0.78",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    }
  ],
  "claim_calculation": "Covered charges pay 15.82% (0.1414 (Hospital-Specific Interim Rate) × 1.1188 (Hospital Rate Add-On)). 3 of 3 lines priced (1 percent of charges, 1 lab lesser-of, 1 drug list). Claim total = $304.01.",
  "rules_applied": [],
  "flags": [],
  "outpatient_interim_rate": "0.1414",
  "addon_multiplier": "1.1188",
  "effective_percent_of_charges": "0.1582",
  "ip_base_rate": "8594.90",
  "effective_start_date": "2026-07-01",
  "effective_end_date": null
}
POST/ga/outpatient/claim/batch

Price multiple GA outpatient claims in a single POST request. Maximum 1,000 claims and 30,000 total lines per batch. Set your client timeout to at least 300 seconds.

Batch request
{
  "requests": [
    {
      "reference_id": "claim-0001",
      "npi": "1234567890",
      "date_of_service": "2026-10-15",
      "lines": [
        {
          "revenue_code": "0450",
          "hcpcs": "99284",
          "units": 1,
          "billed_charges": 1850
        }
      ]
    },
    {
      "reference_id": "claim-0002",
      "npi": "1234567890",
      "date_of_service": "2026-10-16",
      "lines": [
        {
          "revenue_code": "0300",
          "hcpcs": "80053",
          "units": 1,
          "billed_charges": 210
        }
      ]
    }
  ]
}
GET/ga/outpatient/rate

Georgia Outpatient Rates

Look up a Georgia Medicaid outpatient rate. Pricing routes by provider type across Georgia's outpatient methods: physician fee schedule (with anesthesia and enhanced rates), clinical lab, ASC payment groups, and hospital percent of charges.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified. Georgia publishes no state-specific provider ID: NPI and provider name are the only identifiers.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
modifierstringModifier. Values: 26 (Professional Component), TC (Technical Component), EP (HealthCheck preventive); anesthesia direction modifiers AA, QK, QY, QX, QZ select the conversion factor. Matched exactly to a published rate row.
place_of_servicestringPlace of service (physician codes only). Values: facility, non_facility. 'facility' returns the Site-of-Service rate where one is published; if omitted, the non_facility rate is returned.
billed_chargesdecimalTotal covered charges in dollars. Used for hospital percent-of-charges codes; without it, those responses return the effective percentage instead of a dollar amount.
anesthesia_minutesintegerAnesthesia time in minutes (anesthesia codes only). Any part of 15 minutes counts as one time unit. Without it, the response returns the base units, conversion factor, and formula with no dollar amount.
physical_statusstringASA physical status modifier (anesthesia codes only). Values: P1–P6. P3, P4, and P5 add units to the anesthesia computation; include it for a complete anesthesia price.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee schedule in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
provider_namestringProvider name.
campus_namestringCampus, for the multi-campus hospital systems Georgia rates per campus under one NPI. An NPI lookup that hits such a system returns one result per campus.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
critical_access_hospitalbooleanTRUE for Critical Access Hospitals (HOSPITAL only). CAHs are exempt from the Hospital Rate Add-On and their outpatient lab rides cost settlement (percent of charges) instead of the lab fee schedule.
primary_taxonomy_codestringNPPES primary taxonomy code.
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
statestringProvider state (always 'GA').
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringModifier on the matched row (e.g., '26', 'TC', 'QZ'). Sourced from the row, not the request input.
modifier_adjustmentdecimalRatio of this modifier row's rate to the unmodified base rate (populated on 26/TC professional-technical component rows). NULL when no published base relationship exists.
base_ratedecimalUnmodified fee-schedule rate the modifier adjustment was derived against. Populated only alongside modifier_adjustment.
place_of_servicestringPlace of service on the matched row (physician codes only).
payment_ratedecimalPayment rate in dollars. 0.00 when payment_rate_type is not_payable. Null on percent-of-charges rows without billed_charges and on anesthesia rows without anesthesia_minutes.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, not_payable (Georgia does not cover the code on a hospital outpatient claim; hospitals only).
calculation_methodstringHuman-readable calculation formula with actual values. On not_payable rows, the sentence saying the code is not covered, with the manual section.
service_categorystringWhich Georgia schedule priced the code. Values: physician_fs, site_of_service, enhanced_rate, anesthesia, anesthesia_flat, clinical_lab, padl_drug, vaccine_admin, asc, hospital_interim, not_covered (a code Georgia does not pay on a hospital outpatient claim; payment_rate_type is not_payable and payment_rate is 0.00).
age_groupstringAge restriction on the rate row. 'ADULT' on vaccine administration fees (members 21 and over; under-21 vaccines ride the VFC program).
enhancedbooleanTRUE when this is a legislative enhanced (rate-increase) crosswalk rate, returned because the provider is enrolled in the matching rate-increase program. Suppressed (null) otherwise.
asc_localitystringASC payment locality (01–08) the rate applies to, from the provider's county (ASC only).
payment_groupstringASC payment group (01–09) the code is assigned to (ASC only).
base_unitsdecimalAnesthesia base units for the code (anesthesia only).
anesthesia_conversion_factordecimalConversion factor in dollars per unit, selected by the direction modifier (anesthesia only).
time_units_usedintegerTime units derived from anesthesia_minutes (any part of 15 minutes = 1 unit).
physical_status_units_usedintegerUnits added for the ASA physical status modifier (P3 +1, P4 +2, P5 +3). Always present on anesthesia results; 0 when no physical status was supplied.
ga_schedule_ratedecimalGeorgia lab fee schedule rate: one side of the lab lesser-of (clinical_lab only).
medicare_clfs_ratedecimalMedicare CLFS national rate for the matching quarter: the other side of the lab lesser-of (clinical_lab only; NULL when Medicare publishes no CLFS rate for the code).
outpatient_interim_ratedecimalThe hospital's own percent-of-charges interim rate (HOSPITAL percent rows only).
addon_multiplierdecimalHospital Rate Add-On multiplier applied on top of the interim rate; 1.0 for Critical Access Hospitals.
effective_percent_of_chargesdecimalInterim rate × add-on multiplier: the effective fraction of covered charges this hospital is paid (HOSPITAL percent rows only).
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
billed_charges_useddecimalCovered charges used in the percent-of-charges calculation (echoed from request).
anesthesia_minutes_usedintegerAnesthesia minutes used to derive time units (echoed from request).
physical_status_usedstringASA physical status modifier used (echoed from request).
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ga/outpatient/rate?\
  billing_code=99213&\
  npi=1023095957" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1023095957",
    "provider_name": "SMITH, JOHN",
    "campus_name": null,
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "critical_access_hospital": null,
    "primary_taxonomy_code": "207Q00000X",
    "primary_taxonomy_display_name": "Family Medicine",
    "street_address": "100 PEACHTREE ST",
    "city": "ATLANTA",
    "county": "FULTON",
    "state": "GA",
    "zip_code": "30303",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "modifier": null,
    "modifier_adjustment": null,
    "base_rate": null,
    "place_of_service": "non_facility",
    "payment_rate": "82.05",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "Physician Fee Schedule = $82.05",
    "service_category": "physician_fs",
    "age_group": "ALL",
    "enhanced": null,
    "asc_locality": null,
    "payment_group": null,
    "base_units": null,
    "anesthesia_conversion_factor": null,
    "time_units_used": null,
    "physical_status_units_used": null,
    "ga_schedule_rate": null,
    "medicare_clfs_rate": null,
    "outpatient_interim_rate": null,
    "addon_multiplier": null,
    "effective_percent_of_charges": null,
    "is_manually_priced": null,
    "billed_charges_used": null,
    "anesthesia_minutes_used": null,
    "physical_status_used": null,
    "date_of_service_used": "2026-08-01",
    "effective_start_date": "2026-04-01",
    "effective_end_date": null
  }
]
POST/ga/outpatient/rate/batch

Look up multiple GA outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1023095957"
    },
    {
      "billing_code": "99284",
      "npi": "1992799050",
      "billed_charges": "10000"
    }
  ]
}
GET/ga/providers/search

Georgia Provider Search

Search for Georgia Medicaid providers by NPI, name, city, county, ZIP, taxonomy, provider type, or Critical Access status. Returns provider details with rate availability. Sourced from the DCH Active Provider Directory, Georgia's hospital rate listings, and CMS NPPES.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
countystringCounty (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY.
critical_access_hospitalbooleanFilter hospitals by Critical Access status (HOSPITAL only).
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳provider_namestringProvider name.
↳campus_namestringCampus, for multi-campus hospital systems rated per campus under one NPI.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization (always 'Organization' for HOSPITAL).
↳primary_taxonomystringNPPES primary taxonomy display name.
↳critical_access_hospitalbooleanTRUE for Critical Access Hospitals (HOSPITAL only).
↳asc_localitystringASC payment locality (01–08), from the provider's county (ASC only).
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/ga/providers/search?\
  provider_name=grady&\
  provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1992799050",
      "provider_name": "Grady Memorial Hospital",
      "campus_name": null,
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "General Acute Care Hospital",
      "critical_access_hospital": false,
      "asc_locality": null,
      "street_address": "80 JESSE HILL JR DR SE",
      "city": "ATLANTA",
      "county": "FULTON",
      "state": "GA",
      "zip_code": "30303",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/ma/inpatient/rate

Massachusetts Inpatient Rates

Look up a MassHealth APR-DRG inpatient payment, with cost-outlier, transfer per-diem, pediatric, and psychiatric and rehabilitation unit per-diem adjustments. The admission date determines the effective rate year.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code with or without severity, in the Chart C shape: '203-2' prices that severity level; '203' returns all four. Every inpatient claim carries an APR-DRG, including psychiatric and rehabilitation stays.
npi1 requiredstringNational Provider Identifier (10 digits).
ccn1 requiredstringCMS Certification Number (exact match).
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only hospitals that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified. Massachusetts publishes no state-specific provider ID.
admit_datestringAdmission date (MM/DD/YYYY or YYYY-MM-DD). MassHealth prices inpatient stays by admission date; the psychiatric and rehabilitation-unit per diems resolve on the same date. Defaults to today.
length_of_stayintegerTotal covered days for the stay, including any psychiatric-unit and rehabilitation-unit days entered below. Acute days are the remainder. Required to price a transfer per diem; not a pricing input on a standard stay.
psych_daysintegerDays spent in a DMH-licensed psychiatric bed (accommodation revenue codes 0114, 0124, 0134, 0154). Priced at the hospital's Psychiatric Per Diem; any remaining acute days price on the transfer basis.
rehab_daysintegerDays spent in the hospital's rehabilitation unit (accommodation revenue codes 0118, 0128, 0138, 0158). Priced at the hospital's Rehabilitation Unit Per Diem; the acute days before the transfer price at the full APAD.
total_chargesdecimalTotal allowed charges for the stay (UB-04 FL47). Required to evaluate the cost outlier; on a per-diem-only stay the per diem total is capped at total charges.
transfer_claimbooleanSet when the stay is paid on the Transfer Per Diem basis: the patient was transferred to another acute hospital (Discharge Status = 02), was admitted following an outpatient surgery or procedure at the hospital, or had a mid-stay change in MassHealth eligibility or plan enrollment. Requires length_of_stay.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringHospital NPI.
provider_namestringHospital name (as MassHealth's hospital rate tables spell it).
provider_typestringProvider type (HOSPITAL).
provider_type_labelstringHuman-readable provider type label.
ccnstringCMS Certification Number.
critical_access_hospitalbooleanTRUE for the four Critical Access Hospitals: the CAH standard rate replaces the APAD base payment (interim, subject to reconciliation); no pediatric adjustment.
pediatric_classstringPediatric APAD class for the rate year. Values: FREESTANDING_PEDIATRIC, PEDIATRIC_BEDS_1_15 (inferred from DPH licensure). Null is the standard under-21 class.
street_addressstringHospital street address.
citystringHospital city.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringAPR-DRG code priced, with severity (e.g., '203-2').
billing_code_typestringCode system: APR-DRG.
billing_code_descriptionstringAPR-DRG description (Chart C).
apr_drg_codestringAPR-DRG code without the severity suffix.
soistringSeverity of illness (1-4).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
relative_weightdecimalMassHealth DRG weight for this DRG-severity and rate year.
mean_losdecimalMean all-payer length of stay for the DRG-severity: the divisor of the transfer per diem.
apad_base_paymentdecimalThe hospital's published APAD Base Payment for the rate year (null for a CAH).
cah_total_standard_rate_per_dischargedecimalThe CAH standard rate per discharge that replaces the APAD base payment (CAH only).
pediatric_adjustment_pctdecimalPediatric APAD base adjustment applied. Present only when applied.
adjusted_apad_base_paymentdecimalAPAD base payment after the pediatric adjustment. Present only when an adjustment applied.
apad_amountdecimalThe APAD: (adjusted) base payment times the DRG weight. Present when the stay has acute days.
ip_cost_to_charge_ratiodecimalThe hospital's inpatient cost-to-charge ratio (may exceed 1.0; never clamped).
ip_fixed_outlier_thresholddecimalFixed inpatient outlier threshold for the rate year.
ip_marginal_cost_factordecimalMarginal cost factor applied to case cost above the threshold.
estimated_costdecimalDischarge-specific case cost: total charges times the cost-to-charge ratio.
outlier_thresholddecimalDischarge-specific outlier threshold: APAD plus the fixed threshold.
outlier_adjustment_appliedbooleanTRUE when an outlier payment was added. Suppressed (null) otherwise.
outlier_amountdecimalOutlier payment included in the total.
outlier_notestringSet when the outlier could not be evaluated (no total_charges) or is excluded (stays with psychiatric or rehabilitation-unit days).
total_case_paymentdecimalAPAD plus outlier payment: the amount the transfer per diem is derived from.
transfer_adjustment_appliedbooleanTRUE when the acute days were priced on the Transfer Per Diem basis. Suppressed (null) otherwise.
transfer_per_diemdecimalTotal case payment divided by the mean all-payer length of stay.
transfer_payment_capdecimalTotal Transfer Payment Cap (the total case payment).
transfer_paymentdecimalTransfer per diem times acute days, capped at the Total Transfer Payment Cap.
transfer_notestringSet when transfer_claim was requested without a length_of_stay of at least one day, or when the DRG row carries no mean all-payer length of stay (the full APAD is returned either way), or when psych_days / rehab_days arrived without length_of_stay (the stay was priced as per-diem-only).
psychiatric_per_diemdecimalThe hospital's Psychiatric Per Diem (null when the hospital carries none).
psychiatric_per_diem_amountdecimalPsychiatric Per Diem times psych_days.
rehabilitation_unit_per_diemdecimalThe hospital's Rehabilitation Unit Per Diem (null when the hospital carries none).
rehabilitation_unit_per_diem_amountdecimalRehabilitation Unit Per Diem times rehab_days.
charge_cap_appliedbooleanTRUE when a per-diem-only stay was capped at total charges. Suppressed (null) otherwise.
child_patient_usedbooleanEchoed input. TRUE when child_patient was submitted; suppressed (null) when false.
transfer_claim_usedbooleanEchoed input. TRUE when transfer_claim was submitted; suppressed (null) when false.
length_of_stay_usedintegerTotal covered days used (echoed from request).
acute_days_usedintegerAcute days derived as length_of_stay minus psych_days minus rehab_days.
psych_days_usedintegerPsychiatric-unit days used (echoed from request).
rehab_days_usedintegerRehabilitation-unit days used (echoed from request).
total_charges_useddecimalTotal charges used in the outlier and charge-cap calculations (echoed from request).
admit_date_useddateThe admit date the rate was priced against, echoed from the request. When you omit admit_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ma/inpatient/rate?\
  billing_code=203-2&\
  npi=1346218294&\
  admit_date=2025-03-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1346218294",
    "provider_name": "Boston Medical Center",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "ccn": "220017",
    "critical_access_hospital": false,
    "pediatric_class": null,
    "street_address": "ONE BOSTON MEDICAL CENTER PL",
    "city": "BOSTON",
    "county": null,
    "state": "MA",
    "zip_code": "02118",
    "billing_code": "203-2",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "CHEST PAIN",
    "apr_drg_code": "203",
    "soi": "2",
    "payment_rate": "4832.63",
    "payment_rate_type": "claim",
    "calculation_method": "$12,627.72 (APAD Base Payment) × 0.3827 (MassHealth DRG Weight) = $4,832.63 (Estimated Payment)",
    "relative_weight": "0.3827",
    "mean_los": "2.19",
    "apad_base_payment": "12627.72",
    "cah_total_standard_rate_per_discharge": null,
    "pediatric_adjustment_pct": null,
    "adjusted_apad_base_payment": null,
    "apad_amount": "4832.63",
    "ip_cost_to_charge_ratio": "0.5632",
    "ip_fixed_outlier_threshold": "42430.00",
    "ip_marginal_cost_factor": "0.60",
    "estimated_cost": null,
    "outlier_threshold": null,
    "outlier_adjustment_applied": null,
    "outlier_amount": null,
    "outlier_note": "Outlier qualification needs total_charges, which was not supplied, so no outlier was evaluated.",
    "total_case_payment": "4832.63",
    "transfer_adjustment_applied": null,
    "transfer_per_diem": null,
    "transfer_payment_cap": null,
    "transfer_payment": null,
    "transfer_note": null,
    "psychiatric_per_diem": "954.59",
    "psychiatric_per_diem_amount": null,
    "rehabilitation_unit_per_diem": null,
    "rehabilitation_unit_per_diem_amount": null,
    "charge_cap_applied": null,
    "child_patient_used": null,
    "transfer_claim_used": null,
    "length_of_stay_used": null,
    "acute_days_used": null,
    "psych_days_used": null,
    "rehab_days_used": null,
    "total_charges_used": null,
    "admit_date_used": "2025-03-15",
    "effective_start_date": "2024-10-01",
    "effective_end_date": null
  }
]
POST/ma/inpatient/rate/batch

Look up multiple MA inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "203-2",
      "npi": "1346218294",
      "admit_date": "2025-03-15"
    },
    {
      "billing_code": "203-2",
      "npi": "1346218294",
      "admit_date": "2025-03-15",
      "total_charges": "200000"
    },
    {
      "billing_code": "203-2",
      "npi": "1295765261",
      "admit_date": "2025-03-15",
      "length_of_stay": 12,
      "psych_days": 10
    }
  ]
}
GET/ma/outpatient/rate

Massachusetts Outpatient Rates

Look up a MassHealth outpatient rate. Pricing routes by provider type across MassHealth's outpatient methods: professional fee schedules (with anesthesia), ASC facility fees, clinical lab, and hospital EAPG pricing with the emergency department add-ons.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® code (e.g., 99213), or a MassHealth EAPG code (e.g., 25) for hospital outpatient pricing.
billing_code_typestringCode system to price. Values: HCPCS, EAPG. HCPCS codes price off the MassHealth fee schedules (and the hospital lab and ED add-on paths); EAPG codes price hospital outpatient episodes. If omitted, both are returned where present.
npi1 requiredstringNational Provider Identifier (10 digits).
ccn1 requiredstringCMS Certification Number (exact match, hospitals only).
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified. Massachusetts publishes no state-specific provider ID: NPI, CCN and provider name are the identifiers.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
modifierstringModifier. Values: 26 (Professional Component), TC (Technical Component), 50 (Bilateral), 51 (Multiple Procedure), 54 / 55 (surgical care / postoperative management only), 62 (Two Surgeons), 80 / 82 / AS (assistant at surgery); anesthesia direction modifiers AA, QZ, QK, QY, QX; HG / V1 / V2 on the hospital ED add-ons; CG on the COVID specimen-collection lab codes. Matched exactly to a published rate row.
place_of_servicestringPlace of service for codes that publish a non-facility / facility pair. Values: facility, non_facility. If omitted, the non-facility fee is returned (the facility fee for the hospital ED add-on G2213).
anesthesia_minutesintegerAnesthesia time in minutes (anesthesia codes only). MassHealth pays per base unit plus per minute of anesthesia time. Without it, the response returns the base units, unit fees and formula with no dollar amount.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee-schedule edition, bulletin or rate year in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
provider_namestringProvider name (hospitals: as MassHealth's hospital rate tables spell it).
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
ccnstringCMS Certification Number (hospitals only).
critical_access_hospitalbooleanTRUE for the four Critical Access Hospitals (HOSPITAL only). EAPG rows price off the CAH outpatient standard rate per episode, an interim rate subject to cost-report reconciliation.
primary_taxonomy_codestringNPPES primary taxonomy code.
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
statestringProvider state (always 'MA').
zip_codestringProvider ZIP code.
billing_codestringHCPCS/CPT or EAPG code looked up.
billing_code_typestringCode system. Values: HCPCS, EAPG.
billing_code_descriptionstringCode description: CPT from the licensed AMA data file (verbatim), HCPCS Level II from CMS, EAPG from the catalog.
modifierstringModifier on the matched row. Sourced from the row, not the request input.
modifier_adjustmentdecimalRatio of this modifier row's rate to the unmodified base rate: the published percentage on derived rows, the derived ratio on 26 / TC component rows, the direction factor on anesthesia rows. Null on base rows.
base_ratedecimalUnmodified fee-schedule rate the modifier adjustment was applied to. Populated only alongside modifier_adjustment.
place_of_servicestringPlace of service on the matched row: facility or non_facility.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
service_categorystringWhich MassHealth schedule priced the code. Values: surgery, medicine, radiology, anesthesia, clinical_lab, asc, eapg, ed_addon.
is_payablebooleanWhether the code is on this provider type's MassHealth provider-manual payable list. EOHHS rates the whole code set for every purchasing governmental unit; MassHealth pays only the payable subset. A display flag, never a filter; null when no list applies (hospital EAPG rows).
payability_markersstringPayable-list markers on the entry (prior authorization, individual consideration, consent or age markers).
eapg_weightdecimalMassHealth EAPG relative weight for the rate year (eapg only).
wage_adjusted_outpatient_standarddecimalThe hospital's Wage Adjusted APEC Outpatient Standard for the rate year, as published (non-CAH hospital EAPG rows only).
cah_outpatient_standard_rate_per_episodedecimalThe CAH outpatient standard rate per episode that replaces the wage-adjusted standard for a Critical Access Hospital; interim, subject to reconciliation.
ma_schedule_ratedecimalMassHealth clinical laboratory schedule rate: one side of the lab lesser-of (clinical_lab only).
medicare_clfs_ratedecimalMedicare CLFS national rate for the quarter in force on the date of service: the other side of the lab lesser-of. Null when Medicare publishes no CLFS rate for the code, in which case no cap applies.
base_unitsdecimalAnesthesia base units for the code (anesthesia only).
anesthesia_base_unit_feedecimalFee per base anesthesia unit (anesthesia only).
anesthesia_time_unit_feedecimalFee per minute of anesthesia time; one time unit is one minute (anesthesia only).
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null. Drugs paid at the Medicare average sales price and codes listed at $0.00 as placeholders until a fee is set are the exception: rate_found false with error_code no_published_amount.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
manual_pricing_reasonstringWhy the row is manually priced. Values: individual_consideration, unlisted, asp_drug, policy, placeholder.
is_packagedbooleanTRUE when the code is packaged with no separate payment (ASC zero-rate codes, zero-weight EAPGs). payment_rate is zero.
anesthesia_minutes_usedintegerAnesthesia minutes used in the payment (echoed from request).
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ma/outpatient/rate?\
  billing_code=99213&\
  npi=1003001165" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1003001165",
    "provider_name": "Dr. Lee Edwin Goldstein",
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "ccn": null,
    "critical_access_hospital": null,
    "primary_taxonomy_code": "207R00000X",
    "primary_taxonomy_display_name": "Internal Medicine",
    "street_address": "1 BOSTON MEDICAL CENTER PL",
    "city": "BOSTON",
    "county": null,
    "state": "MA",
    "zip_code": "02118",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "modifier": null,
    "modifier_adjustment": null,
    "base_rate": null,
    "place_of_service": "non_facility",
    "payment_rate": "68.11",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "Medicine Fee Schedule: non-facility fee (101 CMR 317) = $68.11",
    "service_category": "medicine",
    "is_payable": true,
    "payability_markers": null,
    "eapg_weight": null,
    "wage_adjusted_outpatient_standard": null,
    "cah_outpatient_standard_rate_per_episode": null,
    "ma_schedule_rate": null,
    "medicare_clfs_rate": null,
    "base_units": null,
    "anesthesia_base_unit_fee": null,
    "anesthesia_time_unit_fee": null,
    "is_manually_priced": null,
    "manual_pricing_reason": null,
    "is_packaged": null,
    "anesthesia_minutes_used": null,
    "date_of_service_used": "2026-09-13",
    "effective_start_date": "2025-09-23",
    "effective_end_date": null
  }
]
POST/ma/outpatient/rate/batch

Look up multiple MA outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1003001165"
    },
    {
      "billing_code": "25",
      "npi": "1346218294"
    },
    {
      "billing_code": "00100",
      "npi": "1003001165",
      "anesthesia_minutes": 60
    }
  ]
}
GET/ma/providers/search

Massachusetts Provider Search

Search for MassHealth providers by NPI, name, location, taxonomy, provider type, Critical Access status or pediatric class. Returns provider details with rate availability. Sourced from the yearly MassHealth acute hospital rate notice and CMS NPPES.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER.
critical_access_hospitalbooleanFilter hospitals by Critical Access status (HOSPITAL only).
pediatric_classstringFilter hospitals by pediatric APAD class. Values: FREESTANDING_PEDIATRIC, PEDIATRIC_BEDS_1_15 (HOSPITAL only).
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization (always 'Organization' for HOSPITAL).
↳primary_taxonomystringNPPES primary taxonomy display name.
↳ccnstringCMS Certification Number (hospitals only).
↳critical_access_hospitalbooleanTRUE for Critical Access Hospitals (HOSPITAL only).
↳pediatric_classstringInpatient pediatric APAD class (HOSPITAL only).
↳street_addressstringStreet address.
↳citystringCity.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerHow many providers matched in total; when it exceeds the providers returned, the response is one capped page.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/ma/providers/search?\
  provider_name=boston%20medical&\
  provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1346218294",
      "provider_name": "Boston Medical Center",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "General Acute Care Hospital",
      "ccn": "220017",
      "critical_access_hospital": false,
      "pediatric_class": null,
      "street_address": "ONE BOSTON MEDICAL CENTER PL",
      "city": "BOSTON",
      "county": null,
      "state": "MA",
      "zip_code": "02118",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/ny/inpatient/rate

New York Inpatient Claims

Look up a NY Medicaid inpatient rate. Pricing is routed by service type: acute care via APR-DRG, exempt psychiatric on a per-diem with age, intellectual-disability, and comorbidity factors, and six per-diem categories (Medical Rehab, CAH, Chemical Dependency Rehab, Adult and Child Dual Diagnosis, and Specialty Acute). Payer class (FFS or Managed Medicaid) selects the rate schedule.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code (e.g. '140', '140-2'). Required on every claim. Per-diem stays (CAH, med_rehab, etc.) echo it but price from the hospital's per diem.
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringNY Medicaid Provider ID (MMIS, 8-digit). NY's state-issued billing identifier (universal across professionals and hospitals).
opcert1 requiredstringHospital-only NY operating certificate. Not all NY providers have one.
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
service_typestringWhat category of inpatient care was delivered. Values: acute, psychiatric, specialty_acute, cah, med_rehab, chem_dep_rehab, dual_diag_adult, dual_diag_child. Optional: a hospital with acute rates defaults to acute, and a hospital with one kind of rate uses it. Required at a hospital with no acute rate and several kinds of rate, unless rate_code is sent.
rate_codestringOptional 4-digit code from UB-04 Value Code 24. An alternate way to specify Service Type; e.g., 2946/2960 = acute, 2852 = psychiatric, 2853 = med_rehab, 2999 = cah, 4608 = dual_diag_adult, 4607 = dual_diag_child. A code we can't price returns input_invalid.
payer_classstringPayer class. Values: FFS = traditional fee-for-service Medicaid claims. MMC = Managed Medicaid (insurer-administered) claims. MMC rates often include additional add-ons (Safety Net SDP + H+H ACR) auto-applied for qualifying hospitals on acute and psychiatric. Defaults to FFS.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Selects the rate period. Defaults to today.
length_of_stayintegerLength of stay in days. Required for psychiatric and per-diem service types; optional for acute (used only for transfer calculations).
alc_daysintegerDays within the stay where the patient was medically stable enough to be discharged but couldn't be (e.g., awaiting nursing home placement). ALC days pay at the ALC per-diem rate. Not supported for Adult or Child Dual Diagnosis Psychiatric: NY doesn't publish an ALC per-diem for those service types, so supplying alc_days > 0 returns rate_found=false with an explanatory error.
gross_chargesdecimalBilled charges (acute only), excluding charges for ALC days, which are paid separately at the ALC per diem. Required to evaluate cost-outlier eligibility.
transfer_claimbooleanTrue if this hospital transferred the patient to another facility. Acute only. Requires length_of_stay. A transfer gets no cost outlier unless its DRG is one of the transfer-only DRGs NY's payment worksheet names. Payment is rebuilt as a daily rate (the DRG payment divided by the DRG's average length of stay, times the transfer adjustment factor, plus the hospital's capital per diem) applied to each non-ALC day, then capped at what a full discharge would have paid. A separate factor applies when the DRG's average length of stay is 1, and transfer-only DRGs are paid the full DRG rate. The factors and the transfer-only DRGs are read from NY's payment worksheet for the discharge date. Per 10 NYCRR §86-1.21.
age_groupstringPsychiatric only. Values: ADULT, CHILD. CHILD applies when the patient is age 17 or under: FFS applies the psych age factor to the operating rate, and MMC uses the published age-17-and-under rate, which already includes it. Defaults to ADULT.
has_intellectual_disabilitybooleanPsychiatric only. True if the patient has an Intellectual Disability diagnosis. Applies the MR factor (max 1× per case).
comorbidity_categorystringPsychiatric only. Highest-matching comorbidity from NY's 18-category list (acute_coronary_syndrome, blood_disorders, brain_head_injury, cancers, cardio_respiratory_failure_shock, complications_medical_care_trauma, fluid_electrolyte_acid_base_disorders, major_organ_transplant_status, other_developmental_disability, other_endocrine_metabolic_nutritional_disorders, other_eye_disorders, other_hepatitis_liver_disease, other_musculoskeletal_connective_tissue_disorders, peptic_ulcer_hemorrhage_gi_disorders, protein_calorie_malnutrition, renal_disease, respiratory_illness, stroke_occlusion_cerebral_ischemia). The factor is NY's published value for the date of service.
ect_treatmentsintegerPsychiatric only. Number of electroconvulsive therapy treatments delivered during the stay.
prior_admission_within_30dbooleanPsychiatric only. Set if this stay is a readmission within 30 days of a prior discharge. Day 1 is then scaled as the later day NY's payment worksheet names, and every day of the stay moves along the length-of-stay scale by the same amount.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringHospital NPI.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
state_provider_idstringNY Medicaid Provider ID (MMIS).
opcertstringNY Operating Certificate number.
provider_namestringHospital name.
provider_type_labelstringHuman-readable provider type (always 'Hospital' for NY IP).
primary_taxonomy_codestringNPPES primary taxonomy code (NUCC standard).
primary_taxonomy_display_namestringNPPES primary taxonomy display name (NUCC-enriched).
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
statestringHospital state.
zip_codestringHospital ZIP.
billing_codestringThe claim's APR-DRG, echoed verbatim. On per-diem service types it is not used in pricing.
billing_code_typestringAlways 'APR-DRG'.
billing_code_descriptionstringDRG description (acute/psychiatric) or service-type description (per-diem).
billing_code_used_in_calculationbooleanFALSE on per-diem service types where billing_code was echoed but not used in pricing. Suppressed (null) on acute/psychiatric where the billing_code (APR-DRG) is the primary pricing input.
rate_codestringNY rate code echoed from request.
service_typestringResolved service type used for calculation.
service_type_sourcestringHow service_type was determined. Values: explicit, inferred_from_rate_code, inferred_from_drg, sole_provider_certification.
apr_drg_codestringAPR-DRG code (acute/psychiatric only).
soiintegerSeverity of Illness 1-4.
payer_classstringPayer class echoed. Values: FFS, MMC.
payer_class_labelstringHuman-readable payer class: 'Fee-for-Service' or 'Managed Medicaid'.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
siwdecimalAcute APR-DRG Service Intensity Weight.
psych_siwdecimalPsychiatric APR-DRG SIW (separate from acute SIW).
alosdecimalAverage Length of Stay. Surfaced only on transfer cases (used in the transfer per-diem calc).
statewide_base_price_useddecimalStatewide base price for the payer class (acute); background context, not a formula input.
isaf_useddecimalInput Service Adjustment Factor (acute). Surfaced only when a cost outlier is being evaluated.
discharge_rate_useddecimalDischarge Case Payment Rate for the matched hospital × payer class × period.
dme_useddecimalDirect Medical Education amount paid on FFS acute. Suppressed (null) on MMC acute since DME is bundled into IME and not paid separately.
capital_per_disch_useddecimalCapital per discharge base rate for the payer class (acute): the published base column alone. On MMC the non-comparable add-ons are paid on top and reported separately, so each amount maps to its own published column. Null on transfer claims, which pay capital per diem instead. Negative where NY publishes a deduction.
capital_addon_ambulance_mmcdecimalNon-comparable capital add-on: Ambulance (MMC acute). Null when zero or on transfer claims.
capital_addon_teaching_election_mmcdecimalNon-comparable capital add-on: Teaching Election Amendment Physician (MMC acute). Null when zero or on transfer claims.
capital_addon_school_nursing_mmcdecimalNon-comparable capital add-on: School of Nursing (MMC acute). Null when zero or on transfer claims.
capital_addon_min_wage_mmcdecimalNon-comparable capital add-on: Minimum Wage (MMC acute). The most widely applied of the four. Null when zero or on transfer claims.
capital_per_diem_useddecimalCapital per diem (acute). Surfaced only on transfer claims, where it replaces capital per discharge inside the daily rate. Negative where NY publishes a deduction.
high_cost_cc_useddecimalCost-to-charge ratio. Surfaced only when a cost outlier is being evaluated.
base_dr_paymentdecimalComputed: discharge_rate × siw (acute pre-add-ons).
is_outlier_casebooleanTRUE when the cost-outlier rule fired. Suppressed (null) when not applicable; only surfaced as a positive callout.
cost_of_casedecimalgross_charges × high_cost_cc (acute outlier).
cost_outlier_thresholddecimalPer-DRG outlier threshold. Surfaced only when an outlier is being evaluated.
outlier_threshold_adjusteddecimalcost_outlier_threshold × isaf.
outlier_eligible_costdecimalmax(0, cost_of_case − threshold).
outlier_amountdecimalOutlier dollar amount: all of outlier_eligible_cost, per 10 NYCRR §86-1.21(a)(1).
is_transfer_casebooleanTRUE when the transfer methodology applied. Suppressed (null) when not applicable; only surfaced as a positive callout. Also null for the transfer-only DRGs NY's payment worksheet names, which are paid the full DRG rate per 10 NYCRR §86-1.21(b)(2).
transfer_days_usedintegerDays priced at the transfer per diem: length_of_stay − alc_days. ALC days are paid separately at the ALC per diem.
transfer_adjustment_factordecimalThe transfer adjustment factor from NY's payment worksheet for the discharge date, or the worksheet's separate factor when the DRG's average length of stay is 1 (10 NYCRR §86-1.21(b)).
transfer_per_diemdecimal(base_dr_payment / alos × transfer_adjustment_factor) + capital_per_diem. Capital per diem is added after the factor, not multiplied by it.
transfer_adjusted_amountdecimalmin(transfer_per_diem × transfer_days_used, base_dr_payment + capital_per_disch). The cap is the full inlier payment, not the bare DRG base.
acute_alc_per_diem_useddecimalAcute ALC per diem. Surfaced only when alc_days > 0.
safety_net_sdp_per_disch_mmcdecimalSafety Net per-discharge add-on (MMC acute). Not paid on a mental health or substance use stay (by APR-DRG or rate code) at a hospital that has a psychiatric rate, per New York's billing guidance; the calculation method says so when it is withheld.
hh_acr_per_disch_mmcdecimalH+H Average Commercial Rate per-discharge add-on (MMC acute, NYC public hospitals). Not paid on the same mental health or substance use stays where New York's billing guidance for the period says so; the calculation method says so when it is withheld. Empty when New York publishes the add-on as $0, which it sometimes does while awaiting federal approval, until it republishes the rates with the approved amount.
psych_base_per_diem_useddecimalPsych base per-diem for payer class and age group.
age_factor_useddecimalPsych age factor (FFS, CHILD ≤17). Suppressed (null) for ADULT and for MMC, whose age-17-and-under rate already includes it.
age_factor_reasonstringHuman-readable reason the age factor applied. Suppressed when no factor applied.
mr_factor_useddecimalMR factor (when intellectual disability declared). Suppressed (null) when no MR factor applied.
mr_factor_reasonstringHuman-readable reason the MR factor applied. Suppressed when no factor applied.
comorbidity_factor_useddecimalHighest-matching psych comorbidity factor. Suppressed (null) when no comorbidity selected.
comorbidity_category_usedstringComorbidity category label. Suppressed when no comorbidity selected.
psych_non_op_per_diem_useddecimalPsych non-operating per-diem amount. Negative where NY publishes a deduction.
psych_ect_per_treatment_useddecimalPsych ECT per-treatment rate. Surfaced only when ect_treatments > 0.
ect_treatments_usedintegerECT treatments echoed. Surfaced only when > 0.
psych_alc_per_diem_useddecimalPsych ALC per-diem rate. Surfaced only when alc_days > 0.
psych_sdp_per_diem_mmcdecimalPsych Safety Net SDP per-diem add-on (MMC), paid for each day excluding ALC. Surfaced only on MMC psychiatric when populated.
psych_hh_acr_per_diem_mmcdecimalPsych H+H ACR per-diem add-on (MMC, NYC public hospitals), paid for each day excluding ALC. Surfaced only on MMC psychiatric when populated.
los_scale_days_at_1_20integerDays in the first tier of the length-of-stay scale in NY's payment worksheet.
los_scale_days_at_1_00integerDays in the second tier of the length-of-stay scale.
los_scale_days_at_0_96integerDays in the third tier of the length-of-stay scale. Suppressed (null) when the stay does not reach it.
los_scale_days_at_0_92integerDays in the fourth and last tier of the length-of-stay scale. Suppressed (null) when the stay does not reach it.
los_scaled_totaldecimalEffective scaled day count: each day excluding ALC times its tier factor.
prior_admission_within_30d_appliedbooleanTRUE when the readmission rule moved the stay along the length-of-stay scale. Suppressed (null) when not applicable.
prior_admission_within_30d_usedbooleanEchoed input. Suppressed (null) when FALSE.
has_intellectual_disability_usedbooleanEchoed input. Suppressed (null) when FALSE.
age_group_usedstringEchoed age group (ADULT / CHILD) for psychiatric.
per_diem_useddecimalPer-diem rate (per-diem service types). Suppressed (null) when 0.
alc_per_diem_useddecimalALC per-diem (per-diem service types). Suppressed (null) when alc_days = 0 or per-diem = 0.
length_of_stay_usedintegerLOS used in computation. Echoed when supplied; surfaced unconditionally on psychiatric / per-diem (required input).
non_alc_daysintegerLOS − alc_days (per-diem).
alc_days_usedintegerALC days echoed. Suppressed (null) when 0.
gross_charges_useddecimalCharges echoed. Surfaced only when supplied.
transfer_claim_usedbooleantransfer_claim echoed. Suppressed (null) when FALSE; only surfaced as a positive callout.
hcra_surcharge_pct_useddecimalHCRA surcharge percentage for the payer class.
hcra_surcharge_amountdecimalHCRA dollar amount included in payment_rate.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/ny/inpatient/rate?\
  billing_code=140-2&\
  npi=1659307817&\
  payer_class=FFS&\
  discharge_date=2024-01-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1659307817",
    "state_provider_id": "01234567",
    "opcert": "0101000H",
    "provider_name": "ALBANY MEDICAL CENTER HOSPITAL",
    "city": "ALBANY",
    "county": "ALBANY",
    "state": "NY",
    "zip_code": "12208",
    "billing_code": "140-2",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "CHRONIC OBSTRUCTIVE PULMONARY DISEASE",
    "service_type": "acute",
    "service_type_source": "explicit",
    "apr_drg_code": "140",
    "soi": 2,
    "payer_class": "FFS",
    "payer_class_label": "Fee-for-Service",
    "payment_rate": "7639.41",
    "payment_rate_type": "claim",
    "calculation_method": "$7,286.37 (Discharge Case Payment Rate) × 0.722 (SIW) = $5,260.76 (Base DRG Payment)\n+ $1,135.51 (Direct Medical Education) + $740.70 (Capital Per Discharge) + $502.44 (HCRA Surcharge 7.04%)\n= $7,639.41 (Total Payment)",
    "siw": "0.722",
    "discharge_rate_used": "7286.37",
    "dme_used": "1135.51",
    "capital_per_disch_used": "740.70",
    "base_dr_payment": "5260.76",
    "hcra_surcharge_pct_used": "0.0704",
    "hcra_surcharge_amount": "502.44",
    "statewide_base_price_used": "7460.06",
    "discharge_date_used": "2024-01-15",
    "effective_start_date": "2024-01-01",
    "effective_end_date": "2024-03-31"
  }
]
POST/ny/inpatient/rate/batch

Look up multiple NY inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "140-2",
      "npi": "1659307817",
      "payer_class": "FFS"
    },
    {
      "billing_code": "750-1",
      "npi": "1417027558",
      "payer_class": "MMC",
      "service_type": "psychiatric",
      "length_of_stay": 10,
      "age_group": "CHILD"
    }
  ]
}
GET/ny/outpatient/rate

New York Outpatient Rates

Look up a NY Medicaid outpatient rate. Methodologies are routed by provider type: Hospital, D&TC, and ASC APGs, as well as eMedNY Physician and Lab fee schedules.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS code (e.g., 99213) or APG code.
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringNY Medicaid Provider ID (MMIS, 8-digit). NY's state-issued billing identifier (universal across professionals and hospitals).
opcert1 requiredstringHospital-only NY operating certificate. Not all NY providers have one.
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, OUTPATIENT_CLINIC_ASC, LABORATORY (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
rate_codestringNY 4-digit rate code from UB-04 Value Code 24. HOSPITAL APG: 1400 → OPD visit, 1402 → ED, 1432 → OPD episode. OUTPATIENT_CLINIC_ASC: 1407 / 1422 → D&TC Clinic, 1408 → Amb Surg. If omitted, hospital APG defaults to OPD visit; D&TC/ASC defaults to the NPI's peer-group preferred column (Clinic over Amb Surg).
service_regionstringD&TC/ASC only. Values: Downstate, Upstate. Disambiguates the ~6 multi-region D&TC providers; auto-detected from provider address otherwise.
modifierstringModifier (PHYSICIAN HCPCS only). Values: 26 (Professional Component), TC (Technical Component). NY pre-multiplies at the data layer; modifier_adjustment carries the multiplier.
place_of_servicestringPlace of service (PHYSICIAN HCPCS only). Values: facility, non_facility. If omitted, returns the source default row (typically non_facility).
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Selects the fee schedule (HCPCS) or APG weight version (APG codes) in effect on this date. Defaults to today.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
state_provider_idstringNY Medicaid Provider ID (MMIS, 8-digit).
opcertstringNY Operating Certificate number. NULL for non-hospitals.
provider_namestringProvider name.
provider_typestringNY provider type. Values: HOSPITAL, PHYSICIAN, OUTPATIENT_CLINIC_ASC, LABORATORY.
provider_type_labelstringHuman-readable provider type.
ny_profession_or_servicestringNY-published profession/service category (comma-delimited title case where a provider operates under multiple categories). Examples: Physician, Nurse Practitioner, Outpatient Clinic. NULL for some hospital rows.
ny_provider_specialtystringNY-published specialty sub-classification (comma-delimited title case). Examples: Cardiology, Geriatric Medicine, General Dentistry.
primary_taxonomy_codestringNPPES primary taxonomy code (NUCC standard).
primary_taxonomy_display_namestringNPPES primary taxonomy display name (NUCC-enriched).
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
statestringProvider state (typically 'NY').
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
rate_codestringNY 4-digit rate code echoed from request.
modifierstringModifier applied (e.g., 26, TC).
modifier_adjustmentdecimalMultiplier applied to base rate (PHYSICIAN modifier 26 / TC rows where NY pre-multiplies).
place_of_servicestringPlace of service used.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
apg_weightdecimalAPG relative weight (Solventum 3M v3.17, NY-branded as APG).
px_based_weightdecimalHCPCS procedure-overlay weight (OT/PT/SLP/nutrition codes).
apg_base_rate_useddecimalAPG base rate applied (Hospital APG path or D&TC/ASC peer-group rate).
apg_base_rate_source_columnstringWhich base-rate column was used. Hospital values: apg_base_rate_opd_visit, apg_base_rate_ed, apg_base_rate_opd_episode. D&TC/ASC values: apg_base_rate_dtc_clinic_{upstate|downstate}, apg_base_rate_dtc_ambsurg_{upstate|downstate}.
payment_operatingdecimalOperating portion of payment_rate (apg_weight × apg_base_rate_used). D&TC/ASC + Hospital APG paths.
payment_capitaldecimalCapital add-on per visit (D&TC/ASC only; per-NPI). Hospital APG capital is bundled into the base rate.
capital_anomalybooleanTRUE when the NPI's published capital add-on falls outside the expected range; surfaces data-quality outliers for review.
units_limitdecimalPer-claim units limit (when published).
anesthesia_base_unitsdecimalAnesthesia base unit count for the code. NY publishes base units but no per-unit rate, so an anesthesia result has rate_found=true with these base units, payment_rate=null, the formula in calculation_method and an advisory saying why. Apply your own per-unit rate and time units downstream.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
prior_auth_requiredbooleanTRUE when the code requires prior authorization.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
service_region_usedstringThe region used to select the APG base rate (Downstate or Upstate), derived from the rate column actually priced (multi-region NPIs default to Downstate when the region is omitted). Null when region does not apply (hospitals, fee-schedule rows).
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
advisoriesarrayInformational advisories (code + message), e.g. anesthesia_unit_rate_not_published on anesthesia codes, which carry base units but no payment. Omitted from the response when there are none.
Request
curl "https://api.staterates.health/api/v1/ny/outpatient/rate?\
  billing_code=99213&\
  npi=1407957863" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1407957863",
    "state_provider_id": "01234567",
    "opcert": null,
    "provider_name": "HAQ INAM UL",
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "ny_profession_or_service": "PHYSICIAN",
    "ny_provider_specialty": "FAMILY PRACTICE",
    "city": "BROOKLYN",
    "county": "KINGS",
    "state": "NY",
    "zip_code": "11201",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "rate_code": null,
    "modifier": null,
    "modifier_adjustment": null,
    "place_of_service": "non_facility",
    "payment_rate": "86.75",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "eMedNY Physician Fee Schedule (Non-Facility): $86.75",
    "apg_weight": null,
    "apg_base_rate_used": null,
    "apg_base_rate_source_column": null,
    "anesthesia_base_units": null,
    "is_manually_priced": false,
    "prior_auth_required": false,
    "date_of_service_used": "2026-08-01",
    "service_region_used": null,
    "effective_start_date": "2024-01-01",
    "effective_end_date": null
  }
]
POST/ny/outpatient/rate/batch

Look up multiple NY outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1407957863"
    },
    {
      "billing_code": "76700",
      "npi": "1407957863",
      "modifier": "26"
    },
    {
      "billing_code": "80048",
      "npi": "1629737200"
    }
  ]
}
GET/ny/providers/search

New York Provider Search

Search for NY Medicaid providers by NPI, MMIS ID, OPCERT (Article 28 hospitals), name, location, or taxonomy. Returns provider details with rate availability.

Parameters

NameTypeDescription
npistringProvider NPI (10 digits).
state_provider_idstringNY Medicaid Provider ID (MMIS, 8-digit).
opcertstringNY Operating Certificate (Article 28 hospitals).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
countystringCounty (partial match).
zip_codestringZIP code (exact match).
statestringPractice state (2-letter code, exact match). The roster includes NY Medicaid enrollees with out-of-state offices.
ny_profession_or_servicestringNY-published profession/service category (partial match). Examples: Physician, Nurse Practitioner, Podiatrist.
ny_provider_specialtystringNY-published specialty sub-classification (partial match). Examples: Cardiology, Geriatric Medicine.
taxonomystringNPPES primary taxonomy display name (partial match). NUCC-enriched display name.
provider_typestringValues: HOSPITAL, PHYSICIAN, OUTPATIENT_CLINIC_ASC, LABORATORY.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
↳state_provider_idstringMMIS ID.
↳opcertstringOperating Certificate (hospitals only).
↳provider_namestringProvider name.
↳provider_typestringNY provider type.
↳provider_type_labelstringHuman-readable provider type.
↳entity_typestringIndividual or Organization.
↳ny_profession_or_servicestringNY profession/service category (comma-delimited title case).
↳ny_provider_specialtystringNY specialty (comma-delimited title case).
↳primary_taxonomystringNPPES primary taxonomy display name (NUCC-enriched).
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty.
↳statestringState.
↳zip_codestringZIP.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
↳available_service_typesstring[]IP service_types this hospital publishes rates for (acute, psychiatric, specialty_acute, cah, med_rehab, chem_dep_rehab, dual_diag_adult, dual_diag_child). Values match the service_type input on /ny/inpatient/rate. Empty for non-hospitals.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/ny/providers/search?\
  provider_type=HOSPITAL&\
  city=New+York" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1417027558",
      "state_provider_id": "01234567",
      "opcert": "7000045H",
      "provider_name": "Bronxcare Hospital Center",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "ny_profession_or_service": "Hospital - Inpatient, Outpatient",
      "ny_provider_specialty": null,
      "primary_taxonomy": "General Acute Care Hospital",
      "street_address": "1650 Selwyn Avenue",
      "city": "Bronx",
      "county": "Bronx",
      "state": "NY",
      "zip_code": "10457",
      "op_rates": true,
      "ip_rates": true,
      "available_service_types": [
        "acute",
        "psychiatric"
      ]
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/oh/inpatient/rate

Ohio Inpatient Claims

Look up an Ohio Medicaid APR-DRG inpatient payment rate. Incorporates capital and medical-education add-ons, cost outliers, transfer per-diem caps, and special claim types such as Medicare crossovers, organ acquisition, and psychiatric per-diems.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code. Accepts '140-2', '140', '0140-2', '0140', or '1402' (composite is parsed into apr_drg_code + soi).
npi1 requiredstringNational Provider Identifier (10 digits).
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Drives all DRG pricing parameter lookups.
transfer_claimbooleanTransfer claim. Discharge status 02, 05, 63, 65, 66, 82, 85, 91, 93, or 94 (transferred to another facility).
interim_claimbooleanInterim claim: a long stay billed in periodic interim increments, reconciled to the final DRG at discharge.
length_of_stayintegerLOS in days. Required for transfer + interim. Defaults to the DRG's average length of stay.
total_chargesdecimalCovered billed charges. Required for the outlier, interim, lesser-of-charges, and organ-acquisition paths.
crossover_claimbooleanMedicare-Medicaid dual-eligible crossover claim? Swaps base rate + IP CCR to medicare_crossover_* columns. Capital, Med-ED, IP CCA stay on standard columns.
organ_acquisitionbooleanOrgan acquisition claim (heart, lung, liver, or pancreas). Requires total_charges.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringHospital NPI.
provider_namestringHospital name.
hospital_classstringDerived facility-type classification. Values: Critical Access, Children's, Teaching, Rural, Psychiatric, General Acute Care. Psychiatric is assigned when the hospital has a published psych per-diem rate (FSP); other hospitals fall back to peer-group bucketing.
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
apr_drg_codestringBase APR-DRG code (3-digit).
soiintegerSeverity of Illness (1–4).
casemix_relative_weightdecimalOH-published DRG relative weight for this (DRG, SOI).
average_length_of_staydecimalStatewide average length of stay for this DRG (drives transfer per-diem calc).
is_not_coveredbooleanDRG flagged 'Not Covered' in source (specific transplants under DRG 772).
inpatient_base_ratedecimalHospital IP base rate (or medicare_crossover_ip_base_rate when crossover_claim=true).
capital_ratedecimalHospital combined capital rate.
meded_ratedecimalHospital Med-ED rate (0 for non-eligible hospitals).
ip_cca_ratedecimalHospital IP CCA per-discharge rate.
xix_ip_ccrdecimalHospital XIX IP cost-to-charge ratio (used for outlier and interim calculations).
psych_per_diem_ratedecimalFSP psych per-diem rate. FSP path only.
drg_base_paymentdecimalDRG Base Payment = inpatient_base_rate × casemix_relative_weight.
capital_allowancedecimalCapital Allowance = capital_rate × casemix_relative_weight.
meded_allowancedecimalMed-ED Allowance = meded_rate × casemix_relative_weight.
cca_amountdecimalIP CCA flat amount per discharge.
outlier_adjustment_appliedbooleanWhether the cost-outlier add-on fired.
outlier_thresholddecimalOutlier threshold = drg_base_payment + fixed_outlier_threshold.
fixed_outlier_thresholddecimalFixed threshold per SPA §F: one amount for neonate/tracheostomy DRGs, another for all others.
outlier_threshold_basisstringBasis used: 'neonate', 'tracheostomy', or 'standard'.
estimated_costdecimalcost_of_case = total_charges × xix_ip_ccr.
outlier_eligible_costdecimaleligible_outlier_cost = estimated_cost − outlier_threshold (when positive).
outlier_marginal_pctdecimalOutlier marginal cost percentage applied (per SPA §F).
outlier_amountdecimalOutlier add-on = eligible_outlier_cost × outlier_marginal_pct.
transfer_adjustment_appliedbooleanWhether the transfer per-diem cap reduced the DRG base payment.
statewide_avg_losdecimalStatewide average LOS used for transfer per-diem (= DRG average_length_of_stay).
transfer_per_diemdecimalTransfer per-diem = (inpatient_base_rate × casemix_relative_weight) / statewide_avg_los.
transfer_per_diem_totaldecimaltransfer_per_diem × (length_of_stay + 1).
transfer_adjusted_amountdecimalDRG base after transfer cap = min(transfer_per_diem_total, drg_base_payment).
interim_payment_appliedbooleanWhether the interim-claim cost-based pricing path was used.
interim_payment_amountdecimalInterim payment = xix_ip_ccr × total_charges.
fsp_per_diem_appliedbooleanWhether the FSP psych per-diem path was used (hospital has psych_per_diem_rate > 0).
fsp_per_diem_amountdecimalFSP per-diem payment = length_of_stay × psych_per_diem_rate.
organ_acquisition_appliedbooleanWhether the organ-acquisition 100%-of-charges rule was used.
organ_acquisition_amountdecimalOrgan acquisition payment = total_charges.
crossover_claim_appliedbooleanWhether the Medicare crossover formula path was used.
charge_cap_appliedbooleanWhether the lesser-of-charges cap reduced the final payment (only fires when outlier qualifies, per SPA §F(3)).
length_of_stay_usedintegerLOS used in calculation.
total_charges_useddecimalTotal charges used in calculation.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/oh/inpatient/rate?\
  billing_code=140-2&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "provider_name": "OHIO GENERAL HOSPITAL",
    "hospital_class": "General Acute Care",
    "street_address": "500 HOSPITAL DR",
    "city": "CLEVELAND",
    "county": "CUYAHOGA",
    "state": "OH",
    "zip_code": "44106",
    "billing_code": "140-2",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "CHRONIC OBSTRUCTIVE PULMONARY DISEASE",
    "payment_rate": "3794.04",
    "payment_rate_type": "claim",
    "calculation_method": "Standard DRG: ($4897.92 (Hospital IP Base Rate) + $404.37 (Capital Rate) + $235.70 (Med-ED Rate)) × 0.569068 (DRG/SOI Relative Weight) + $642.55 (IP CCA per Discharge) = $3794.04 (Standard Payment).",
    "apr_drg_code": "140",
    "soi": 2,
    "casemix_relative_weight": "0.569068",
    "average_length_of_stay": "4.20",
    "is_not_covered": false,
    "inpatient_base_rate": "5897.21",
    "capital_rate": "954.50",
    "meded_rate": "0.00",
    "ip_cca_rate": "-105.50",
    "xix_ip_ccr": "0.2800",
    "psych_per_diem_rate": null,
    "drg_base_payment": "3356.27",
    "capital_allowance": "543.27",
    "meded_allowance": "0.00",
    "cca_amount": "-105.50",
    "outlier_adjustment_applied": false,
    "outlier_threshold": null,
    "fixed_outlier_threshold": null,
    "outlier_threshold_basis": null,
    "estimated_cost": null,
    "outlier_eligible_cost": null,
    "outlier_marginal_pct": null,
    "outlier_amount": null,
    "transfer_adjustment_applied": false,
    "statewide_avg_los": null,
    "transfer_per_diem": null,
    "transfer_per_diem_total": null,
    "transfer_adjusted_amount": null,
    "interim_payment_applied": false,
    "interim_payment_amount": null,
    "fsp_per_diem_applied": false,
    "fsp_per_diem_amount": null,
    "organ_acquisition_applied": false,
    "organ_acquisition_amount": null,
    "crossover_claim_applied": false,
    "charge_cap_applied": false,
    "length_of_stay_used": 4,
    "total_charges_used": null,
    "discharge_date_used": "2026-08-01",
    "effective_start_date": "2025-07-01",
    "effective_end_date": null
  }
]
POST/oh/inpatient/rate/batch

Look up multiple OH inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "140-2",
      "npi": "1234567890"
    },
    {
      "billing_code": "194-1",
      "npi": "9876543210",
      "length_of_stay": 7,
      "total_charges": "120000",
      "transfer_claim": true
    }
  ]
}
GET/oh/outpatient/rate

Ohio Outpatient Rates

Look up an Ohio Medicaid outpatient rate. Physicians, imaging centers, and clinical labs are reimbursed by HCPCS code from fee schedules (MSRIAP for physicians and imaging, the Clinical Lab schedule for labs). Hospitals and ASCs are reimbursed per claim using EAPG rates.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS code (e.g., 99213) or EAPG code (e.g., 00002).
billing_code_typestringCode system filter. Values: HCPCS, EAPG. If omitted, returns results for all matching code systems.
npi1 requiredstringNational Provider Identifier (10 digits).
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
modifierstringModifier. Values: 26 (Professional Component), TC (Technical Component). Matched to a pre-multiplied row in the data layer; modifier_adjustment in the response carries the multiplier when one was applied. Other modifiers (e.g., 'QW' for CLIA-waived lab) match published per-modifier rows directly when present.
place_of_servicestringPlace of service (MSRIAP only; ignored for EAPG). Values: facility, non_facility. If omitted, returns the source default rate (typically non-facility).
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee schedule (HCPCS) or relative-weight version (EAPG) in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
provider_namestringProvider name.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
hospital_classstringDerived facility-type classification (HOSPITAL only). Values: Critical Access, Children's, Teaching, Rural, Psychiatric, General Acute Care. Psychiatric is assigned when the hospital has a published psych per-diem rate (FSP); other hospitals fall back to peer-group bucketing.
primary_taxonomy_codestringNPPES primary taxonomy code (non-hospital providers).
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
statestringProvider state (always 'OH').
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringModifier applied (e.g., '26', 'TC', 'QW').
modifier_adjustmentdecimalMultiplier applied to base_rate to derive payment_rate. Populated only when the rate is a derived modifier row (currently MSRIAP modifier 26 / TC). NULL when payment_rate is published as-is: base rates, Lab modifier rows where ODM publishes the modified rate flat (QW / 26 / TC), and EAPG. HCPCS path only.
place_of_servicestringPlace of service used (MSRIAP only).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
eapg_weightdecimalEAPG relative weight (Solventum 3M v3.17). EAPG path only.
asc_flat_basedecimalASC statewide flat base rate in effect on the date of service. ASC path only.
outpatient_base_ratedecimalHospital-specific OP base rate. Hospital EAPG path only.
op_cca_ratedecimalHospital OP Cost-Coverage Add-on per detail line. Hospital EAPG path only.
xix_op_ccrdecimalHospital XIX OP cost-to-charge ratio (reference value). Hospital EAPG path only.
base_ratedecimalSource fee-schedule rate for this code/POS before any modifier adjustment. When modifier_adjustment is populated, payment_rate = base_rate × modifier_adjustment (cent-rounded). When no adjustment was applied, base_rate equals payment_rate. HCPCS path only.
hospital_pa_advisorystringMSRIAP prior-auth advisory text. HCPCS path only.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
is_flat_ratebooleanEAPG sentinel: flat-rate EAPG paid by OAC policy not weight × base (FR sentinel). payment_rate=NULL with explanatory message.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/oh/outpatient/rate?\
  billing_code=99213&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "provider_name": "OHIO MEDICAL GROUP",
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "hospital_class": null,
    "primary_taxonomy_code": "207R00000X",
    "primary_taxonomy_display_name": "Internal Medicine",
    "street_address": "100 MAIN ST",
    "city": "COLUMBUS",
    "county": "FRANKLIN",
    "state": "OH",
    "zip_code": "43215",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "modifier": null,
    "modifier_adjustment": null,
    "place_of_service": "non_facility",
    "payment_rate": "46.23",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "MSRIAP Fee Schedule (Non-Facility) = $46.23",
    "eapg_weight": null,
    "asc_flat_base": null,
    "outpatient_base_rate": null,
    "op_cca_rate": null,
    "xix_op_ccr": null,
    "base_rate": "46.23",
    "hospital_pa_advisory": "No PA",
    "is_manually_priced": false,
    "is_flat_rate": null,
    "date_of_service_used": "2026-08-01",
    "effective_start_date": "2026-01-01",
    "effective_end_date": null
  }
]
POST/oh/outpatient/rate/batch

Look up multiple OH outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1234567890"
    },
    {
      "billing_code": "00002",
      "billing_code_type": "EAPG",
      "npi": "1043641897"
    }
  ]
}
GET/oh/providers/search

Ohio Provider Search

Search for Ohio Medicaid providers by NPI, name, location, taxonomy, provider type, or hospital class. Returns provider details with rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
countystringCounty (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match, non-hospital).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER.
hospital_classstringHospital classification filter (HOSPITAL only). Values: Critical Access, Children's, Teaching, Rural, Psychiatric, General Acute Care.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization (always 'Organization' for HOSPITAL).
↳primary_taxonomystringNPPES primary taxonomy display name (non-hospital).
↳hospital_classstringDerived facility-type classification (HOSPITAL only). Values: Critical Access, Children's, Teaching, Rural, Psychiatric, General Acute Care.
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/oh/providers/search?\
  provider_name=cleveland&\
  provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "provider_name": "OHIO GENERAL HOSPITAL",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": null,
      "hospital_class": "General Acute Care",
      "street_address": "500 HOSPITAL DR",
      "city": "CLEVELAND",
      "county": "CUYAHOGA",
      "state": "OH",
      "zip_code": "44106",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/pa/inpatient/rate

Pennsylvania Inpatient Claims

APR-DRG inpatient payment, with transfer, high-cost and low-cost outlier and interim pricing, and the daily rates paid for psychiatric and drug and alcohol stays. The discharge date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code, with or without severity: '560-1' prices that severity level; '560' returns all four.
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringPennsylvania Medicaid ID (13 digits). Identifies one hospital location where several share an NPI.
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that matched.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Pennsylvania prices inpatient stays by date of discharge. Defaults to today.
length_of_stayintegerLength of stay in days. Used for transfer and interim claims and per diem stays. On a transfer claim, leave out the day of transfer unless it is also the day of admission.
total_chargesdecimalTotal billed charges. Needed to evaluate the high-cost and low-cost outliers.
transfer_claimbooleanTrue when the patient was transferred to another hospital for inpatient care (patient status 02). Needs length_of_stay. Defaults to false.
interim_claimbooleanTrue for an interim claim: the patient is still in the hospital (patient status 30). Priced only for a stay of at least 90 days. Needs length_of_stay. Defaults to false.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
state_provider_idstringPennsylvania Medicaid ID (hospitals only).
matched_state_provider_idstringThe Medicaid ID you sent, shown only when this hospital is returned under a different Medicaid ID. Some hospitals have more than one Medicaid ID. Null otherwise.
provider_namestringProvider name. A hospital campus carries its own name.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
primary_campusbooleanHospitals only: TRUE on the row that is the hospital itself, FALSE on a campus that shares its NPI.
ccnstringCMS Certification Number (hospitals only).
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county. Not published for Pennsylvania; always null.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
apr_drg_codestringBase APR-DRG code.
soiintegerSeverity of illness (1-4).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
service_typestringThe DRG's category. Values: acute, psychiatric, drug_alcohol. With the hospital's units and license it picks the pricing path.
pricing_pathstringHow the stay priced. Values: full_drg, transfer, interim, two_day_per_diem (a daily amount, two days at most), unit_per_diem (the hospital's psychiatric or drug and alcohol unit daily rate).
relative_weightdecimalPennsylvania's APR-DRG relative weight for the DRG and severity.
average_length_of_staydecimalPennsylvania's average length of stay for the DRG and severity, the divisor of the daily amount on transfer, interim and two-day per diem claims.
apr_drg_base_ratedecimalThe hospital's APR-DRG base rate for the discharge date's fiscal year.
base_paymentdecimalBase rate × relative weight, before transfer, outlier or interim pricing.
drg_per_diemdecimalBase payment ÷ average length of stay: the daily amount on transfer, interim and two-day per diem claims.
psych_per_diem_ratedecimalThe hospital's psychiatric unit daily rate (psychiatric DRGs at a hospital with a psychiatric unit).
drug_alcohol_per_diem_ratedecimalThe hospital's drug and alcohol unit daily rate (drug and alcohol DRGs at a hospital with a drug and alcohol unit).
detox_license_start_datedateDrug and alcohol DRGs: the date the hospital's inpatient hospital detoxification license was added. A hospital licensed on the discharge date, with no drug and alcohol unit, is paid the full DRG.
covered_days_paidintegerDays the payment covers on a stay paid by the day: length_of_stay, two at most on the two-day per diem, one when no length_of_stay was sent.
transfer_adjusted_amountdecimalDaily amount × length_of_stay (transfer claims).
transfer_adjustment_appliedbooleanTRUE when the transfer amount was lower than the base payment and set the payment. Suppressed (null) otherwise.
transfer_pricing_exemptbooleanTRUE on a transfer claim for a newborn or burn DRG, which Pennsylvania exempts from transfer pricing. Suppressed (null) otherwise.
cost_to_charge_ratiodecimalThe hospital's cost-to-charge ratio for the discharge date's fiscal year, used for outliers.
estimated_costdecimalTotal charges × the hospital's cost-to-charge ratio.
high_cost_outlier_thresholddecimalThe DRG's high-cost outlier threshold.
high_cost_outlier_percentagedecimalShare of cost above the base payment plus the threshold paid as the high-cost outlier.
low_cost_outlier_thresholddecimalThe DRG's low-cost outlier threshold.
low_cost_outlier_percentagedecimalShare the hospital keeps of the base payment above its cost plus the threshold.
outlier_typestringhigh_cost or low_cost when an outlier changed the payment. Suppressed (null) otherwise.
outlier_adjustment_appliedbooleanTRUE when an outlier changed the payment. Suppressed (null) otherwise.
outlier_amountdecimalOutlier adjustment to the base payment: positive for a high-cost outlier, negative for a low-cost outlier.
outlier_figures_defaultedbooleanTRUE when the weight table leaves this DRG's outlier figures blank for the discharge date and Pennsylvania's standard figures were used. Suppressed (null) otherwise.
interim_ceiling_amountdecimalInterim claims: daily amount × 150% × length_of_stay.
interim_ceiling_appliedbooleanTRUE when the interim ceiling was lower than the base payment plus high-cost outlier and set the payment. Suppressed (null) otherwise.
rates_carried_from_prior_listingbooleanTRUE when Pennsylvania's rate listing for the discharge date's fiscal year gives this hospital no rate and its most recent earlier rate is used. Suppressed (null) otherwise.
calculation_notestringContext on how the stay priced. Null otherwise.
length_of_stay_usedintegerLength of stay used (echoed from request).
total_charges_useddecimalTotal charges used (echoed from request).
transfer_claim_usedbooleanEcho of transfer_claim. TRUE when submitted as true; suppressed (null) when FALSE.
interim_claim_usedbooleanEcho of interim_claim. TRUE when submitted as true; suppressed (null) when FALSE.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/pa/inpatient/rate?\
billing_code=560-1&\
state_provider_id=1001234560001&\
discharge_date=2026-03-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "reference_id": null,
    "request_index": null,
    "rate_found": true,
    "provider_matches_total": null,
    "error_message": null,
    "error_code": null,
    "npi": "1234567890",
    "matched_npi": null,
    "state_provider_id": "1001234560001",
    "matched_state_provider_id": null,
    "provider_name": "Example General Hospital",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "primary_campus": true,
    "ccn": "390000",
    "street_address": "100 Main St",
    "city": "Lancaster",
    "county": null,
    "state": "PA",
    "zip_code": "17602",
    "billing_code": "560-1",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "VAGINAL DELIVERY",
    "apr_drg_code": "560",
    "soi": 1,
    "payment_rate": "3050.98",
    "payment_rate_type": "claim",
    "calculation_method": "$7,943.18 (Hospital APR-DRG Base Rate) × 0.3841 (Relative Weight) = $3,050.98 (Estimated Payment)",
    "service_type": "acute",
    "pricing_path": "full_drg",
    "relative_weight": "0.3841",
    "average_length_of_stay": "1.90",
    "apr_drg_base_rate": "7943.18",
    "base_payment": "3050.98",
    "drg_per_diem": null,
    "psych_per_diem_rate": null,
    "drug_alcohol_per_diem_rate": null,
    "detox_license_start_date": null,
    "covered_days_paid": null,
    "transfer_adjusted_amount": null,
    "transfer_adjustment_applied": null,
    "transfer_pricing_exempt": null,
    "cost_to_charge_ratio": null,
    "estimated_cost": null,
    "high_cost_outlier_threshold": null,
    "high_cost_outlier_percentage": null,
    "low_cost_outlier_threshold": null,
    "low_cost_outlier_percentage": null,
    "outlier_type": null,
    "outlier_adjustment_applied": null,
    "outlier_amount": null,
    "outlier_figures_defaulted": null,
    "interim_ceiling_amount": null,
    "interim_ceiling_applied": null,
    "rates_carried_from_prior_listing": null,
    "calculation_note": null,
    "length_of_stay_used": null,
    "total_charges_used": null,
    "transfer_claim_used": null,
    "interim_claim_used": null,
    "discharge_date_used": "2026-03-15",
    "effective_start_date": "2025-10-01",
    "effective_end_date": null
  }
]
POST/pa/inpatient/rate/batch

Look up multiple PA inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "reference_id": "row-1",
      "state_provider_id": "1001234560001",
      "billing_code": "560-1",
      "discharge_date": "2026-03-15"
    },
    {
      "reference_id": "row-2",
      "state_provider_id": "1001234560001",
      "billing_code": "139-2",
      "discharge_date": "2026-03-15",
      "total_charges": 250000
    }
  ]
}
POST/pa/outpatient/claim

Pennsylvania Outpatient Claims

Price a whole Pennsylvania Medicaid hospital outpatient claim (UB-04) in one request. Lines price from the hospital fees of the MA Program Outpatient Fee Schedule on each line's service date. Observation, short procedure unit, multiple surgery, visit fee and injection rules and the lesser of billed charges are applied. Returns expected reimbursement for a clean, payable claim: pricing, not adjudication.

Parameters

NameTypeDescription
npi1 requiredstringBilling hospital NPI (10 digits). Provide npi, state_provider_id or provider_name. Campuses of one hospital can share an NPI: an NPI on several hospital rows returns claim_priced=false naming them, to resend with state_provider_id.
state_provider_id1 requiredstringBilling hospital Pennsylvania Medicaid ID (13 digits). Identifies one hospital location.
provider_name1 requiredstringBilling hospital name (partial match, min 2 characters). It must match exactly one Pennsylvania hospital; several matches return claim_priced=false naming them.
date_of_servicerequiredstringStatement from-date of the claim (MM/DD/YYYY or YYYY-MM-DD). It selects the hospital's row and is the service date of any line sent without one.
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
linesrequiredarrayClaim lines (1-99). Each line: revenue_code (required, 3 or 4 digits; it does not change a Pennsylvania price), hcpcs (HCPCS/CPT code; a line without one is not priced), modifier (optional) and modifiers (optional, up to 4; read together), units (optional, default 1; observation lines count hours), billed_charges (optional; a line never pays more than its billed charges), service_date (optional, defaults to date_of_service; it picks the line's fee and groups lines for the same-day rules).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
claim_pricedbooleanFalse when the claim could not be priced at all (hospital not found, or an NPI or name that matches several hospital rows).
error_messagestringExplanation when claim_priced is false.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null when the claim was priced.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
npistringBilling hospital NPI (echoed, or resolved).
state_provider_idstringBilling hospital Pennsylvania Medicaid ID.
provider_namestringHospital name. A campus carries its own name.
primary_campusbooleanTRUE on the row that is the hospital itself, FALSE on a campus that shares its NPI.
citystringHospital city.
countystringHospital county. Not published for Pennsylvania; always null.
date_of_servicedateStatement from-date (echoed).
pricing_pathstringAlways fee_schedule_with_claim_rules: lines price from the MA Program Outpatient Fee Schedule, then Pennsylvania's observation, surgery and visit rules apply.
claim_totaldecimalFee-for-service expected reimbursement for the claim: the sum of line allowed amounts.
total_billed_chargesdecimalSum of line billed charges, when provided.
total_linesintegerNumber of lines submitted.
lines_pricedintegerNumber of lines with an allowed amount (including $0 lines).
linesarrayPer-line results, in submitted order. Each line: rate_found (with error_message and error_code when a line can't be priced, see Errors > When no rate is found), pricing_bucket (fee_schedule, surgery_unit_fee, visit_fee, observation_fee, bundled, not_payable), bundled, allowed_amount, hcpcs_description, calculation_method, calculation_note (how the line's own fee was picked. Two notes are the ones the rate lookup gives: a modifier applied that was not billed, and a different fee with modifier SG. Three appear only on a claim: the higher ER fee billed by a hospital off the state's listing, modifier Q6, and a line capped at its billed charges. Null on lines a claim rule repriced, where the flag and calculation_method explain the amount instead), plus the echoed line, revenue_code, hcpcs, modifier, modifiers, units, billed_charges and service_date.
claim_calculationstringHow the claim total was assembled, in short sentences: the lines priced, each rule that fired, and the total.
rules_appliedarrayMachine-readable claim-rule events in the order applied (e.g., visit_fee_once_per_day, observation_paid, surgery_unit_highest_fee, surgery_unit_same_day, clinic_visit_with_surgery, multiple_surgery, injection_with_visit, billed_charges_cap). claim_calculation is rendered from exactly these events.
flagsarrayInformational flags, each {code, line, message}: a machine-readable code, the claim line it refers to (null when claim-level), and an explanation of the rule in plain words that names the Pennsylvania document and section it comes from. Flags never change the returned pricing. Every code is listed in the flag legend below.
er_higher_rate_effective_datedateThe date from which Pennsylvania's listing gives this hospital the higher ER visit fees (modifier U5). Null for a hospital not on the listing.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.

Flag legend

Flags are informational. They never change the returned pricing. Applied-rule flags accompany amounts the pricing already reflects. Denial-risk notices mark lines priced as if billed correctly that an adjudicator may pay differently.

Applied payment rules (amounts already reflect these)
BRIEF_OBSERVATION_NOT_REIMBURSEDObservation was billed for fewer than 8 hours, so the observation line pays $0. The other lines price on their own.
OBSERVATION_DIRECT_ADMISSION_ZERO_FEEG0379 is a tracking code Pennsylvania lists at $0. The observation fee is paid on the G0378 line.
OBSERVATION_PAID_ONCE_PER_STAYThe observation fee is paid once per stay. A second observation line pays $0.
OBSERVATION_NOT_PAID_WITH_SURGERY_UNITThe claim has a short procedure unit line (modifier SG), which is paid in place of observation. Observation pays $0.
BUNDLED_INTO_OBSERVATIONObservation is paid, and its fee includes this test or other ancillary line. The line pays $0. Blood and a therapy visit on the observation start date still pay.
ER_ABSORBED_BY_OBSERVATIONPennsylvania does not pay observation and an ER visit together, and no Pennsylvania document says which one is paid. We price observation, and the ER line pays $0.
NOT_PAID_WITH_OBSERVATIONPennsylvania does not pay observation together with a clinic visit, a surgery billed without SG or a special treatment room, and no Pennsylvania document says which one is paid. We price observation, and the line pays $0.
MULTIPLE_SURGERY_REDUCTIONShort procedure unit lines: the highest fee pays and the rest pay $0. Surgeries without SG on one date: the highest pays in full, the second 25%, the rest $0.
BUNDLED_INTO_SURGERY_UNIT_FEEA line that is neither a surgery nor a visit, on the same date as a paid short procedure unit line, is included in that fee and pays $0.
VISIT_FEE_NOT_PAID_WITH_SURGERYThe clinic visit fee pays $0 beside a surgery on the same date.
VISIT_FEE_ONCE_PER_DAYOne ER visit fee and one clinic visit fee pay per date. The higher is paid and the other lines of that kind pay $0.
ER_PHYSICIAN_SERVICE_NOT_ON_FACILITY_CLAIMIn Pennsylvania, an ER visit code without modifier U4 or U5 indicates an ER physician's service and should be billed on a professional claim. Beside the facility fee line it pays $0.
ER_INJECTION_ADMIN_BUNDLEDAn injection on the same date as a paid ER or clinic visit is included in the visit fee and pays $0.
WRONG_PROCEDURE_MODIFIER_NOT_PAIDThe line carries modifier PA, PB or PC (wrong body part, wrong patient, wrong surgery) and pays $0.
Denial-risk notices (line still priced in full)
MODIFIER_COMBINATION_UNPUBLISHEDPennsylvania does not publish a rule for the combination of two modifiers that each have their own fee. The line is priced with the first one billed. Modifier 50 is not one of them: its fee is the fee without a modifier, so the other modifier prices the line.
BILATERAL_BILLED_WITH_ONE_UNITPennsylvania pays bilateral procedures at 200%, only if 2 units are billed. A bilateral line (modifier 50) with 1 unit pays the fee once.
UNIT_CAP_EXCEEDEDUnits exceed the maximum Pennsylvania's fee schedule sets per date of service. Medicaid may deny the units over the cap.
REV_HCPCS_PAIR_INVALIDAn observation line is billed under a revenue code other than 0760 or 0762. The revenue code does not change the price.
SEPARATE_CLAIM_REQUIREDA special treatment room line shares a claim with other services. Pennsylvania requires special treatment room services on their own claim. Every line is priced as billed.
NCCI_PTP_CONFLICTBilled with its NCCI column-1 partner code on the same day. The component line may be denied on adjudication.
MUE_UNITS_EXCEEDEDUnits exceed the Medicaid daily maximum for this code.
Line handling (explains a line priced differently than sent)
PROFESSIONAL_MODIFIER_IGNOREDPennsylvania publishes no hospital fee for the code with modifier 26 or TC. We ignore the modifier and price the line at the fee for the other modifier billed, or at the fee without a modifier.
MISSING_HCPCSThe line has no procedure code and is not priced.
Request
curl -X POST "https://api.staterates.health/api/v1/pa/outpatient/claim" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "state_provider_id": "1001234560001",
    "date_of_service": "2026-03-15",
    "lines": [
      {"revenue_code": "0450", "hcpcs": "99284", "modifier": "U4", "units": 1, "billed_charges": 900.00},
      {"revenue_code": "0320", "hcpcs": "71046", "units": 1, "billed_charges": 210.00},
      {"revenue_code": "0260", "hcpcs": "96374", "units": 1, "billed_charges": 150.00}
    ]
  }'
Sample response
{
  "reference_id": null,
  "claim_priced": true,
  "error_message": null,
  "error_code": null,
  "npi": "1234567890",
  "state_provider_id": "1001234560001",
  "provider_name": "Example General Hospital",
  "primary_campus": true,
  "city": "Lancaster",
  "county": null,
  "date_of_service": "2026-03-15",
  "pricing_path": "fee_schedule_with_claim_rules",
  "claim_total": "141.64",
  "total_billed_charges": "1260.00",
  "total_lines": 3,
  "lines_priced": 3,
  "lines": [
    {
      "line": 1,
      "revenue_code": "0450",
      "hcpcs": "99284",
      "modifier": "U4",
      "modifiers": null,
      "units": 1,
      "billed_charges": "900.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "visit_fee",
      "bundled": false,
      "allowed_amount": "118.00",
      "hcpcs_description": "Emergency department visit for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and moderate level of medical decision making",
      "calculation_method": "ER Facility Fee: Modifier U4 = $118.00",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 2,
      "revenue_code": "0320",
      "hcpcs": "71046",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "billed_charges": "210.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "fee_schedule",
      "bundled": false,
      "allowed_amount": "23.64",
      "hcpcs_description": "Radiologic examination, chest; 2 views",
      "calculation_method": "MA Program Outpatient Fee Schedule = $23.64",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    },
    {
      "line": 3,
      "revenue_code": "0260",
      "hcpcs": "96374",
      "modifier": null,
      "modifiers": null,
      "units": 1,
      "billed_charges": "150.00",
      "service_date": "2026-03-15",
      "rate_found": true,
      "pricing_bucket": "bundled",
      "bundled": true,
      "allowed_amount": "0.00",
      "hcpcs_description": "Therapeutic, prophylactic, or diagnostic injection (specify substance or drug); intravenous push, single or initial substance/drug",
      "calculation_method": "$0.00. The visit fee on line 1 includes this injection.",
      "calculation_note": null,
      "error_message": null,
      "error_code": null
    }
  ],
  "claim_calculation": "3 of 3 lines priced. Line 3 is an injection included in the visit fee and pays $0. Claim total = $141.64.",
  "rules_applied": [
    {
      "rule": "injection_with_visit",
      "lines": [
        3
      ]
    }
  ],
  "flags": [
    {
      "code": "ER_INJECTION_ADMIN_BUNDLED",
      "line": 3,
      "message": "This injection is on the same date as the visit on line 1. Pennsylvania's visit fee includes giving injections, so this line pays $0 (55 Pa. Code §1150.56(b)(6))."
    }
  ],
  "er_higher_rate_effective_date": null,
  "effective_start_date": "2025-07-01",
  "effective_end_date": "2026-06-30"
}
POST/pa/outpatient/claim/batch

Price multiple PA outpatient claims in a single POST request. Maximum 1,000 claims and 30,000 total lines per batch. Set your client timeout to at least 300 seconds.

Batch request
{
  "requests": [
    {
      "reference_id": "claim-0001",
      "state_provider_id": "1001234560001",
      "date_of_service": "2026-03-15",
      "lines": [
        {
          "revenue_code": "0450",
          "hcpcs": "99284",
          "modifier": "U4",
          "units": 1,
          "billed_charges": 900
        }
      ]
    },
    {
      "reference_id": "claim-0002",
      "state_provider_id": "1001234560001",
      "date_of_service": "2026-03-16",
      "lines": [
        {
          "revenue_code": "0360",
          "hcpcs": "29881",
          "modifier": "SG",
          "units": 1,
          "billed_charges": 4200
        }
      ]
    }
  ]
}
GET/pa/outpatient/rate

Pennsylvania Outpatient Rates

Pricing routes by provider type across Pennsylvania's MA Program Outpatient Fee Schedule: hospital, physician, ambulatory surgical center, clinical laboratory and imaging center fees, with the hospital ER and clinic visit fees. The date of service determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringPennsylvania Medicaid ID (13 digits). Hospitals only. Identifies one hospital location where several share an NPI.
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that matched.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER (case-insensitive); any other value is rejected. If omitted, resolved from the provider.
modifierstringProcedure modifier (e.g., SG, TC, 26, U4). Priced only where Pennsylvania publishes a fee for the code with that modifier; otherwise no rate is returned. Without one, the fee with no modifier is returned. Body-part modifiers (RT, LT and the eyelid, finger, toe and coronary artery modifiers) are accepted and do not change the fee. Separate several modifiers with commas.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
state_provider_idstringPennsylvania Medicaid ID (hospitals only).
matched_state_provider_idstringThe Medicaid ID you sent, shown only when this hospital is returned under a different Medicaid ID. Some hospitals have more than one Medicaid ID. Null otherwise.
provider_namestringProvider name. A hospital campus carries its own name.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
primary_campusbooleanHospitals only: TRUE on the row that is the hospital itself, FALSE on a campus that shares its NPI.
ccnstringCMS Certification Number (hospitals only).
primary_taxonomy_codestringNPPES primary taxonomy code.
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county. Not published for Pennsylvania; always null.
statestringProvider state.
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringPricing modifier of the fee returned. Null when the fee with no modifier is returned. When no modifier was sent and Pennsylvania publishes the code only with a modifier, this names the modifier whose fee is shown.
modifier_adjustmentdecimalOn 26 and TC fees: the fee as a share of the code's fee with no modifier, where Pennsylvania publishes both. Informational: payment_rate is the published fee.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
max_unitsintegerHospitals only: the most units per day Pennsylvania posts for this fee on its fee schedule website, as last captured. A reference figure; it does not change payment_rate.
calculation_notestringContext on the fee returned: a modifier applied that was not sent, a different fee with modifier SG, or a modifier that does not change the fee. Null otherwise.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/pa/outpatient/rate?\
billing_code=71046&\
state_provider_id=1001234560001&\
date_of_service=2026-03-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "reference_id": null,
    "request_index": null,
    "rate_found": true,
    "provider_matches_total": null,
    "error_message": null,
    "error_code": null,
    "npi": "1234567890",
    "matched_npi": null,
    "state_provider_id": "1001234560001",
    "matched_state_provider_id": null,
    "provider_name": "Example General Hospital",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "primary_campus": true,
    "ccn": "390000",
    "primary_taxonomy_code": "282N00000X",
    "primary_taxonomy_display_name": "General Acute Care Hospital",
    "street_address": "100 Main St",
    "city": "Lancaster",
    "county": null,
    "state": "PA",
    "zip_code": "17602",
    "billing_code": "71046",
    "billing_code_type": "HCPCS",
    "billing_code_description": "Radiologic examination, chest; 2 views",
    "modifier": null,
    "modifier_adjustment": null,
    "payment_rate": "23.64",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "MA Program Outpatient Fee Schedule = $23.64",
    "max_units": 1,
    "calculation_note": null,
    "date_of_service_used": "2026-03-15",
    "effective_start_date": "2018-07-02",
    "effective_end_date": null
  }
]
POST/pa/outpatient/rate/batch

Look up multiple PA outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "reference_id": "row-1",
      "state_provider_id": "1001234560001",
      "billing_code": "71046"
    },
    {
      "reference_id": "row-2",
      "npi": "1234567890",
      "billing_code": "29881",
      "modifier": "SG",
      "date_of_service": "2026-03-15"
    }
  ]
}
GET/pa/providers/search

Pennsylvania Provider Search

Search for Pennsylvania Medicaid providers by NPI, Medicaid ID, name, city, ZIP, taxonomy, or provider type. Returns provider details with rate availability. Campuses of one hospital can share an NPI and return one row each.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits). Also matches a hospital's other NPIs.
state_provider_idstringPennsylvania Medicaid ID (13 digits; hospitals only).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳matched_npistringThe NPI you sent, shown only when this hospital is returned under a different NPI. Some hospitals have more than one NPI. Null otherwise.
↳alternate_npisarrayHospitals only: this hospital's other NPIs. Searching by any of them returns this hospital.
↳state_provider_idstringPennsylvania Medicaid ID (hospitals only).
↳matched_state_provider_idstringThe Medicaid ID you sent, shown only when this hospital is returned under a different Medicaid ID. Some hospitals have more than one Medicaid ID. Null otherwise.
↳alternate_state_provider_idsarrayHospitals only: the other Medicaid IDs Pennsylvania lists for this hospital with the same rates. Searching by any of them returns this hospital.
↳provider_namestringProvider name. A hospital campus carries its own name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization.
↳primary_taxonomystringNPPES primary taxonomy display name.
↳primary_campusbooleanHospitals only: TRUE on the row that is the hospital itself, FALSE on a campus that shares its NPI.
↳ccnstringCMS Certification Number (hospitals only).
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty. Not published for Pennsylvania; always null.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanProvider has outpatient rates available.
↳ip_ratesbooleanProvider has inpatient rates available.
total_resultsintegerHow many providers matched the search in total.
limit_appliedintegerLimit applied to the search.
Request
curl "https://api.staterates.health/api/v1/pa/providers/search?\
provider_name=general&\
provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "matched_npi": null,
      "alternate_npis": null,
      "state_provider_id": "1001234560001",
      "matched_state_provider_id": null,
      "alternate_state_provider_ids": null,
      "provider_name": "Example General Hospital",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "General Acute Care Hospital",
      "primary_campus": true,
      "ccn": "390000",
      "street_address": "100 Main St",
      "city": "Lancaster",
      "county": null,
      "state": "PA",
      "zip_code": "17602",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/tx/inpatient/rate

Texas Inpatient Claims

Look up a Texas Medicaid APR-DRG inpatient payment rate, with transfer adjustments, day and cost outlier pricing, PPC/PPR penalty reductions, and CHIRP managed care adjustments. The discharge date determines the effective rate period.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringAPR-DRG code (e.g., 140 or 140-2).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringTPI: Texas Provider Identifier.
ccn1 requiredstringCMS Certification Number (exact match).
provider_name1 requiredstringHospital name (partial match). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Texas uses the discharge date (not admission date) to determine which rate period applies.
transfer_claimbooleanTransfer claim. Discharge status 02 (transferred to another facility).
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
length_of_stayintegerLength of stay in days. Required for transfers. Defaults to mean LOS.
total_chargesdecimalTotal charges for outlier calc and lesser-of rule.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringTPI: Texas Provider Identifier.
provider_namestringProvider name.
hospital_classstringHospital classification. Values: Urban, Rural, Childrens, STATE OWNED TEACHING.
ccnstringCMS Certification Number.
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
apr_drg_codestringBase DRG code.
soiintegerSeverity of Illness (1–4).
relative_weightdecimalDRG relative weight.
mean_losdecimalMean length of stay.
is_delivery_drgbooleanWhether this is a delivery-related DRG.
inpatient_sdadecimalHospital Final SDA.
delivery_sdadecimalDelivery SDA (Rural/Children's only).
sda_useddecimalSDA used in this calculation.
base_paymentdecimalBase payment: SDA × relative_weight.
transfer_adjustment_appliedbooleanWhether transfer adjustment was applied.
transfer_per_diemdecimalPer-diem used for the transfer calculation: base_payment / mean_los, rounded to cents before multiplying by length_of_stay_used. Populated only when a transfer adjustment was applied.
transfer_adjusted_amountdecimalPayment after transfer adjustment.
outlier_adjustment_appliedbooleanWhether outlier was applied.
outlier_amountdecimalOutlier adjustment amount.
outlier_typestringType of outlier applied. Values: day_outlier, cost_outlier.
outlier_adjusted_amountdecimalRunning payment after the outlier was added, before the charge cap and any PPC/PPR reduction. Populated only when an outlier adjustment was applied.
estimated_costdecimalEstimated cost for cost outlier calc.
cost_outlier_thresholddecimalCost outlier threshold.
day_outlier_thresholdintegerDay outlier threshold.
marginal_cost_pctfloatMarginal cost percentage applied to outlier excess.
outlier_reduction_factorfloatOutlier reduction factor by hospital class.
inpatient_rccfloatHospital inpatient cost-to-charge ratio.
advisoriesarrayInformational advisories (code + message), e.g. RCC_CARRIED_FORWARD when the cost-outlier test used an inpatient_rcc carried from an older RCC file, because the hospital was missing from the file for the discharge date (the message names the month of the file the ratio came from). Omitted from the response when there are none.
universal_meandecimalUniversal mean cost for cost outlier threshold.
charge_cap_appliedbooleanWhether lesser-of rule reduced payment.
ppc_pct_applieddecimalHospital-specific PPC penalty.
ppr_pct_applieddecimalHospital-specific PPR penalty.
ppc_ppr_adjusted_amountdecimalPayment after PPC/PPR reduction.
length_of_stay_usedintegerLOS used in calculation.
total_charges_useddecimalTotal charges used.
total_charges_sourcestringSource of charges used. Values: actual, estimated.
chirp_adjustmentsobjectCHIRP IP adjustment per program (STAR, STAR_PLUS, STAR_KIDS). Each contains inpatient_rate_increase, chirp_multiplier, and adjusted_payment.
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
child_patient_usedbooleanEcho of child_patient. True when submitted as true; null otherwise.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/tx/inpatient/rate?\
  billing_code=140-2&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": "000001",
    "provider_name": "TEXAS GENERAL HOSPITAL",
    "hospital_class": "Urban",
    "ccn": "450001",
    "street_address": "1000 MEDICAL CENTER BLVD",
    "city": "HOUSTON",
    "county": "HARRIS",
    "zip_code": "77030",
    "billing_code": "140-2",
    "billing_code_type": "APR-DRG",
    "billing_code_description": "CHRONIC OBSTRUCTIVE PULMONARY DISEASE",
    "payment_rate": "8245.30",
    "payment_rate_type": "claim",
    "calculation_method": "SDA ($8,962.28) × Weight (0.9200) = $8,245.30 (Estimated Payment)",
    "apr_drg_code": "140",
    "soi": 2,
    "relative_weight": "0.9200",
    "mean_los": "3.80",
    "is_delivery_drg": false,
    "inpatient_sda": "8962.28",
    "delivery_sda": null,
    "sda_used": "8962.28",
    "base_payment": "8245.30",
    "transfer_adjustment_applied": false,
    "transfer_per_diem": null,
    "transfer_adjusted_amount": null,
    "outlier_adjustment_applied": false,
    "outlier_amount": null,
    "outlier_type": null,
    "outlier_adjusted_amount": null,
    "estimated_cost": null,
    "cost_outlier_threshold": null,
    "day_outlier_threshold": null,
    "marginal_cost_pct": 0.6,
    "outlier_reduction_factor": 0.9,
    "inpatient_rcc": 0.35,
    "universal_mean": "12500.00",
    "charge_cap_applied": false,
    "ppc_pct_applied": "0.0000",
    "ppr_pct_applied": "0.0000",
    "ppc_ppr_adjusted_amount": "8245.30",
    "length_of_stay_used": 4,
    "total_charges_used": null,
    "total_charges_source": null,
    "chirp_adjustments": {
      "STAR": {
        "inpatient_rate_increase": "0.57",
        "chirp_multiplier": "1.57",
        "adjusted_payment": "12945.12"
      },
      "STAR_PLUS": {
        "inpatient_rate_increase": "0.57",
        "chirp_multiplier": "1.57",
        "adjusted_payment": "12945.12"
      },
      "STAR_KIDS": {
        "inpatient_rate_increase": "0.57",
        "chirp_multiplier": "1.57",
        "adjusted_payment": "12945.12"
      }
    },
    "discharge_date_used": "2026-08-01",
    "child_patient_used": null,
    "effective_start_date": "2024-09-01",
    "effective_end_date": null
  }
]
POST/tx/inpatient/rate/batch

Look up multiple TX inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "140-2",
      "npi": "1234567890"
    },
    {
      "billing_code": "560-1",
      "npi": "9876543210",
      "length_of_stay": 4,
      "total_charges": "62000",
      "child_patient": true
    }
  ]
}
POST/tx/outpatient/claim

Texas Outpatient Claims

Price a whole Texas Medicaid institutional outpatient claim (UB-04, type of bill 131) in one request: claim header plus up to 99 lines, with optional per-line service dates for claims spanning multiple days. Identify the billing location by TPI, NPI, CCN, or a name that matches exactly one location. Applies Texas claims-level outpatient reimbursement rules per the Texas Medicaid Provider Procedures Manual (TMPPM), 1 Tex. Admin. Code §355.8061, and Texas HHS billing guidance, and screens every claim against the CMS Medicaid NCCI procedure-to-procedure and MUE unit-limit edit files. Returns per-line allowed amounts, the fee-for-service claim total, CHIRP managed care adjusted totals, and informational flags. Returns expected reimbursement for a clean, payable claim.

Parameters

NameTypeDescription
state_provider_id1 requiredstringTPI: the billing location's Texas Provider Identifier (9 characters). Texas lists each hospital location under its own TPI; send it to price that location. Sent with an npi, both must belong to the same hospital.
npi1 requiredstringBilling hospital NPI (10 digits). Provide state_provider_id, npi, ccn, or provider_name. An NPI that covers several locations priced separately is not priced; the response names each location and its TPI.
ccn1 requiredstringCMS Certification Number (6 characters, e.g. 450035). Provide state_provider_id, npi, ccn, or provider_name.
provider_name1 requiredstringProvider name (partial match, min 2 characters). Must match exactly one hospital.
date_of_servicerequiredstringStatement date of service (MM/DD/YYYY or YYYY-MM-DD). Drives the rate and provider period used.
emergencybooleanTrue for emergency/unscheduled claims. Emergency surgery prices itemized (cost-reimbursed) instead of the day-surgery global fee; false applies the non-emergent ER differential to ER visit lines. Defaults to false.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
linesrequiredarrayClaim lines (1-99). Each line: revenue_code (required, 3 or 4 digits), hcpcs (optional, required for revenue codes Texas marks procedure-code-required), modifier (optional, one modifier), units (optional, defaults to 1), billed_charges (optional, required for cost-reimbursed lines), service_date (optional, defaults to the header date_of_service).

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
claim_pricedbooleanFalse when the claim could not be priced at all (hospital not found, no cost-report data).
error_messagestringExplanation when claim_priced is false.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null when the claim was priced.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
npistringBilling hospital NPI (echoed).
state_provider_idstringTexas Provider ID.
child_patient_usedbooleanEcho of child_patient. True when submitted as true; null otherwise.
provider_namestringHospital name.
ccnstringCMS Certification Number.
hospital_classstringHospital classification. Values: Urban, Rural, Childrens, STATE OWNED TEACHING.
area_typestringurban or rural (derived from hospital_class).
high_volume_providerbooleanHigh volume Medicaid provider.
pricing_pathstringHow the claim priced. Values: day_surgery (global payment: the highest-rated surgical procedure pays, other lines bundle to $0), itemized (each line priced independently and summed).
claim_totaldecimalFee-for-service expected reimbursement for the claim (sum of line allowed amounts).
total_billed_chargesdecimalSum of line billed charges, when provided.
total_linesintegerNumber of lines submitted.
lines_pricedintegerNumber of lines with an allowed amount (including $0 bundled lines).
linesarrayPer-line results, in submitted order. Each line: rate_found (with error_message and error_code when a line can't be priced, see Errors > When no rate is found), pricing_bucket (asc_hasc_fee_schedule, clinical_lab_fee_schedule, imaging_fee_schedule, percent_of_charges, bundled, manually_priced, not_a_benefit, not_separately_payable, not_payable_to_facility, not_payable, or fee_schedule as a rare fallback), bundled, allowed_amount, hcpcs_description, calculation_method, ofl_determination, advisories, and echoes of the inputs including the line's service_date. ofl_determination carries the same payability class as the single-code endpoint (contracted, not_payable, no_determination, or null), and is unaffected by bundling rules, which change what a line pays rather than the code's payability. advisories carries the same {code, message} shape as the single-code endpoint, and is null on lines a claim-level rule repriced (bundling, ER/observation absorption, the non-emergent ER cap), where the flag and calculation_method explain the amount instead.
claim_calculationstringHow the claim total was assembled: pricing path, bundling, reductions, and total, with actual values.
rules_appliedarrayMachine-readable claim-rule events in the order applied (e.g., day_surgery_global, obs_absorbs_er, non_emergent_er_cap, lesser_of). claim_calculation is rendered from exactly these events.
chirp_adjustmentsobjectCHIRP managed care adjusted claim totals per program (STAR, STAR_PLUS, STAR_KIDS), each with the rate increase, multiplier, adjusted total, and the arithmetic. Models the fee-for-service floor. Individual MCO contract terms can pay differently.
flagsarrayInformational flags, each {code, line, message}: a machine-readable code, the claim line it refers to (null when claim-level), and a plain-English explanation with the Texas Medicaid manual citation. Flags never change the returned pricing. Every code is listed in the flag legend below.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.

Flag legend

Flags are informational. They never change the returned pricing. Applied-rule flags accompany amounts the pricing already reflects; denial-risk flags mark amounts an adjudicator may pay differently; line-handling flags explain lines that could not be priced as submitted.

Applied payment rules (amounts already reflect these)
ER_ABSORBED_BY_OBSERVATIONObservation of 8+ hours absorbs the ER visit; ER lines pay $0.
BRIEF_OBSERVATION_NOT_REIMBURSEDObservation under 8 hours folds into the ER visit; observation lines pay $0.
ER_INJECTION_ADMIN_BUNDLEDInjection/infusion administration is included in the ER charge; pays $0.
CRITICAL_CARE_NOT_PAYABLE_TO_FACILITYCritical care visit codes pay the treating physician, not the hospital.
NON_EMERGENT_ER_REDUCTIONNon-emergent ER visit reduced: flat fee, or 55% of allowed at rural hospitals.
HIGH_VOLUME_UPLIFT_APPLIEDDesignated high-volume provider; day-surgery payment increased 5.2%.
DEVICE_BUNDLEDDevice bundled into the day-surgery global payment.
DEVICE_PAID_SEPARATELYDevice with its own published fee; paid separately from the day-surgery global.
NOT_A_BENEFITRevenue code is not a Texas Medicaid benefit; pays $0.
INCOMPLETE_SURGERY_MODIFIERModifier 73/74: the state suspends these claims for manual review; priced at the full rate.
Denial-risk notices (line still priced in full)
NCCI_PTP_CONFLICTBilled with its NCCI column-1 partner code on the same day; the component line denies on adjudication.
MUE_UNITS_EXCEEDEDUnits exceed the Medicaid daily maximum for this code.
MULTICHANNEL_LAB_PANEL_SUSPECTEDSame-day automated lab panels are consolidated to a combined fee.
PACKAGED_SERVICE_EXCLUSION_RISKPriced under cost reimbursement, but payers commonly package or exclude this service.
OBSERVATION_OVER_48HObservation beyond 48 total hours is denied.
OBS_761_CONFLICTRevenue code 761 denies when billed the same day as 760, 762, or 769.
EMTALA_451_STANDALONEEMTALA screening pays as a stand-alone service; other lines are not separately reimbursed.
OBS_CONCURRENT_ACTIVE_MONITORINGObservation may overlap a procedure whose active monitoring is already included.
RECOVERY_OBS_OVERLAPRecovery room hours and observation hours cannot be billed for the same time.
IIP_E0782_E0783_MUTEXOnly one implantable infusion pump code is payable per day.
TMHP_CODE_PAIR_EDITA Texas code-pair rule denies or bundles this line with another code on the claim.
RURAL_ER_SCOPE_UNCERTAINThe rural ER reduction was applied to the visit line only; its exact scope is unconfirmed.
Line handling
INVALID_REVENUE_CODENot a valid Texas outpatient hospital revenue code; line skipped, claim still prices.
MISSING_REQUIRED_HCPCSThis revenue code requires a procedure code on the line; line skipped, claim still prices.
MANUALLY_PRICED_LINENo published fee: the state prices this code manually; excluded from the claim total.
PROFESSIONAL_MODIFIER_IGNOREDModifier 26/TC ignored; facilities do not bill professional/technical splits.
Request
curl -X POST "https://api.staterates.health/api/v1/tx/outpatient/claim" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "npi": "1234567890",
    "date_of_service": "2026-04-16",
    "emergency": false,
    "lines": [
      {"revenue_code": "0360", "hcpcs": "33208", "units": 1, "billed_charges": 45200.00},
      {"revenue_code": "0278", "hcpcs": "C1785", "units": 1, "billed_charges": 22900.00},
      {"revenue_code": "0300", "hcpcs": "85025", "units": 1, "billed_charges": 2180.00}
    ]
  }'
Sample response
{
  "reference_id": null,
  "claim_priced": true,
  "error_message": null,
  "error_code": null,
  "npi": "1234567890",
  "provider_name": "EXAMPLE MEDICAL CENTER",
  "ccn": "450000",
  "hospital_class": "Urban",
  "area_type": "urban",
  "high_volume_provider": false,
  "date_of_service": "2026-04-16",
  "emergency": false,
  "child_patient_used": null,
  "pricing_path": "day_surgery",
  "claim_total": "6450.90",
  "total_billed_charges": "70280.00",
  "total_lines": 3,
  "lines_priced": 3,
  "lines": [
    {
      "line": 1,
      "revenue_code": "360",
      "hcpcs": "33208",
      "modifier": null,
      "units": 1,
      "service_date": "2026-04-16",
      "billed_charges": "45200.00",
      "rate_found": true,
      "pricing_bucket": "asc_hasc_fee_schedule",
      "bundled": false,
      "allowed_amount": "6450.90",
      "hcpcs_description": null,
      "calculation_method": "$6,450.90 (ASC/HASC fee schedule): highest-rated surgical procedure; pays the day-surgery global fee"
    },
    {
      "line": 2,
      "revenue_code": "278",
      "hcpcs": "C1785",
      "modifier": null,
      "units": 1,
      "service_date": "2026-04-16",
      "billed_charges": "22900.00",
      "rate_found": true,
      "pricing_bucket": "bundled",
      "bundled": true,
      "allowed_amount": "0.00",
      "hcpcs_description": "PACEMAKER, DUAL CHAMBER, RATE-RESPONSIVE (IMPLANTABLE)",
      "calculation_method": "$0.00: bundled into the day-surgery global payment (implantable device; not on the separately-payable exception list)"
    },
    {
      "line": 3,
      "revenue_code": "300",
      "hcpcs": "85025",
      "modifier": null,
      "units": 1,
      "service_date": "2026-04-16",
      "billed_charges": "2180.00",
      "rate_found": true,
      "pricing_bucket": "bundled",
      "bundled": true,
      "allowed_amount": "0.00",
      "hcpcs_description": null,
      "calculation_method": "$0.00: bundled into the day-surgery global payment (service provided in conjunction with the surgery)"
    }
  ],
  "claim_calculation": "Day surgery (scheduled): highest-rated surgical procedure 33208 pays $6,450.90 (ASC/HASC fee schedule); 2 other lines bundled to $0 per the global payment rule (TMPPM 2.11 §6.4.2.1). Claim total = $6,450.90.",
  "rules_applied": [
    {
      "rule": "day_surgery_global",
      "winning_line": 1,
      "winning_code": "33208",
      "fee": "6450.90",
      "bundled_count": 2,
      "separately_paid_devices": 0,
      "high_volume_uplift": false
    }
  ],
  "chirp_adjustments": {
    "STAR": {
      "outpatient_rate_increase": "2.3200",
      "chirp_multiplier": "3.3200",
      "adjusted_claim_total": "21416.99",
      "calculation": "$6,450.90 x (1 + 232.0%) = $21,416.99"
    },
    "STAR_PLUS": {
      "outpatient_rate_increase": "2.3200",
      "chirp_multiplier": "3.3200",
      "adjusted_claim_total": "21416.99",
      "calculation": "$6,450.90 x (1 + 232.0%) = $21,416.99"
    },
    "STAR_KIDS": null
  },
  "flags": [
    {
      "code": "DEVICE_BUNDLED",
      "line": 2,
      "message": "Device C1785 ($22,900.00 billed) is bundled into the day-surgery global payment. TMPPM pays separately only equipment with its own ASC/HASC fee (e.g., implantable infusion pumps E0782/E0783) per §6.2.9/§6.2.11."
    }
  ],
  "effective_start_date": "2026-04-01",
  "effective_end_date": null
}
POST/tx/outpatient/claim/batch

Price multiple TX outpatient claims in a single POST request. Maximum 1,000 claims and 30,000 total lines per batch. Set your client timeout to at least 300 seconds.

Batch request
{
  "requests": [
    {
      "reference_id": "claim-0001",
      "npi": "1234567890",
      "date_of_service": "2026-04-16",
      "lines": [
        {
          "revenue_code": "0360",
          "hcpcs": "33208",
          "units": 1,
          "billed_charges": 45200
        }
      ]
    },
    {
      "reference_id": "claim-0002",
      "ccn": "450000",
      "date_of_service": "2026-04-17",
      "emergency": true,
      "lines": [
        {
          "revenue_code": "0450",
          "hcpcs": "99284",
          "units": 1,
          "billed_charges": 1850
        }
      ]
    }
  ]
}
GET/tx/outpatient/rate

Texas Outpatient Rates

Look up a Texas Medicaid outpatient rate by HCPCS code and provider. Professional claims use fee schedules posted by TMHP, while hospital outpatient services use a combination of these same fee schedules and percent-of-charge reimbursement. Rates with and without CHIRP managed-care increases are provided.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® procedure code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringTPI: Texas Provider Identifier (hospitals only).
ccn1 requiredstringCMS Certification Number (exact match, hospitals only).
provider_name1 requiredstringProvider name (partial match, min 2 characters). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC_HASC, CLINICAL_LABORATORY, BH_PHYSICIAN_CLINICAL, AMBULANCE (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
child_patientbooleanTrue if patient is under 21 years of age. Defaults to false (adult).
place_of_servicestringPlace of service (Physician only). Values: facility, non_facility. Defaults to non_facility.
area_typestringHospital classification (Hospital OP Imaging only). Values: urban, rural.
lab_typestringLab fee tier (Clinical Laboratory only). Values: clin_lab, sch, dshs. Defaults to clin_lab.
modifierstringProcedure modifier. Values: 26 (Professional Component), TC (Technical Component), or any TX state-specific modifier published on the row (e.g., U1, U3, UB, TH). Exact-match; unmatched modifiers return rate_found=false.
billed_chargesdecimalTotal billed charges. Required for hospital percent_of_charges codes.
emergency_roombooleanTrue if ER procedure. For hospitals, ASC surgical codes fall back to percent_of_charges (per TAC §355.8061).
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringTPI: Texas Provider Identifier.
provider_namestringProvider name.
provider_typestringState Rates provider classification used. Values: HOSPITAL_URBAN, HOSPITAL_RURAL, PHYSICIAN, ASC_HASC, CLINICAL_LABORATORY, BH_PHYSICIAN_CLINICAL, AMBULANCE. Hospitals show as urban or rural here; to filter a request to hospitals, send HOSPITAL.
provider_type_labelstringHuman-readable label for the State Rates provider classification (e.g., Physician, Hospital).
hospital_classstringHospital classification. Values: Urban, Rural, Childrens, STATE OWNED TEACHING.
high_volume_providerbooleanHigh volume Medicaid provider.
ccnstringCMS Certification Number (hospitals only).
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
payment_ratedecimalPayment rate in dollars. 0.00 when payment_rate_type is not_payable.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, not_payable (TMHP's fee lookup explicitly lists the code as not payable for outpatient hospital claims at the date of service).
ofl_determinationstringTMHP Online Fee Lookup payability class for this code and date (hospital outpatient only). Values: contracted (explicitly payable at contracted rate), not_payable (explicitly not payable), no_determination (the lookup's batch files carry no listing, so the line prices at a percentage of charges per TMPPM Hospital Services Handbook §4.5.2; see the accompanying advisory). Null wherever OFL payability does not gate the row: codes priced from a posted fee schedule, and the emergency-surgery fallback (an on-schedule ASC code performed in an emergency room, which TAC §355.8061 reimburses at a percentage of charges).
calculation_methodstringHuman-readable calculation formula with actual values. Percent-of-charges codes that TMHP's fee lookup explicitly confirms carry “Payable at contracted rate per TMHP's fee lookup.”
procedure_type_usedstringProcedure type used for rate selection.
tos_codestringType of Service code.
tos_descriptionstringType of Service description (e.g., MEDICAL SERVICES, SURGERY).
modifierstringModifier on the matched rate row. Sourced from the row, not echoed from the request; when no row matches the requested modifier, rate_found=false.
modifier_adjustmentdecimalDerived ratio against the unmodified base rate, populated on PC (modifier=26) and TC (modifier=TC) rows where a base sibling exists in the same partition. Typical values: ~0.3 for PC, ~0.7 for TC; PC + TC sums to 1.0 when both come from the same partition. NULL on base rows, state-modifier rows, hospital rows, and the ~4% of PC/TC rows where no base sibling is published in the source.
place_of_servicestringPlace of service used.
area_typestringUrban/Rural (Hospital OP Imaging only).
lab_typestringLab tier (Clinical Laboratory only).
age_groupstringAge group used. Values: ADULT, CHILD, ALL.
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
emergency_roombooleanTrue if ER procedure was specified.
medicaid_feedecimalPre-adjustment Medicaid fee (professional only).
total_rvusdecimalRVUs (Physician only).
conversion_factordecimalConversion factor (Physician only).
outpatient_rccdecimalOutpatient interim rate (RCC).
pct_allowable_chargesdecimalPercentage of allowable charges.
effective_ratedecimalPre-calculated effective rate: RCC × pct allowable.
source_fee_schedulestringSource fee schedule key: ASC_HASC, CLINICAL_LABORATORY, HOSPITAL_OP_IMAGING. Machine-readable; filter on this.
source_fee_schedule_labelstringSource fee schedule in words, as named in calculation_method.
billed_chargesdecimalBilled charges provided.
calculation_notestringNote when charges not provided or manual pricing.
chirp_adjustmentsobjectCHIRP adjustment per managed care program (STAR, STAR_PLUS, STAR_KIDS). Hospital only. Each contains outpatient_rate_increase, chirp_multiplier, and adjusted_payment.
advisoriesarrayInformational advisories (hospital claims only), each with code and message. Present only when applicable; e.g., NO_CODE_LEVEL_DETERMINATION when TMHP's fee lookup batch files do not list the code and it is priced at a percentage of charges per TMPPM Hospital Services Handbook §4.5.2, and RCC_CARRIED_FORWARD when the hospital was missing from the outpatient RCC file for the date of service and the ratio is from the last file it appeared in.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/tx/outpatient/rate?\
  billing_code=99213&\
  npi=1234567890" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1234567890",
    "state_provider_id": null,
    "provider_name": "SMITH FAMILY MEDICINE",
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "hospital_class": null,
    "high_volume_provider": null,
    "ccn": null,
    "street_address": "200 MAIN ST",
    "city": "HOUSTON",
    "county": "HARRIS",
    "zip_code": "77001",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "payment_rate": "62.84",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "Medicaid Fee (non-facility)",
    "procedure_type_used": null,
    "tos_code": "1",
    "tos_description": "MEDICAL SERVICES",
    "modifier": null,
    "modifier_adjustment": null,
    "place_of_service": "non_facility",
    "area_type": null,
    "lab_type": null,
    "age_group": "ADULT",
    "is_manually_priced": false,
    "emergency_room": null,
    "medicaid_fee": "62.84",
    "total_rvus": "2.40",
    "conversion_factor": "26.18",
    "outpatient_rcc": null,
    "pct_allowable_charges": null,
    "effective_rate": null,
    "source_fee_schedule": null,
    "source_fee_schedule_label": null,
    "billed_charges": null,
    "calculation_note": null,
    "chirp_adjustments": null,
    "date_of_service_used": "2026-08-01",
    "effective_start_date": "2024-09-01",
    "effective_end_date": null
  }
]
POST/tx/outpatient/rate/batch

Look up multiple TX outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "npi": "1234567890",
      "billing_code": "99213"
    },
    {
      "npi": "1234567890",
      "billing_code": "99214",
      "child_patient": true
    }
  ]
}
GET/tx/providers/search

Texas Provider Search

Search for Texas Medicaid providers by NPI, TPI, CCN, name, or location. Returns provider details including hospital classification and rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
state_provider_idstringTPI: Texas Provider Identifier. A hospital's alternate TPIs match too.
ccnstringCMS Certification Number.
provider_namestringProvider name (partial match, min 2 characters).
citystringCity (partial match).
zip_codestringZIP code (exact match).
entity_typestringFilter by entity type. Values: individual, organization.
countystringCounty (partial match).
taxonomystringTaxonomy code filter.
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC_HASC, CLINICAL_LABORATORY, BH_PHYSICIAN_CLINICAL, AMBULANCE.
hospital_classstringHospital classification. Values: Urban, Rural, Childrens, STATE OWNED TEACHING.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳state_provider_idstringTPI: Texas Provider Identifier. For a hospital, the TPI of this location: its main campus, or a location Texas prices at its own rates.
↳alternate_tpisarrayHospitals only: the other TPIs Texas lists the hospital under (its other service locations). A search by any of them finds the hospital.
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable label for the State Rates provider classification.
↳entity_typestringIndividual or Organization.
↳primary_taxonomystringPrimary taxonomy code.
↳street_addressstringStreet address.
↳citystringCity.
↳statestringState.
↳zip_codestringZIP code.
↳countystringCounty.
↳ccnstringCMS Certification Number (hospitals only).
↳hospital_classstringHospital classification (hospitals only). Values: Urban, Rural, Childrens, STATE OWNED TEACHING.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/tx/providers/search?\
  provider_name=memorial&\
  city=houston" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1234567890",
      "state_provider_id": "000001",
      "provider_name": "MEMORIAL HERMANN HOSPITAL",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": "282N00000X",
      "street_address": "6411 FANNIN ST",
      "city": "HOUSTON",
      "state": "TX",
      "zip_code": "77030",
      "county": "HARRIS",
      "ccn": "450001",
      "hospital_class": "Urban",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}
GET/wv/inpatient/rate

West Virginia Inpatient Claims

Look up a West Virginia Medicaid MS-DRG inpatient payment rate, with adjustments for cost outliers, transfer per-diem pricing, and same-day and next-day claims. The discharge date determines the effective rate year.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringMS-DRG code (e.g., '470', 'N90').
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringWV Medicaid Provider ID for the hospital (e.g., '0001258000').
provider_name1 requiredstringHospital name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
discharge_datestringDischarge date (MM/DD/YYYY or YYYY-MM-DD). Selects the rate year. Defaults to today.
length_of_stayintegerLength of stay in days. Required to price transfer claims correctly: the graduated per-diem is paid per day, and when omitted the calculation assumes a 1-day stay.
transfer_claimbooleanTransfer claim. Discharge status 02 (transferred to another acute-care facility).
same_day_claimbooleanSame-day or next-day claim. Check when admission and discharge fall on the same or next day. Requires total charges.
total_chargesdecimalTotal covered charges (UB-04 FL47). Used for the cost-outlier and same-day calculations.
room_and_board_chargesdecimalRoom and board charges: the sum billed under room-and-board revenue codes. Used on the same-day path.
observation_chargesdecimalObservation charges: the sum billed under the observation revenue code (0762). Used on the same-day path.
observation_hoursdecimalThe number of hours the patient was in observation status. Used on the same-day path.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringHospital NPI.
state_provider_idstringWV Medicaid Provider ID.
provider_namestringHospital name.
provider_typestringProvider type (HOSPITAL).
provider_type_labelstringHuman-readable provider type label.
hospital_classstringHospital peer-group classification. Values: RRC, SCH, ACH, MDH and combinations.
ccnstringMedicare CCN.
market_areastringWV market area (1–6).
street_addressstringHospital street address.
citystringHospital city.
countystringHospital county.
statestringHospital state.
zip_codestringHospital ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
drg_code_usedstringDRG actually priced. Differs from billing_code when the neonatal remap applies (789–794 → N89–N94 at the four Level III hospitals).
neonatal_remap_appliedbooleanTRUE when billing_code 789–794 was remapped to an N89–N94 Level III neonatal DRG for this hospital.
wv_specific_drgbooleanTRUE for WV-specific Level III neonatal pseudo-DRGs (N89–N94).
grouper_versionstringMedicare MS-DRG grouper version for the rate year (e.g., 'V43').
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
drg_weightdecimalWV-specific DRG relative weight.
alosdecimalAverage length of stay for the DRG (drives the transfer per-diem).
base_amountdecimalProvider Price Factor: (WV Std Cost × (1 + IME) × Wage Index + Std Cap) × (1 + the health-care-related-tax adjustment).
base_paymentdecimalBase DRG payment = base_amount × drg_weight.
wv_std_costdecimalHospital WV standardized cost amount.
std_cap_amtdecimalHospital standardized capital amount.
ime_adjustmentdecimalIndirect medical education adjustment.
wage_index_gafdecimalProvider wage index / geographic adjustment factor.
cost_charge_ratiodecimalHospital cost-to-charge ratio.
outlier_adjustment_appliedbooleanTRUE when a cost-outlier add-on was applied.
outlier_amountdecimalIME/tax-adjusted cost-outlier add-on included in the payment.
outlier_thresholddecimalCost-outlier threshold = (WV Std Cost × weight + the rate year's fixed threshold amount) × Wage Index.
estimated_costdecimalEstimated cost = total charges × adjusted CCR.
adjusted_cost_charge_ratiodecimalCCR ÷ (1 + IME), used to estimate cost for the outlier.
total_charges_useddecimalTotal charges used in the outlier / same-day calculation.
outlier_notestringSet when the cost outlier could not be computed; e.g., discharges before 2025-10-01 (RY2026), where the historical outlier constants are not published.
transfer_adjustment_appliedbooleanTRUE when transfer per-diem pricing was applied.
transfer_payment_amountdecimalGraduated per-diem transfer payment (before the lesser-of comparison).
per_diem_amountdecimalPer-diem = (base + outlier) ÷ ALOS.
first_day_per_diemdecimalFirst-day per-diem = 3 × per-diem.
length_of_stay_usedintegerDays used for the transfer per-diem.
transfer_full_drg_exceptionbooleanTRUE when the transfer full-DRG exception applied (neonate transfer/death or burn DRG): the full DRG is paid despite the transfer.
same_day_appliedbooleanTRUE when same-day/next-day lesser-of pricing was applied.
same_day_payment_amountdecimalSame-day payment = ancillary × CCR + obs hours × the hourly observation rate + the rate year's room & board amount (before the lesser-of comparison).
total_ancillary_chargesdecimalTotal charges − room & board − observation charges (same-day path).
room_and_board_useddecimalRoom & board charges used in the same-day calculation (subtracted from total charges to get ancillary).
observation_charges_useddecimalObservation charges used in the same-day calculation (subtracted from total charges to get ancillary).
observation_hours_useddecimalObservation hours used in the same-day calculation.
same_day_notestringSet when the same-day path could not be computed; e.g., discharges before 2025-10-01 (RY2026).
discharge_date_useddateThe discharge date the rate was priced against, echoed from the request. When you omit discharge_date, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/wv/inpatient/rate?\
  billing_code=470&\
  npi=1841271459&\
  discharge_date=2025-11-15" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1841271459",
    "state_provider_id": "0001258000",
    "provider_name": "WEST VIRGINIA UNIVERSITY HOSPITALS",
    "provider_type": "HOSPITAL",
    "provider_type_label": "Hospital",
    "hospital_class": "RRC",
    "ccn": "510001",
    "market_area": "6",
    "street_address": "1 MEDICAL CENTER DR",
    "city": "MORGANTOWN",
    "county": "MONONGALIA",
    "state": "WV",
    "zip_code": "26506",
    "billing_code": "470",
    "billing_code_type": "MS-DRG",
    "billing_code_description": "MAJOR HIP AND KNEE JOINT REPLACEMENT OR REATTACHMENT OF LOWER EXTREMITY WITHOUT MCC",
    "drg_code_used": "470",
    "neonatal_remap_applied": false,
    "wv_specific_drg": false,
    "grouper_version": "V43",
    "payment_rate": "11188.66",
    "payment_rate_type": "claim",
    "calculation_method": "$5,402.02 (Provider Price Factor) × 2.0712 (DRG Weight) = $11,188.66 (Total Payment)",
    "drg_weight": "2.0712",
    "alos": "1.30",
    "base_amount": "5402.02",
    "base_payment": "11188.66",
    "wv_std_cost": "4211.47",
    "std_cap_amt": "436.66",
    "ime_adjustment": "0.165320",
    "wage_index_gaf": "0.9849",
    "cost_charge_ratio": "0.2590",
    "outlier_adjustment_applied": false,
    "outlier_amount": null,
    "outlier_threshold": null,
    "estimated_cost": null,
    "adjusted_cost_charge_ratio": null,
    "total_charges_used": null,
    "outlier_note": null,
    "transfer_adjustment_applied": false,
    "transfer_payment_amount": null,
    "per_diem_amount": null,
    "first_day_per_diem": null,
    "length_of_stay_used": null,
    "transfer_full_drg_exception": false,
    "same_day_applied": false,
    "same_day_payment_amount": null,
    "total_ancillary_charges": null,
    "room_and_board_used": null,
    "observation_charges_used": null,
    "observation_hours_used": null,
    "same_day_note": null,
    "discharge_date_used": "2025-11-15",
    "effective_start_date": "2025-10-01",
    "effective_end_date": null
  }
]
POST/wv/inpatient/rate/batch

Look up multiple WV inpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "470",
      "npi": "1841271459",
      "discharge_date": "2025-11-15"
    },
    {
      "billing_code": "470",
      "npi": "1841271459",
      "discharge_date": "2025-11-15",
      "total_charges": "900000",
      "transfer_claim": false
    }
  ]
}
GET/wv/outpatient/rate

West Virginia Outpatient Rates

Look up a West Virginia Medicaid outpatient rate. Pricing routes by provider type across WV's outpatient fee schedules: RBRVS, clinical lab, emergency department, outpatient surgery, and ASC.

Parameters

NameTypeDescription
reference_idstringA correlation ID (max 128 chars) echoed back unchanged in the response, so you can match each rate result to the source claim or account in your system. **Do NOT pass PHI in this field.** Use a hashed value, UUID, or per-batch synthetic ID; never raw account numbers, MRNs, or claim numbers from your billing or EHR system. State Rates does not log, persist, or inspect this value; it is stripped from request logs and error tracking.
billing_coderequiredstringHCPCS/CPT® code (e.g., 99213).
npi1 requiredstringNational Provider Identifier (10 digits).
state_provider_id1 requiredstringWV Medicaid Provider ID (e.g., '0001258000'). Published for hospitals only; other provider types have none.
provider_name1 requiredstringProvider name (partial match, case-insensitive). Returns only providers that can be priced for this request, capped at 20; `provider_matches_total` on each result gives the number that qualified.
provider_typestringState Rates provider classification. Accepted values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER (case-insensitive); any other value is rejected. If omitted, returns a result for every type the provider is enrolled under.
modifierstringModifier. Values: 26 (Professional Component), TC (Technical Component), QW (CLIA-waived lab). Matched exactly to a published rate row. For hospital/imaging-center imaging, the TC row is auto-selected when no modifier is passed. RBRVS only.
place_of_servicestringPlace of service (RBRVS only). Values: facility, non_facility. If omitted, the non_facility rate is returned. No effect on lab / ED / surgery / ASC paths.
unitsintegerNumber of 15-minute time units billed. Applies to outpatient surgery codes only, capped at the code's maximum payable units. Ignored for other code types. Defaults to 1.
date_of_servicestringDate of service (MM/DD/YYYY or YYYY-MM-DD). Defaults to today. Selects the fee schedule in effect on this date.

Returns

FieldTypeDescription
reference_idstringEcho of the `reference_id` from the request (null if not sent). Use this to match each result back to your source claim or account.
request_indexintegerBatch requests only: the position in `requests` of the row this result answers, counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so use this to match results to rows. Error messages count rows from 1. Null on single lookups.
rate_foundbooleanWhether a rate was found.
error_messagestringWhy no rate was found, in plain language. Null on success.
error_codestringThe same reason as a stable value to branch on (see Errors > When no rate is found). Null on success.
provider_matches_totalintegerFor provider_name searches only: how many providers matched the name AND can be priced for this request. Null for NPI, TPI, CCN, or OPCERT lookups, which are not capped. When this exceeds the number of providers in the response, you are holding one capped page of 20. Narrow the name or add filters to see the rest.
npistringProvider NPI.
state_provider_idstringWV Medicaid Provider ID (hospitals only; NULL for non-hospital providers).
provider_namestringProvider name.
provider_typestringState Rates provider classification.
provider_type_labelstringHuman-readable provider type label.
hospital_classstringHospital peer-group classification (HOSPITAL only). Values: RRC, SCH, ACH, MDH and combinations (e.g., 'SCH/RRC').
primary_taxonomy_codestringNPPES primary taxonomy code (non-hospital providers).
primary_taxonomy_display_namestringNPPES primary taxonomy display name.
street_addressstringProvider street address.
citystringProvider city.
countystringProvider county.
statestringProvider state (always 'WV').
zip_codestringProvider ZIP code.
billing_codestringBilling code submitted.
billing_code_typestringCode system. Values: HCPCS, APR-DRG.
billing_code_descriptionstringHuman-readable code description.
modifierstringModifier on the matched row (e.g., '26', 'TC', 'QW'). Sourced from the row, not the request input.
modifier_adjustmentdecimalMultiplier applied to base_rate to derive payment_rate on a derived modifier row (e.g., 26/TC split). NULL when the rate is published as-is.
base_ratedecimalSource fee-schedule rate before any modifier adjustment. When modifier_adjustment is populated, payment_rate = base_rate × modifier_adjustment; otherwise base_rate equals payment_rate.
place_of_servicestringPlace of service on the matched row (RBRVS only).
payment_ratedecimalPayment rate in dollars.
payment_rate_typestringRate type. Values: fee_schedule, percent_of_charges, manually_priced, claim, per_diem.
calculation_methodstringHuman-readable calculation formula with actual values.
service_categorystringWhich fee schedule priced the code. Values: physician_rbrvs, clinical_lab, emergency_department, op_surgery, asc.
cbsastringCBSA used to select the ASC rate tab (ASC only), resolved from the provider's county.
per_unit_ratedecimalPer-15-minute-unit rate before the units multiplier (op_surgery only).
units_usedintegerUnits applied to the per-unit rate (op_surgery only), after capping at max_units.
max_unitsintegerMaximum payable 15-minute units for this surgery code (op_surgery only).
unit_max_reimbursementdecimalCeiling reimbursement at max_units (op_surgery only, context).
is_manually_pricedbooleanTrue when the state prices this code case by case (by report). The result is still a found rate: rate_found is true and payment_rate is null.
calculation_notestringThe state's explanation when the code is manually priced. Null otherwise.
is_packagedbooleanTRUE for ASC packaged rows: covered, no separate payment. payment_rate $0.00 with an explanatory message.
date_of_service_useddateThe date of service the rate was priced against, echoed from the request. When you omit date_of_service, this returns the server default (today), so the resolved date is always visible.
effective_start_datedateRate period start date.
effective_end_datedateRate period end date. Null if currently active.
Request
curl "https://api.staterates.health/api/v1/wv/outpatient/rate?\
  billing_code=99213&\
  npi=1063737765" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
[
  {
    "rate_found": true,
    "error_message": null,
    "npi": "1063737765",
    "state_provider_id": null,
    "provider_name": "WEST VIRGINIA PHYSICIANS GROUP",
    "provider_type": "PHYSICIAN",
    "provider_type_label": "Physician",
    "hospital_class": null,
    "primary_taxonomy_code": "207R00000X",
    "primary_taxonomy_display_name": "Internal Medicine",
    "street_address": "100 MAIN ST",
    "city": "HUNTINGTON",
    "county": "CABELL",
    "state": "WV",
    "zip_code": "25701",
    "billing_code": "99213",
    "billing_code_type": "HCPCS",
    "billing_code_description": null,
    "modifier": null,
    "modifier_adjustment": null,
    "base_rate": "63.48",
    "place_of_service": "non_facility",
    "payment_rate": "63.48",
    "payment_rate_type": "fee_schedule",
    "calculation_method": "RBRVS Fee Schedule (Non-Facility) = $63.48",
    "service_category": "physician_rbrvs",
    "cbsa": null,
    "per_unit_rate": null,
    "units_used": null,
    "max_units": null,
    "unit_max_reimbursement": null,
    "is_manually_priced": false,
    "is_packaged": false,
    "date_of_service_used": "2026-08-01",
    "effective_start_date": "2026-04-01",
    "effective_end_date": null
  }
]
POST/wv/outpatient/rate/batch

Look up multiple WV outpatient rates in a single POST request. Maximum 1,000 lookups per batch.

Batch request
{
  "requests": [
    {
      "billing_code": "99213",
      "npi": "1063737765"
    },
    {
      "billing_code": "71046",
      "npi": "1841271459"
    }
  ]
}
GET/wv/providers/search

West Virginia Provider Search

Search for West Virginia Medicaid providers by NPI, WV Medicaid Provider ID (hospitals only), name, location, taxonomy, provider type, or hospital class. Returns provider details with rate availability.

Parameters

NameTypeDescription
npistringNational Provider Identifier (10 digits).
state_provider_idstringWV Medicaid Provider ID (hospitals only).
provider_namestringProvider name (partial match, case-insensitive).
citystringCity (partial match).
countystringCounty (partial match).
zip_codestringZIP code (exact match).
taxonomystringNUCC taxonomy display name (partial match, non-hospital).
provider_typestringState Rates provider classification. Values: HOSPITAL, PHYSICIAN, ASC, CLINICAL_LABORATORY, IMAGING_CENTER.
hospital_classstringHospital classification filter (HOSPITAL only), matched exactly. Values: ACH, RRC, SCH, MDH, EACH/RRC, MDH/RRC, SCH/RRC.
limitintegerMax results (default 100, max 1000).

Returns

FieldTypeDescription
providersarrayList of matching providers.
↳npistringProvider NPI.
↳state_provider_idstringWV Medicaid Provider ID (hospitals only; NULL for non-hospital providers).
↳provider_namestringProvider name.
↳provider_typestringState Rates provider classification.
↳provider_type_labelstringHuman-readable provider type label.
↳entity_typestringIndividual or Organization (always 'Organization' for HOSPITAL).
↳primary_taxonomystringNPPES primary taxonomy display name (non-hospital).
↳hospital_classstringHospital peer-group classification (HOSPITAL only). Values: RRC, SCH, ACH, MDH and combinations.
↳street_addressstringStreet address.
↳citystringCity.
↳countystringCounty.
↳statestringState.
↳zip_codestringZIP code.
↳op_ratesbooleanHas outpatient rates.
↳ip_ratesbooleanHas inpatient rates.
total_resultsintegerTotal results found.
limit_appliedintegerLimit applied.
Request
curl "https://api.staterates.health/api/v1/wv/providers/search?\
  provider_name=huntington&\
  provider_type=HOSPITAL" \
  -H "Authorization: Bearer YOUR_API_KEY"
Sample response
{
  "providers": [
    {
      "npi": "1073518007",
      "state_provider_id": "0001144000",
      "provider_name": "CABELL HUNTINGTON HOSPITAL",
      "provider_type": "HOSPITAL",
      "provider_type_label": "Hospital",
      "entity_type": "Organization",
      "primary_taxonomy": null,
      "hospital_class": "RRC",
      "street_address": "1340 HAL GREER BLVD",
      "city": "HUNTINGTON",
      "county": "CABELL",
      "state": "WV",
      "zip_code": "25701",
      "op_rates": true,
      "ip_rates": true
    }
  ],
  "total_results": 1,
  "limit_applied": 100
}

Errors

StatusCommon codeMeaning
400api_key_in_queryKey sent in a URL query string. Put it in the Authorization header.
401missing_api_keyNo Authorization header or the Bearer scheme is missing.
401invalid_api_keyKey is unknown, revoked, or past its expiry.
404—Endpoint path doesn't exist. Check the URL against the reference above.
422—An input broke a rule (e.g. a length of stay that isn't a whole number), or a batch is empty, over 1,000 rows, or (claims batches) over 30,000 lines in total. message says what to fix in plain language; detail has the field-level errors. A bad row inside a batch is not a 422: see Batch requests below.
429claim_batch_busyAnother claims batch is running on this server. Wait a few seconds and send it again. It cost nothing.
429token_bucket_exceededYour token balance can't cover the call, or the per-key burst limit tripped (burst 429s have no JSON body). See Rate Limits.
500—Our bug. Don't retry blindly. Email support with the timestamp.
502—API briefly unreachable (usually a deploy restart). Safe to retry after ~5s.

Batch requests

Each row in a batch is checked on its own. A row with a bad input comes back as rate_found: false with error_code: input_invalid and a message naming the row ("Row 12: NPI must be exactly 10 digits."), and the other rows are priced. Every result carries request_index, the position of its row in requests counting from 0. One row can return several results (one per severity level, or one per provider on a name search), so match results to rows by request_index, not by position. A claims batch returns exactly one result per claim. A claim that fails comes back as claim_priced: false with the same error_code and message.

When no rate is found

A lookup that can't be priced still returns 200, with rate_found: false. error_message says why in plain language and error_code gives the same reason as a stable value to branch on. Messages may be reworded; codes won't change.

error_codeMeaning
input_invalidThe request can't be priced as written: a malformed code, identifiers that belong to different providers, or a required input (length of stay, charges) left out.
provider_not_foundNo provider in this state matches the identifier.
provider_not_active_on_dateThe provider exists, but our records for it don't cover the requested date. The message gives the dates they do cover.
provider_type_mismatchThe provider is the wrong kind for the request, such as a physician NPI on an inpatient lookup, or a provider_type filter the provider doesn't have.
provider_not_priceableThe provider is paid outside the published rates, such as a cost-reimbursed hospital or one with no published base rate.
code_not_foundThe code isn't on any of the state's published rates, or a DRG severity is out of range.
code_not_on_dateThe code is published, but not for the requested date. The message gives the dates it is.
code_not_billable_by_provider_typeThe code is published, but not for this kind of provider. The message names who it is paid to.
rate_axis_unavailableThe code is published for this provider, but not with the requested modifier, place of service, age group, or similar option. The message lists what is published.
no_published_amountA rate row exists, but the state publishes no amount for it. Manually priced (by report) codes are not failures: see is_manually_priced.
date_out_of_coverageThe requested date is before our rates for this state and provider type begin.
no_rate_otherNone of the above could be determined. The message is the generic "No rate found for the given inputs."
batch_time_limitClaims batches only: the batch ran out of time before reaching this claim. Nothing is wrong with the claim. Send it again. It cost nothing.
Error response
{
  "detail": {
    "error": {
      "type": "authentication_error",
      "code": "invalid_api_key",
      "message": "Invalid or revoked API key"
    }
  }
}

Rate Limits & Quotas

Two limits, both return 429:

  1. Short-term throttle: 1 request per second per key, with bursts up to 30. Go over and you'll get a 429; wait a second and try again.
  2. Token balance: Each organization has one token balance. Costs per call: 1 token per inpatient claim, 0.25 tokens per outpatient line item, 1 token per whole outpatient claim, 0 tokens for provider search. You pay only for results that return a rate: a lookup with no rate found (rate_found: false), a claim that couldn't be priced, a refused request, and a batch row with no rate cost nothing.

Every metered 2xx and 429 response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset so you can monitor headroom.

X-RateLimit-Reset is when your current tokens refill or end. Provider search responses carry no rate-limit headers (the call is free).

Your balance has to cover a call's full cost before it runs. If it can't, the whole call is refused with a 429 and nothing is charged. A batch is never partly priced. The requested / remaining / resets_at fields in the 429 show the call's cost, what you have left, and when your tokens refill or end, so you can split a batch and retry.

Rate-limit headers
X-RateLimit-Limit:     1000
X-RateLimit-Remaining: 873.75
X-RateLimit-Reset:     2026-07-01T00:00:00Z
429 out-of-tokens body
{
  "detail": {
    "error": {
      "type": "rate_limit_error",
      "code": "token_bucket_exceeded",
      "message": "Not enough tokens left to cover this call",
      "state": "TX",
      "requested": "125.00",
      "remaining": "73.50",
      "resets_at": "2026-07-01T00:00:00+00:00",
      "plan": "package",
      "renews": false
    }
  }
}