AI Reading: Structured reading
POSTAvailable
https://api.96astroapi.com/v1/ai/ai-insightAn AI-written reading of a birth chart, grounded in chart data the service computes from the birth (or in one report named in context); choose persona, tier and language. Optional JSON output.
- Credits
- Metered, from 15 credits
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- Languages
- 26 languages; translated term names with
labels
| Header | Value and description |
|---|---|
AuthorizationRequired | Bearer YOUR_API_KEYYour sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead. |
Content-TypeRequired | application/jsonThe body is JSON. |
Idempotency-KeyOptional | <unique string>Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters) |
| Field | Description |
|---|---|
datetimestringRequired | Local date and time, ISO 8601 without offset, e.g. 1990-10-18T14:30:00 Limits: format local-date-time, pattern ^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(:\d{2}(\.\d{1,6})?)?$ Example: |
timezonestring | nullOptional | IANA time zone, e.g. Asia/Kolkata Default: Example: |
utc_offsetstring | nullOptional | Fixed offset such as +05:30, if no IANA zone is known Default: Limits: pattern ^[+-]?\d{1,2}(:[0-5]\d)?$ Example: |
latitudenumber | nullOptional | Latitude in decimal degrees, north positive, e.g. 28.6139. Required unless `place` is given. Default: Limits: minimum -90, maximum 90 Example: |
longitudenumber | nullOptional | Longitude in decimal degrees, east positive, e.g. 77.209. Required unless `place` is given. Default: Limits: minimum -180, maximum 180 Example: |
placeobject | nullOptional | Where the person is now, for festival, vrat, moonrise, panchang, muhurta and wedding-plan questions. The birth place is used when omitted. Default: |
place.latitudenumberRequired | Limits: minimum -90, maximum 90 |
place.longitudenumberRequired | Limits: minimum -180, maximum 180 |
place.timezonestring | nullOptional | IANA time zone, e.g. Asia/Kolkata Default: |
place.utc_offsetstring | nullOptional | Fixed offset such as +05:30, if no IANA zone is known Default: |
ayanamshastringOptional | Sidereal system for Vedic positions. Default lahiri. `ayanamsha-list` lists all 51 with their values. Default: Allowed values: 51 valuessayanakrishnamurti_newlahirilahiri_1940lahiri_vp285lahiri_icrclahiri_rashtriyaramankrishnamurtikrishnamurti_vp291yukteshwarbhasinfagantrue_chitratrue_pushyatrue_mulatrue_revatitrue_sheoranss_citrass_revatiushashashinadisurya_siddhantasurya_siddhanta_msunaryabhataaryabhata_msunaryabhata_522babyl_brittonbabyl_etpscbabyl_huberbabyl_kugler1babyl_kugler2babyl_kugler3delucedjwhal_khulhipparchossassanianvalens_moonaldebaran_15taugalcent_0saggalcent_rgilbrandgalcent_cochranegalcent_mula_wilhelmgalequ_iau1958galequ_truegalequ_mulagalequ_fiorenzagalalign_mardyksj1900j2000b1950 |
languagestringOptional | Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language. Default: Allowed values: enasbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
nodestringOptional | Lunar node: true (osculating) or mean. Default: Allowed values: truemean |
tierstringOptional | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Default: Allowed values: fastbalanceddeep Example: |
personastringOptional | Voice of the reading: coach (plain), pandit (traditional) or analyst. Default: Allowed values: coachpanditanalyst Example: |
contextstring | nullOptional | Ground the reading in this report's data instead of the natal chart. Only the AI reading is charged, never less than the report itself. Default: Allowed values: report-careerreport-childrenreport-educationreport-foreign-travelreport-healthreport-marriagereport-politicsreport-propertyreport-relocationreport-romancereport-spiritualreport-wealthdetailed-life |
partnerobject | nullOptional | The partner's birth. With it, compatibility and marriage questions are computed from both charts (matching, Manglik match, how the marriage holds up) instead of asking for it. Default: |
partner.datetimestringRequired | Local birth date and time, ISO 8601 without an offset, e.g. 1992-03-02T05:47:00 |
partner.latitudenumberRequired | Limits: minimum -90, maximum 90 |
partner.longitudenumberRequired | Limits: minimum -180, maximum 180 |
partner.timezonestring | nullOptional | IANA time zone of the birth place, e.g. Asia/Kolkata Default: |
partner.utc_offsetstring | nullOptional | Fixed offset such as +05:30, if no IANA zone is known Default: |
partner_rolestringOptional | The partner's side in Vedic matching; the person asking takes the other side. Default: Allowed values: bridegroom |
json_modebooleanOptional | Return the reading as a JSON object (data.reading) as well as text. Default: |
labelsstringOptional | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
| Value | Meaning |
|---|---|
coach | Persona: coach |
pandit | Persona: pandit |
analyst | Persona: analyst |
Response · fields in data
The response contract: required fields are always present.
mode· stringtext· stringtier· stringpersona· stringas_of· stringgrounding· objectcitations· array of objectreading· object | null
Example request
curl -X POST https://api.96astroapi.com/v1/ai/ai-insight \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"datetime": "1990-10-18T14:30:00",
"timezone": "Asia/Kolkata",
"latitude": 28.6139,
"longitude": 77.209,
"tier": "fast",
"persona": "coach"
}'Example response (illustrative)
{
"data": {
"mode": "insight",
"text": "You are running Jupiter Mahadasha with Mars Antardasha until January 2027. Jupiter rules your 3rd and 12th houses from a Capricorn Ascendant, so this is a period of effort, writing, travel and foreign connections. Mars as the sub-period lord adds drive to work matters: start the projects you have been planning, but avoid hasty decisions around property. Your Moon in Virgo favours careful planning; use it.",
"tier": "fast",
"persona": "coach",
"as_of": "2026-10-14",
"grounding": {
"source": "birth-chart",
"characters": 9412,
"truncated": false
},
"citations": []
},
"meta": {
"request_id": "req_00000000000000000000",
"api_version": "v1",
"credits_used": 0,
"warnings": [],
"language": "en",
…Written by hand from the documented shape: AI readings are not captured automatically. Real text, token counts and credits differ.
Error responses
- 400invalid_request
- 401invalid_key, expired_key
- 402payment_required
- 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
- 404not_found
- 409idempotency_conflict
- 413payload_too_large
- 422invalid_request, unsupported_language
- 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
- 500computation_failed
- 502unavailable
- 503unavailable, maintenance, temporarily_unavailable
- 504deadline_exceeded
Errors are never charged. What each status means and what to do: errors.

