API reference

Palm Reading API

A full palm reading from one photo, the birth date and gender. Returns the parts you choose as JSON in English and Hindi, and delivers them as a PDF with the marked palm photo.

POSThttps://astrologyapis.ratnoveda.com/vision/palmistry/full-reading

Overview

Choose any of the 15 parts in features:

palm_imagehand_typefingersmajor_linesminor_linesmountsspecial_featurespersonalitycareermoneylovemarriagehealthchallengesluck

For best results the photo shows one open palm facing the camera, fingers straight, sharp and well lit. Send the original photo: compressed copies (for example from WhatsApp) can hide fine lines.

Parameters

Send a JSON body with your API key in the X-API-Key header. Set the language with the Accept-Language header: en (default) or hi.

ParameterTypeDescription
image_urlrequiredstringPublic https link to the palm photo on your own storage (JPEG, PNG or WebP, up to 10 MB).
dayrequiredintDay of birth, 1–31.
monthrequiredintMonth of birth, 1–12.
yearrequiredintYear of birth, for example 2000.
genderrequiredstringmale, female or other.
featuresoptionalstring[]Parts of the reading to return (list below). Omit for all 15. Each part is billed.
summaryoptionalbooleantrue adds an AI-written summary paragraph, billed separately.

Example request

# 1. Read the palm (JSON). image_url is the photo on your own storage (public https link).
#    Leave out "features" for all 15 parts. Accept-Language: hi for Hindi.
curl -X POST 'https://astrologyapis.ratnoveda.com/vision/palmistry/full-reading' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Accept-Language: en' \
  -d '{"image_url":"https://your-storage.example.com/palm.jpg","day":30,"month":7,"year":2000,"gender":"male","features":["personality","career","love","marriage","luck"],"summary":true}'

# 2. When the PDF is wanted: POST to data.download_url, exactly as given.
#    No API key needed. Add &language=hi for the Hindi PDF.
curl -X POST '<download_url>'

Response

200 OK · shortened
{
  "status": true,
  "message": "Palm analysed successfully. Use the palm_id with the other palmistry endpoints.",
  "data": {
    "palm_id": "6f1c…",
    "personality": {
      "personality": { "core_traits": ["…"], "behavioral_style": "…", "strengths": ["…"] }
    },
    "career": { … },
    "love": { … },
    "summary": "…",
    "download_url": "https://astrologyapis.ratnoveda.com/pdf/reports/<draft_id>/download?exp=…&sig=…",
    "pdf_price": { "rupees": 5.0, "credits": 25.0 },
    "translations": { "hi": { "personality": { … }, … } }
  },
  "disclaimer": "…"
}

Response fields

ParameterTypeDescription
palm_idrequiredstringID of this palm analysis.
<part>requiredobjectOne object per requested part, named as in features.
summaryoptionalstringThe AI summary, when requested.
download_urlrequiredstringSigned link that delivers the reading as PDF files. See PDF delivery below.
pdf_pricerequiredobjectPrice of the first PDF download, in rupees and credits.
translationsrequiredobjectThe same reading in the other language, at no extra cost.

PDF delivery

Send a POST to data.download_url exactly as returned, with no API key and no body. You receive one PDF per language, with the palm photo and its marked lines. Add &language=hi to make Hindi the main file. The first download is charged at the PDF price; repeat downloads are free. The link is valid for 7 days. No company details are needed.

200 OK
{
  "status": true,
  "pdf_url": "https://astrologyapis.ratnoveda.com/pdf/files/<file_id>.pdf?…",
  "pdf_urls": { "en": "…", "hi": "…" },
  "credits_charged": 25
}

Errors

StatusCodeMeaning
400INVALID_IMAGENo clear open palm: back of the hand, palm cut off or too small, or lines too unclear
400INVALID_INPUTMissing or invalid birth date or gender, or an unknown part in features
401INVALID_API_KEYMissing, wrong or revoked API key
402INSUFFICIENT_CREDITSNot enough credits; top up and retry
503SERVICE_UNAVAILABLEThe reading service is busy; retry shortly