Ai Predict

POST/v1/ai/predict

AI predictions for current period — dasha + transits.

Example request

cURL
curl -X POST https://api.grahaapi.com/v1/ai/predict \
  -H "Authorization: Bearer sk-test-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birth": {
      "dob": "1990-06-15",
      "lat": 28.6139,
      "lon": 77.209,
      "name": "Rahul Sharma",
      "tob": "10:30",
      "tz": 5.5
    },
    "language": "en",
    "question": "Will my business succeed this year?"
  }'

Test keys (sk-test-…) are free and unlimited, and return the exact production response structure computed from a fixed sample chart. The response is JSON: {"success": true, "data": {…}, "meta": {…}} in the language you request ("language": "en" | "hi"), computed on the Lahiri ayanamsa.

Request fields

FieldTypeRequiredDescription
birthBirthRequestrequiredNatal birth details
questionstring | nulloptionalOptional specific question for Astro Shivanii AI
languagestringoptionalResponse language: 'en' (English) or 'hi' (Hindi). Each language = 1 AI call.

Example body

JSON
{
  "birth": {
    "dob": "1990-06-15",
    "lat": 28.6139,
    "lon": 77.209,
    "name": "Rahul Sharma",
    "tob": "10:30",
    "tz": 5.5
  },
  "language": "en",
  "question": "Will my business succeed this year?"
}