Skip to content

Searching

The query parameter performs a case-insensitive keyword search across organization names.

bash
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=Mayo"
python
import requests

response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "Mayo"}
)
data = response.json()
typescript
const response = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=Mayo"
);
const data = await response.json();
csharp
using var client = new HttpClient();
var response = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=Mayo"
);
var data = await response.Content.ReadAsStringAsync();

This matches any endpoint where the organization name contains "Mayo" — e.g., "Mayo Clinic", "Mayo Regional Hospital".

Search tips

  • Partial matches work — searching Clevel matches "Cleveland Clinic"
  • Case insensitivemayo, Mayo, MAYO all return the same results
  • Empty query returns all — omit query to get the full paginated list

Combine with filters

Search within a specific vendor:

bash
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=Children&vendor=epic"
python
import requests

response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "Children", "vendor": "epic"}
)
data = response.json()
typescript
const response = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=Children&vendor=epic"
);
const data = await response.json();
csharp
using var client = new HttpClient();
var response = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=Children&vendor=epic"
);
var data = await response.Content.ReadAsStringAsync();

Search within a state:

bash
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=Memorial&state=TX"
python
import requests

response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "Memorial", "state": "TX"}
)
data = response.json()
typescript
const response = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=Memorial&state=TX"
);
const data = await response.json();
csharp
using var client = new HttpClient();
var response = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=Memorial&state=TX"
);
var data = await response.Content.ReadAsStringAsync();

Finding a specific organization

If you know the exact organization name:

bash
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=Cleveland+Clinic+Foundation"
python
import requests

response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "Cleveland Clinic Foundation"}
)
data = response.json()
typescript
const response = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=Cleveland+Clinic+Foundation"
);
const data = await response.json();
csharp
using var client = new HttpClient();
var response = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=Cleveland+Clinic+Foundation"
);
var data = await response.Content.ReadAsStringAsync();

Common searches

bash
# Find all pediatric practices
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=pediatric&limit=50"

# Find urgent care centers
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=urgent+care&limit=50"

# Find a hospital by city
curl "https://fhir-api.luxera.io/api/v1/endpoints?query=Boston&limit=50"
python
import requests

# Find all pediatric practices
response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "pediatric", "limit": 50}
)

# Find urgent care centers
response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "urgent care", "limit": 50}
)

# Find a hospital by city
response = requests.get(
    "https://fhir-api.luxera.io/api/v1/endpoints",
    params={"query": "Boston", "limit": 50}
)
typescript
// Find all pediatric practices
const pediatric = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=pediatric&limit=50"
);

// Find urgent care centers
const urgentCare = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=urgent+care&limit=50"
);

// Find a hospital by city
const boston = await fetch(
  "https://fhir-api.luxera.io/api/v1/endpoints?query=Boston&limit=50"
);
csharp
using var client = new HttpClient();

// Find all pediatric practices
var pediatric = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=pediatric&limit=50"
);

// Find urgent care centers
var urgentCare = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=urgent+care&limit=50"
);

// Find a hospital by city
var boston = await client.GetAsync(
    "https://fhir-api.luxera.io/api/v1/endpoints?query=Boston&limit=50"
);

Built by Luxera Software