GnistAI GnistAI
Log in

Hospital Directory

US hospital directory — beds, trauma level, specialties, accreditation for major hospitals.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 10 tools tools 10 10 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Health

Data source: Curated dataset (CMS, AHA)

REST Bridge Endpoint https://context.gnist.ai/rest/hospital-directory/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (10)

get_hospital

Get detailed information about a hospital.

Returns name, location, type, beds, trauma level, specialties, and accreditation.

ParameterTypeRequiredDescription
hospital_idstringrequiredHospital ID slug (e.g. mayo-clinic-rochester, johns-hopkins).
Request Body
{
  "hospital_id": "example"
}
search_hospitals

Search the hospital directory.

ParameterTypeRequiredDescription
querystringrequiredSearch by name, city, or specialty.
limitintegeroptional (default: 20)
Request Body
{
  "query": "example"
}
list_hospitals_by_state

List hospitals in a US state.

ParameterTypeRequiredDescription
statestringrequiredUS state abbreviation (e.g. MA, CA, NY).
limitintegeroptional (default: 50)
Request Body
{
  "state": "example"
}
list_hospitals_by_type

List hospitals by type.

ParameterTypeRequiredDescription
hospital_typestringrequiredHospital type (Teaching, General, Children's, VA).
limitintegeroptional (default: 50)
Request Body
{
  "hospital_type": "example"
}
list_hospitals_by_specialty

List hospitals with a given medical specialty.

ParameterTypeRequiredDescription
specialtystringrequiredMedical specialty (e.g. Cardiology, Oncology, Neurology).
limitintegeroptional (default: 50)
Request Body
{
  "specialty": "example"
}
list_trauma_centers

List trauma centers by level.

ParameterTypeRequiredDescription
levelstringoptional (default: "Level I")
limitintegeroptional (default: 50)
Request Body
{
  "query": "example"
}
get_hospital_states

List all US states with hospitals in the directory.

Request Body
{
  "query": "example"
}
get_hospital_types

List all hospital types in the directory.

Request Body
{
  "query": "example"
}
get_medical_specialties

List all medical specialties in the directory.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/hospital-directory/get_hospital" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"hospital_id": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/hospital-directory/get_hospital",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "hospital_id": "example"
},
)
print(resp.json())

Related Toolkits (Health)

Resources