Skip to content
96Astro API

Vastu Remedy Ranking (AI)

POSTAvailable

POSThttps://api.96astroapi.com/v1/ai/vastu-rank-remedies

AI 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
Headers
HeaderValue and description
AuthorizationRequiredBearer YOUR_API_KEY

Your sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead.

Content-TypeRequiredapplication/json

The 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)

Body · application/json
FieldDescription
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: Toilet placed in NE

remedies[].severitystringRequired

Allowed values: severepoormixed

Example: severe

remedies[].priorityinteger | nullOptional

1 = most urgent.

Default: null

Limits: minimum 1, maximum 5

Example: 1

remedies[].freearray of objectsOptional

Limits: at most 5 items

remedies[].free[].actionstringRequired

Limits: 1 to 200 characters

Example: Keep toilet door closed at all times

remedies[].free[].effortstringOptional

Default: low

Allowed values: lowmediumhighvery high

Example: low

remedies[].free[].cost_inrintegerOptional

Default: 0

Limits: minimum 0, maximum 10000000

Example: 0

remedies[].objectsarray of objectsOptional

Limits: at most 5 items

remedies[].objects[].actionstringRequired

Limits: 1 to 200 characters

Example: Hang a 9-rod metal wind-chime outside toilet entrance

remedies[].objects[].effortstringOptional

Default: low

Allowed values: lowmediumhighvery high

Example: low

remedies[].objects[].cost_inrintegerOptional

Default: 0

Limits: minimum 0, maximum 10000000

Example: 400

remedies[].structuralarray of objectsOptional

Limits: at most 5 items

remedies[].structural[].actionstringRequired

Limits: 1 to 200 characters

Example: Relocate toilet to W or NW corner

remedies[].structural[].effortstringOptional

Default: low

Allowed values: lowmediumhighvery high

Example: very high

remedies[].structural[].cost_inrintegerOptional

Default: 0

Limits: minimum 0, maximum 10000000

Example: 80000

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: null

dashaobject | nullOptional

The running dasha; defects in its zones rank higher.

Default: null

dasha.mahadashastringRequired

Allowed values: SunMoonMercuryVenusMarsJupiterSaturnRahuKetu

dasha.antardashastring | nullOptional

Default: null

Allowed values: SunMoonMercuryVenusMarsJupiterSaturnRahuKetu

dasha.mahadasha_endstring | nullOptional

Accepted; not used.

Default: null

Limits: format date

dasha.antardasha_endstring | nullOptional

Accepted; not used.

Default: null

Limits: format date

goalstring | nullOptional

The life goal to favour.

Default: null

Allowed values: careermarriagewealthspiritualhealtheducationpeacechildrenpropertyromancefameforeigntravelpoliticsarts

Example: wealth

tierstringOptional

fast (Claude Haiku), balanced (Sonnet) or deep (Opus). Sets the price range.

Default: balanced

Allowed values: fastbalanceddeep

Example: fast

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 object
  • summary · string
  • goal · string | null
  • tier · string
  • candidates · integer
  • dasha_used · boolean

Try in Playground →Capability overview

Example request

Example response (illustrative)

200application/json
{
  "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.

Was this page helpful?

Send us feedback

What is it about?