/v1/search
Search & filter hospitals
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/hospitals-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hospitals-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hospitals-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/hospitals-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 0,
"limit": 20,
"total": 0,
"offset": 0,
"filters": {
"q": "mayo",
"city": "san diego",
"type": "acute",
"state": "CA",
"emergency": true,
"ownership": "voluntary",
"min_rating": 4
},
"results": []
},
"meta": {
"timestamp": "2026-05-30T22:48:26.566Z",
"request_id": "21bd03a0-1b1b-47af-95e3-8cc86b8aa6ea"
},
"status": "ok",
"message": "Search completed",
"success": true
}