HomeAPI DocsAstro Shivanii AI API › Ai Compatibility

Ai Compatibility

POST /v1/ai/compatibility

AI compatibility analysis between two birth charts.

Example request

curl -X POST https://api.grahaapi.com/v1/ai/compatibility   -H "Authorization: Bearer sk-test-your-key"   -H "Content-Type: application/json"   -d '{"language":"en","person1":{"dob":"1990-06-15","lat":28.6139,"lon":77.209,"name":"Rahul Sharma","tob":"10:30","tz":5.5},"person2":{"dob":"1993-08-22","lat":26.9124,"lon":75.7873,"name":"Priya Singh","tob":"14:15","tz":5.5}}'

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": {…}} with Hindi + English strings, computed on the Lahiri ayanamsa.

Request fields

FieldTypeRequiredDescription
person1BirthRequestFirst person's birth details
person2BirthRequestSecond person's birth details
languagestringResponse language: 'en' or 'hi'

Example body

{
  "language": "en",
  "person1": {
    "dob": "1990-06-15",
    "lat": 28.6139,
    "lon": 77.209,
    "name": "Rahul Sharma",
    "tob": "10:30",
    "tz": 5.5
  },
  "person2": {
    "dob": "1993-08-22",
    "lat": 26.9124,
    "lon": 75.7873,
    "name": "Priya Singh",
    "tob": "14:15",
    "tz": 5.5
  }
}

Get a free API key Try it in the playground

Related Astro Shivanii AI endpoints

/v1/ai/career-guidance · /v1/ai/chat · /v1/ai/interpret-kundli · /v1/ai/predict · /v1/ai/relationship-guidance · /v1/ai/remedy-advisor