POST · WESTERN

Sun Sign Report

Endpoint POST https://starsapi.com/api/v3/western/predictions/sun-sign-report

Computes the tropical natal chart and returns a prewritten personality profile for the Sun's tropical sign — the classic Western "star sign" that most people know. Covers 6 sections: overview, personality, strengths, weaknesses, love, and career. Each section carries a title, a text interpretation, and a keywords summary. Content is written for all 12 signs.

Tropical vs sidereal — this endpoint uses the tropical zodiac, so it returns the familiar Western sun sign (e.g. someone born 15 August is a Leo). For the Vedic/sidereal equivalent (Surya Rashi, typically one sign earlier), see Vedic Sun Sign Report.
Content tiers — the content tier is derived from your API key, not from the request. Internal keys receive premium content; public keys receive canonical. When the requested language has no entry, the response falls back to English automatically.

Authentication

MethodExample
Header (recommended)X-Api-Key: sa_live_xxxxxxxxxxxx
BearerAuthorization: Bearer sa_live_xxxxxxxxxxxx
Query?api_key=sa_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
yearintegerYesBirth year.
monthintegerYesBirth month, 1–12.
dayintegerYesBirth day.
hourintegerYesBirth hour, 0–23 (24-hour).
minuteintegerYesBirth minute, 0–59.
secondintegerNoBirth second, default 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone (e.g. Asia/Kolkata).
languagestringNoLanguage code. Default en. Falls back to English when the requested language has no entry.

Note: the Sun's sign does not depend on birth time, place, or house system, but full birth data is accepted for a consistent request shape across the API. house_system and node_type are also accepted (defaults placidus / true) but do not affect the result.

Response shape

FieldTypeDescription
languagestringThe language requested.
sun_signstringTropical Sun sign, e.g. "Leo".
degreenumberSun's degree within the sign, 0–30.
sectionsobject6 keyed sections, each with title, text, and keywords.

Sections included

KeyTitleDescription
overview<Sign> — The …Element, modality, ruling planet, date range, and the sign's core theme.
personalityPersonalityCore character traits of the sign.
strengthStrengthsNatural talents and positive qualities.
weaknessWeaknessesPitfalls and shadow tendencies to watch.
loveLove & RelationshipsRomantic style and what the sign needs from a partner.
careerCareerSuitable fields and working style.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEBad calendar date.
400INVALID_PARAMBad language or node_type value.
400INVALID_TIMEZONENon-IANA timezone.
400INVALID_COORDINATELat/lon out of range.
405METHOD_NOT_ALLOWEDNon-POST request.

See also