Api Endpoint

PricePlain

PricePlain: compare one shoppable code across all indexed hospitals in a region, sorted cheapest first (by cash price, or by negotiated median when payer is given), with cash, negotiated min/median/max, flags and source file links. Posted prices from hospital machine-readable files, not quotes. Feedback/support: POST /feedback (free) or js4336638@gmail.com.

Open interactive test console

Offering

Provider
priceplain.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://priceplain.onrender.com/v1/compare
MIME type
application/json
First seen
2026-10-23T22:14:09.550Z
Last seen
Tags
healthcare, hospital-prices, price-transparency, cpt, minnesota, compare

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x4Ec8B510d0c54D7A8f432B9697F3F419033DC629"
  }
]

Observed health

Status
Healthy
Latest latency
122 ms
Average latency
605 ms
HTTP status
402
Last checked
Reachability
90.9% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "CPT/HCPCS code (e.g. 70553) or MS-DRG as DRG470. See GET /v1/coverage."
        },
        "payer": {
          "type": "string",
          "description": "Optional insurer: canonical id (bcbs-mn, healthpartners, medica, ucare, uhc, aetna, cigna, medicare, mn-medicaid, ...) or raw-name fragment"
        },
        "region": {
          "type": "string",
          "description": "Region id, default twin-cities. Unsupported regions get a free 404 listing coverage."
        },
        "state": {
          "type": "string",
          "description": "Optional 2-letter state (MN)"
        }
      },
      "required": [
        "code"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "code": {
          "type": "object"
        },
        "region": {
          "type": "string"
        },
        "sorted_by": {
          "type": "string"
        },
        "hospitals": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "hospital_id": {
                "type": "string"
              },
              "cash": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "gross": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "negotiated_min": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "negotiated_median": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "negotiated_max": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "flags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "source": {
                "type": "object",
                "description": "Provenance: hospital MRF URL, its last_updated_on, cms-hpt.txt"
              }
            }
          }
        },
        "disclaimer": {
          "type": "string"
        }
      },
      "required": [
        "hospitals",
        "disclaimer"
      ]
    }
  },
  "required": [
    "type"
  ]
}