Field
natal
Type
object
Required
Yes
Description
Birth data and the shared SVG/PNG rendering configuration.
/api/v1/natal/chart/solar-returnRender a natal and solar-return bi-wheel as SVG or PNG. The API finds the exact instant when the transiting Sun returns to its natal longitude, then calculates the outer wheel for the requested year and return location.
https://api.freeastroapi.com/api/v1/natal/chart/solar-returnThe return location accepts either a city or a complete latitude/longitude pair.
The nested natal object uses the same birth-data and visual configuration contract as the SVG transit endpoint.
curl -X POST "https://api.freeastroapi.com/api/v1/natal/chart/solar-return" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"natal": {
"name": "Maya",
"year": 1990,
"month": 5,
"day": 15,
"hour": 14,
"minute": 30,
"city": "London",
"tz_str": "AUTO",
"format": "svg",
"size": 700,
"theme_type": "light"
},
"solar_return_year": 2026,
"solar_return_city": "Paris",
"solar_return_tz_str": "AUTO",
"show_inter_aspects": true,
"show_natal_aspects": false,
"show_solar_return_aspects": false,
"natal_planet_color": "#1565C0",
"solar_return_planet_color": "#C62828"
}' \
--output solar_return_2026.svgimport requests
response = requests.post(
"https://api.freeastroapi.com/api/v1/natal/chart/solar-return",
headers={"x-api-key": "YOUR_API_KEY"},
json={
"natal": {
"name": "Maya",
"year": 1990,
"month": 5,
"day": 15,
"hour": 14,
"minute": 30,
"city": "London",
"tz_str": "AUTO",
"format": "svg",
},
"solar_return_year": 2026,
"solar_return_city": "Paris",
"solar_return_tz_str": "AUTO",
"show_inter_aspects": True,
},
)
response.raise_for_status()
with open("solar_return_2026.svg", "wb") as output:
output.write(response.content)A successful SVG request returns 200 image/svg+xml with an inline filename such as solar_return_2026.svg. Set natal.format to png for image/png.
400 for unresolved birth/return locations or invalid timezone normalization.422 for schema errors such as a missing year or partial coordinate pair.