Find PE-owned hospitals
1. Search
Section titled “1. Search”curl "$OPH_API/api/facilities?private_equity=true&state=TX&min_beds=100&sort=revenue" \ -H "Authorization: Bearer $OPH_KEY"Each row has top_owner and the cost-report financials. Drop state to search nationally.
2. See the owners of one hospital
Section titled “2. See the owners of one hospital”curl "$OPH_API/api/facilities/450000" -H "Authorization: Bearer $OPH_KEY"owners lists up to 50 parties with pct_ownership, role, and the is_private_equity, is_reit and is_holding_company flags.
3. Group hospitals by owner
Section titled “3. Group hospitals by owner”The search endpoint ranks hospitals, not owners. To see which firms hold the most beds, ask (25 credits):
curl "$OPH_API/api/ask" \ -H "Authorization: Bearer $OPH_KEY" \ -H "Content-Type: application/json" -H "Accept: application/json" \ -d '{"question": "Which private-equity owners hold the most hospitals and beds?"}'The answer is one JSON document. Each tile has columns and rows, and sql shows how the model grouped them. Check it for one thing: a hospital with two private-equity owners is counted under both, so a beds column does not sum to a national total.
Keep the id from the response: it opens the answer again for free.
4. Export the full list
Section titled “4. Export the full list”Send the same filters as the search, without paging:
curl "$OPH_API/api/exports" \ -H "Authorization: Bearer $OPH_KEY" -H "Content-Type: application/json" \ -d '{"list": "facilities", "params": {"private_equity": true, "sort": "beds"}}'Download the CSV from url within the hour, or call GET /api/exports later for a fresh link. To export a tile of the answer from step 3, send {"dashboard": "<id>", "tile": 0}. See Exports.