Skip to main content

Gochar — Transit Analysis

Computes planetary transits against a natal chart using classical Vedic rules. Returns house positions from Moon and Lagna, Vedha obstruction checks, Ashtakavarga Bhinna scores, Sade Sati and Chandra Ashtama flags, and classical transit interpretations for all 9 planets. Request JSON follows BirthInput plus optional transit fields target_date, target_time, target_timezone: name, date, time, location or latitude/longitude/timezone, ayanamsa.

Endpoint

POST /v1/astro/gochar

Request parameters

FieldTypeRequiredDescription
locationstring | nullNoCity name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
namestringNoPerson name associated with the birth record
datestringYesBirth date in YYYY-MM-DD format
timestring | nullNoBirth time in HH:MM 24-hour format. If omitted, sunrise chart is used as fallback.
latitudenumber | nullNoLatitude. Required if location not provided.
longitudenumber | nullNoLongitude. Required if location not provided.
timezonestring | nullNoIANA timezone. Required if location not provided.
ayanamsastringNoSidereal ayanamsa mode used in calculations
target_datestring | nullNoYYYY-MM-DD. Defaults to today IST.
target_timestring | nullNoHH:MM. Defaults to noon.
target_timezonestring | nullNoTimezone for target_date/time.

Example request

curl -X POST "https://api.asterwise.com/v1/astro/gochar" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date":"1985-11-12","time":"06:45","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"}'

Example response

{
"success": true,
"message": "success",
"data": {
"natal": {
"moon_sign": "Tula",
"moon_sign_index": 6,
"ascendant_sign": "Tula",
"ascendant_sign_index": 6
},
"target_date": "2026-05-28",
"transits": [
{
"planet": "Sun",
"transit_sign": "Vrishabha",
"transit_sign_index": 1,
"transit_degree": 12.7365,
"is_retrograde": false,
"nakshatra": "Rohini",
"nakshatra_pada": 1,
"house_from_moon": 8,
"house_from_lagna": 8,
"is_favorable_from_moon": false,
"is_favorable_from_lagna": false,
"bindu_override": true,
"vedha_active": false,
"vedha_blocking_planet": null,
"ashtakavarga_score": 1,
"interpretation": "Fear, diseases, quarrel, royal displeasure, suffering from excessive heat",
"themes": [
"fear",
"health challenges",
"... and 2 more items"
],
"quality": "unfavorable"
},
{
"planet": "Moon",
"transit_sign": "Tula",
"transit_sign_index": 6,
"transit_degree": 8.6178,
"is_retrograde": false,
"nakshatra": "Swati",
"nakshatra_pada": 1,
"house_from_moon": 1,
"house_from_lagna": 1,
"is_favorable_from_moon": false,
"is_favorable_from_lagna": false,
"bindu_override": true,
"vedha_active": false,
"vedha_blocking_planet": null,
"ashtakavarga_score": 0,
"interpretation": "Dawning of fortune",
"themes": [
"fresh start",
"fortunate opening",
"... and 2 more items"
],
"quality": "favorable"
},
"... and 7 more items"
],
"summary": {
"favorable_count": 1,
"unfavorable_count": 8,
"vedha_blocked_count": 0,
"overall_score": 0,
"sade_sati_active": false,
"sade_sati_phase": null,
"sade_sati_interpretation": null,
"chandra_ashtama_active": false
}
}
}

Response fields

FieldTypeDescription
successbooleanTrue if the request succeeded
messagestringHuman-readable status message
dataobject
data.natalobject
data.natal.moon_signstring
data.natal.moon_sign_indexinteger
data.natal.ascendant_signstring
data.natal.ascendant_sign_indexinteger
data.target_datestring
data.transitsarray[object]
data.transits[].planetstring
data.transits[].transit_signstring
data.transits[].transit_sign_indexinteger
data.transits[].transit_degreenumber
data.transits[].is_retrogradeboolean
data.transits[].nakshatrastring | null
data.transits[].nakshatra_padainteger | null
data.transits[].house_from_mooninteger
data.transits[].house_from_lagnainteger
data.transits[].is_favorable_from_moonboolean
data.transits[].is_favorable_from_lagnaboolean
data.transits[].vedha_activeboolean
data.transits[].vedha_blocking_planetstring | null
data.transits[].ashtakavarga_scoreinteger | null
data.transits[].interpretationstring
data.transits[].themesarray[string]
data.transits[].qualitystring
data.summaryobject
data.summary.favorable_countinteger
data.summary.unfavorable_countinteger
data.summary.vedha_blocked_countinteger
data.summary.overall_scoreinteger
data.summary.sade_sati_activeboolean
data.summary.sade_sati_phasestring | null
data.summary.sade_sati_interpretationobject | nullPhase-specific Sade Sati interpretation when active. Contains name, duration, saturn_position, and interpretation text for the current phase (rising, peak, or setting).
data.summary.chandra_ashtama_activeboolean

Errors

CodeDescriptionReference
authentication_failedMissing or invalid API key.authentication_failed
ephemeris_unavailableUpstream ephemeris service error.ephemeris_unavailable
insufficient_tierAPI key tier does not include this endpoint.insufficient_tier
internal_errorUnexpected server error.internal_error
ip_rate_limit_exceededToo many requests in a short window.ip_rate_limit_exceeded
payload_too_largeRequest body exceeds the size limit.payload_too_large
resource_not_foundReferenced resource was not found.resource_not_found
validation_errorRequest body failed schema validation.validation_error