overall_assessment, score percentage, performance band, result, grade scale, grade counts, and a score_breakdown for each submitted room or feature. https://vision.astrologyapi.com/vastu/basic-scorex-astrologyapi-keystringrequiredAPI access token used to authenticate requests. Send your access token in this custom header.
Accept-LanguagestringPreferred language for the response content. Supported: English - en.
main_entrancestringrequiredConfirmed main-entrance direction.
roomsarrayrequiredOne to fifty confirmed room type and direction pairs.
contextobjectOptional agency and concern context.
kitchen, master_bedroom, puja_room, toilet, bathroom, living_room, dining_room, staircase, storage, bedroom, kids_bedroom, guest_bedroom, study, office, foyer, gym, home_theatre, pantry, laundry, powder_room, servant_room, granary, treasury, lift, parking, balcony, verandah, terrace, garden, courtyard, and pool. Only these room types are supported in the Basic room input. context object adds practical information about the property and the user’s main concern. context.agency accepts exactly four values: OWN_CAN_REBUILD, OWN_CANNOT_REBUILD, RENT, and UNKNOWN. context.concern accepts exactly seven values: MONEY, HEALTH, HOME, WORK, MOOD, NONE, and UNKNOWN.curl --location 'https://vision.astrologyapi.com/vastu/basic-score' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"main_entrance": "N",
"rooms": [
{
"type": "kitchen",
"direction": "SW"
},
{
"type": "master_bedroom",
"direction": "NE"
},
{
"type": "verandah",
"direction": "SW"
},
{
"type": "treasury",
"direction": "SW"
}
],
"context": {
"agency": "RENT",
"concern": "NONE"
}
}'
Runs with sample data — no API key needed
{
"overall_assessment": {
"score_percentage": 15,
"performance_band": "poor",
"result": "needs_attention",
"result_label": "Needs correction"
},
"grade_score_scale": {
"ideal": 100,
"preferred": 90,
"acceptable": 70,
"neutral": 50,
"caution": 30,
"avoid": 10
},
"finding_count_by_grade": {
"avoid": 3,
"neutral": 1
},
"score_breakdown": [
{
"display_name": "Kitchen",
"category": "room",
"catalog_type": "kitchen",
"score_percentage": 10,
"performance_band": "poor",
"result": "needs_attention",
"result_label": "Needs correction"
},
{
"display_name": "Master bedroom",
"category": "room",
"catalog_type": "master_bedroom",
"score_percentage": 10,
"performance_band": "poor",
"result": "needs_attention",
"result_label": "Needs correction"
},
{
"display_name": "Powder room",
"category": "room",
"catalog_type": "powder_room",
"score_percentage": 50,
"performance_band": "fair",
"result": "neutral",
"result_label": "Mixed or neutral"
},
{
"display_name": "Verandah",
"category": "room",
"catalog_type": "verandah",
"score_percentage": 10,
"performance_band": "poor",
"result": "needs_attention",
"result_label": "Needs correction"
}
]
}