Vastu Remedy Ranking (AI)
POSTAvailable
https://api.96astroapi.com/v1/ai/vastu-rank-remediesAI picks the top three actions across all defects and remedy tiers, each with what it addresses, effort and timeframe, and a summary.
- Credits
- Metered, from 15 credits
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- Languages
- English; 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 |
|---|---|
remediesarray of objectsRequired | vastu-analyse data.remedies, as it came. Limits: 1 to 40 items |
remedies[].defectstringRequired | Title of the defect these remedies are for. Limits: 1 to 300 characters Example: |
remedies[].severitystringRequired | Allowed values: severepoormixed Example: |
remedies[].priorityinteger | nullOptional | 1 = most urgent. Default: Limits: minimum 1, maximum 5 Example: |
remedies[].freearray of objectsOptional | Limits: at most 5 items |
remedies[].free[].actionstringRequired | Limits: 1 to 200 characters Example: |
remedies[].free[].effortstringOptional | Default: Allowed values: lowmediumhighvery high Example: |
remedies[].free[].cost_inrintegerOptional | Default: Limits: minimum 0, maximum 10000000 Example: |
remedies[].objectsarray of objectsOptional | Limits: at most 5 items |
remedies[].objects[].actionstringRequired | Limits: 1 to 200 characters Example: |
remedies[].objects[].effortstringOptional | Default: Allowed values: lowmediumhighvery high Example: |
remedies[].objects[].cost_inrintegerOptional | Default: Limits: minimum 0, maximum 10000000 Example: |
remedies[].structuralarray of objectsOptional | Limits: at most 5 items |
remedies[].structural[].actionstringRequired | Limits: 1 to 200 characters Example: |
remedies[].structural[].effortstringOptional | Default: Allowed values: lowmediumhighvery high Example: |
remedies[].structural[].cost_inrintegerOptional | Default: Limits: minimum 0, maximum 10000000 Example: |
defectsarray of objectsOptional | vastu-analyse data.defects, as it came (optional). Limits: at most 100 items |
defects[].keystringOptional | The defect's key (empty when no remedy is written for it). Default: Limits: at most 80 characters |
defects[].titlestringRequired | e.g. 'Toilet placed in NE'. Limits: 1 to 300 characters |
defects[].severitystringRequired | Allowed values: severepoormixed |
defects[].has_remedyboolean | nullOptional | As in vastu-analyse; not used. Default: |
dashaobject | nullOptional | The running dasha; defects in its zones rank higher. Default: |
dasha.mahadashastringRequired | Allowed values: SunMoonMercuryVenusMarsJupiterSaturnRahuKetu |
dasha.antardashastring | nullOptional | Default: Allowed values: SunMoonMercuryVenusMarsJupiterSaturnRahuKetu |
dasha.mahadasha_endstring | nullOptional | Accepted; not used. Default: Limits: format date |
dasha.antardasha_endstring | nullOptional | Accepted; not used. Default: Limits: format date |
goalstring | nullOptional | The life goal to favour. Default: Allowed values: careermarriagewealthspiritualhealtheducationpeacechildrenpropertyromancefameforeigntravelpoliticsarts Example: |
tierstringOptional | fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range. Default: Allowed values: fastbalanceddeep Example: |
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 |
Response · fields in data
The response contract: required fields are always present.
top3· array of objectsummary· stringgoal· string | nulltier· stringcandidates· integerdasha_used· boolean
Example request
curl -X POST https://api.96astroapi.com/v1/ai/vastu-rank-remedies \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"remedies": [
{
"defect": "Toilet placed in NE",
"severity": "severe",
"priority": 1,
"free": [
{
"action": "Keep toilet door closed at all times",
"effort": "low",
"cost_inr": 0
}
],
"objects": [
{
"action": "Hang a 9-rod metal wind-chime outside toilet entrance",
"effort": "low",
"cost_inr": 400
}
],
"structural": [
{
"action": "Relocate toilet to W or NW corner",
"effort": "very high",
"cost_inr": 80000
}
]
},
{
"defect": "Brahmasthan (central area) is blocked",
"severity": "poor",
"priority": 2,
"free": [
{
"action": "Clear all clutter, furniture, partitions from central area",
"effort": "medium"
}
],
"objects": [
{
"action": "Place a brass kalash or Vastu Purusha symbol at center",
"cost_inr": 800
}
],
"structural": []
}
],
"goal": "wealth",
"tier": "fast"
}'Example response (illustrative)
{
"data": {
"top3": [
{
"rank": 1,
"action": "Keep toilet door closed at all times",
"matched": true,
"addresses": "Toilet placed in NE",
"tier": "free",
"cost_inr": 0,
"effort": "low",
"timeframe": "today",
"rationale": "Free, immediate, and it contains the most severe defect first."
},
{
"rank": 2,
"action": "Clear all clutter, furniture, partitions from central area",
"matched": true,
"addresses": "Brahmasthan (central area) is blocked",
"tier": "free",
…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.

