Skip to main content
POST
/
api
/
vitals
/
doctors
/
search
/vitals/doctors/search
curl --request POST \
  --url https://api.anysite.io/api/vitals/doctors/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "specialty": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@vitals_doctor_search_result",
    "id": "<string>",
    "alias": "<string>",
    "name": "<string>",
    "first_name": "<string>",
    "middle_name": "<string>",
    "last_name": "<string>",
    "prefix": "<string>",
    "gender": "<string>",
    "degrees": [],
    "npi": "<string>",
    "image": "<string>",
    "primary_specialty": "<string>",
    "specialties_text": "<string>",
    "city": "<string>",
    "state": "<string>",
    "distance": 123,
    "years_of_experience": 123,
    "accepts_new_patients": true,
    "is_telehealth": true,
    "languages": [],
    "rating": 123,
    "rating_count": 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
specialty
string
required

Specialty slug to browse (from the specialties endpoint)

Minimum string length: 1
Example:

"cardiovascular-disease"

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
state
enum<string> | null

US state to narrow the search

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

Response

Successful Response

@type
string
default:@vitals_doctor_search_result
id
string | null
alias
string | null
name
string | null
first_name
string | null
middle_name
string | null
last_name
string | null
prefix
string | null
gender
string | null
degrees
string[]
npi
string | null
image
string | null
primary_specialty
string | null
specialties_text
string | null
city
string | null
state
string | null
distance
number | null
years_of_experience
integer | null
accepts_new_patients
boolean | null
is_telehealth
boolean | null
languages
string[]
rating
number | null
rating_count
integer | null
review_count
integer | null
profile_url
string | null