Skip to main content
POST
/
api
/
vitals
/
doctors
/
reviews
/vitals/doctors/reviews
curl --request POST \
  --url https://api.anysite.io/api/vitals/doctors/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "doctor": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@vitals_doctor_review",
    "rating": 123,
    "text": "<string>",
    "created_at": "<string>",
    "helpful_count": 123,
    "source": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
doctor
string
required

Vitals doctor slug (e.g. mershed-alsamara-ec1iuw) or a doctor profile URL

Minimum string length: 1
Example:

"mershed-alsamara-ec1iuw"

count
integer
required

Max number of reviews to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@vitals_doctor_review
rating
integer | null
text
string | null
created_at
string | null
helpful_count
integer | null
source
string | null