Api Endpoint

FindMyDirectDoctor Healthcare Access API

MRI cash price nearby, or what a hospital charges without insurance. Hospital self-pay (cash) prices posted under the federal price transparency rule for 28 common services (imaging, blood tests, ER visit levels, EKG, colonoscopy), searched by CPT or HCPCS code or plain words near a ZIP, city and state or coordinates. Returns each hospital's posted cash price, distance, file date, data flag and financial assistance (charity care) link, plus the area median. Facility portion only; bills differ.

Open interactive test console

Offering

Provider
api.findmydirectdoctor.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://api.findmydirectdoctor.com/v1/hospital-prices/search
MIME type
application/json
First seen
2026-11-01T15:05:36.808Z
Last seen
Tags
healthcare, uninsured, healthcare-access, cash-pay, hospital-prices, medicaid, financial-assistance, doctors, direct-primary-care, pricing

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
305 ms
Average latency
231 ms
HTTP status
402
Last checked
Reachability
100% over 9 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"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "pattern": "^[A-Za-z0-9]{5}$",
          "description": "CPT or HCPCS billing code of one of the 28 supported services, for example 70551 (brain MRI, no contrast). Give code or service, not both. GET /v1/hospital-prices/codes lists them."
        },
        "service": {
          "type": "string",
          "maxLength": 120,
          "description": "The service in plain words, for example brain MRI without contrast. The free dictionary resolves it to a code, and the response shows the resolved code and close alternatives."
        },
        "zip": {
          "type": "string",
          "pattern": "^\\d{5}$",
          "description": "5-digit US ZIP code. A location is given as zip, or lat with lng, or city with state."
        },
        "lat": {
          "type": "number",
          "minimum": -90,
          "maximum": 90,
          "description": "Latitude in decimal degrees. Used together with lng."
        },
        "lng": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": "Longitude in decimal degrees. Used together with lat."
        },
        "city": {
          "type": "string",
          "maxLength": 80,
          "description": "City name. Used together with state."
        },
        "state": {
          "type": "string",
          "pattern": "^[A-Za-z]{2}$",
          "description": "2-letter US state code. Used together with city."
        },
        "radius_miles": {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 150,
          "default": 50,
          "description": "Search radius in miles (default 50, maximum 150). A larger value is lowered to the maximum."
        },
        "sort": {
          "type": "string",
          "enum": [
            "price",
            "distance"
          ],
          "default": "price",
          "description": "price = lowest cash price first. distance = nearest first."
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 25,
          "default": 10,
          "description": "Results per page (default 10, maximum 25)."
        },
        "cursor": {
          "type": "string",
          "description": "Opaque value from next_cursor of the previous response, to fetch the next page with the same other parameters."
        },
        "format": {
          "type": "string",
          "enum": [
            "concise",
            "detailed"
          ],
          "default": "concise",
          "description": "concise = key fields. detailed = every field."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "query": {
          "type": "object",
          "description": "The search as understood, with defaults applied."
        },
        "service_match": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string"
            },
            "confidence": {
              "type": "string",
              "enum": [
                "exact",
                "close",
                "best_guess"
              ]
            },
            "matched_phrase": {
              "type": [
                "string",
                "null"
              ]
            },
            "note": {
              "type": "string"
            }
          },
          "description": "Present when service (plain words) was used: how the words were matched to a code."
        },
        "alternatives": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "plain_name": {
                "type": "string"
              },
              "score": {
                "type": "number"
              }
            }
          },
          "description": "Other codes that also fit the words, best first."
        },
        "resolved_code": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "plain_name": {
              "type": "string"
            },
            "category": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "plain_name"
          ],
          "description": "The billing code the response is about."
        },
        "total_matches": {
          "type": "integer",
          "description": "Hospitals inside the radius with a posted price for the code."
        },
        "returned": {
          "type": "integer"
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Pass as cursor for the next page. null on the last page."
        },
        "area_prices": {
          "type": "object",
          "properties": {
            "scope": {
              "type": "string"
            },
            "n_used": {
              "type": "integer",
              "description": "Distinct hospital prices used (prices flagged unusual are left out)."
            },
            "n_posted": {
              "type": "integer"
            },
            "unusual_left_out": {
              "type": "integer"
            },
            "low_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "p25_usd": {
              "type": [
                "number",
                "null"
              ],
              "description": "null when fewer than 10 prices."
            },
            "median_usd": {
              "type": [
                "number",
                "null"
              ],
              "description": "null when fewer than 5 prices."
            },
            "p75_usd": {
              "type": [
                "number",
                "null"
              ],
              "description": "null when fewer than 10 prices."
            },
            "high_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "note": {
              "type": "string"
            }
          },
          "description": "Cash-price statistics for the hospitals in the area."
        },
        "state_median_usd": {
          "type": "object",
          "properties": {
            "state": {
              "type": "string"
            },
            "median_usd": {
              "type": [
                "number",
                "null"
              ]
            },
            "n_used": {
              "type": "integer"
            }
          },
          "description": "Median posted cash price in the state of the nearest priced hospital."
        },
        "national_median_usd": {
          "type": [
            "number",
            "null"
          ]
        },
        "results": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ccn": {
                "type": "string",
                "description": "CMS certification number."
              },
              "name": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "distance_miles": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "cash_price_usd": {
                "type": "number",
                "description": "Posted self-pay (cash) price, facility portion only."
              },
              "file_date": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Date of the hospital's price file."
              },
              "flag": {
                "type": "string",
                "description": "Data flag. Empty when none. See flag_key."
              },
              "fap_url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Verified financial assistance (charity care) page, or null."
              },
              "address": {
                "type": "string"
              },
              "zip": {
                "type": "string"
              },
              "lat": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "lng": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "hospital_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "price_file_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fap_checked": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "owner_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "code": {
                "type": "string"
              }
            }
          }
        },
        "flag_key": {
          "type": "object",
          "description": "Plain meaning of each flag that appears in results."
        },
        "price_files_newest": {
          "type": [
            "string",
            "null"
          ],
          "description": "Newest price file date in the data for this code."
        },
        "hospital_coverage": {
          "type": "object",
          "description": "How many hospitals are in the price library and how many posted prices, for the scope of this response (counts only, no names)."
        },
        "data_as_of": {
          "type": "string"
        },
        "disclaimer": {
          "type": "string",
          "description": "Posted hospital self-pay prices for the facility portion only. Final bills can differ. Confirm with the hospital."
        },
        "source": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "total_matches",
        "returned",
        "results",
        "data_as_of",
        "disclaimer"
      ]
    }
  },
  "required": [
    "type"
  ]
}