https://vision.astrologyapi.com/palmistry/get-palm-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.
monthnumberrequiredMonth of birth.
yearnumberrequiredYear of birth.
genderstringrequiredGender of the user.
curl --location 'https://vision.astrologyapi.com/palmistry/get-palm-id' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"image_url": "https://sample_image.jpg",
"day": "30",
"month": "7",
"year": "2000",
"gender": "male"
}'
Runs with sample data — no API key needed
{
"status": true,
"message": "success",
"data": {
"palm_id": "c48d0b80-1d49-4af8-8c05-e778b3d7a00f"
}
}