https://vision.astrologyapi.com/face-reading/get-face-idx-astrologyapi-keystringrequiredAPI access token used to authenticate requests. Send your access token in this custom header.
Accept-LanguagestringPreferred language for the response content. Supported: English - en.
image_urlstringrequiredPublic image URL or base64 data URL (data:image/...;base64,...) of the palm photo. Aliases: url, img_url, image. Accepted formats: jpeg, jpg, png, webp. Maximum size: 5MB.
daynumberrequiredDay of birth. If birth details are supplied, day, month, year, and gender must all be valid.
monthnumberrequiredMonth of birth.
yearnumberrequiredYear of birth.
genderstringrequiredGender value used with optional birth details.
curl --location 'https://vision.astrologyapi.com/face-reading/get-face-id' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"image_url": "https://sample-image.jpg",
"day": 15,
"month": 8,
"year": 1995,
"gender": "male"
}'
Runs with sample data β no API key needed
{
"status": true,
"message": "success",
"data": {
"face_id": "c48d0b80-1d49-4af8-8c05-e778b3d7a00f"
}
}