Skip to main content
POST
/
api
/
vitals
/
hospitals
/
search
/vitals/hospitals/search
curl --request POST \
  --url https://api.anysite.io/api/vitals/hospitals/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@vitals_facility_search_result",
    "id": "<string>",
    "name": "<string>",
    "city": "<string>",
    "state": "<string>",
    "description": "<string>",
    "provider_count": 123,
    "specialty_count": 123,
    "rating": 123,
    "review_count": 123,
    "profile_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
state
enum<string>
required

US state to list hospitals in

Available options:
al,
ak,
az,
ar,
ca,
co,
ct,
de,
dc,
fl,
ga,
hi,
id,
il,
in,
ia,
ks,
ky,
la,
me,
md,
ma,
mi,
mn,
ms,
mo,
mt,
ne,
nv,
nh,
nj,
nm,
ny,
nc,
nd,
oh,
ok,
or,
pa,
ri,
sc,
sd,
tn,
tx,
ut,
vt,
va,
wa,
wv,
wi,
wy
count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@vitals_facility_search_result
id
string | null
name
string | null
city
string | null
state
string | null
description
string | null
provider_count
integer | null
specialty_count
integer | null
rating
number | null
review_count
integer | null
profile_url
string | null