/api/astro/astrocartography/lines/1 creditAstrocartography lines
Every astrocartography line for a birth moment, as coordinates ready to plot on a map. Relocation astrology asks a geographic question rather than a chart one: not where a planet was in the sky, but which places on Earth had it rising, setting, culminating or at the nadir at the moment of birth. Those four curves per planet, drawn on a world map, are the ACG map. For each of twelve bodies you get four lines. The MC and IC lines are meridians, so each is a single longitude. The AC and DC lines are curves, returned as a list of latitude/longitude points you can feed straight into a polyline — every five degrees of latitude by default, adjustable with latitude_step. Curves stop where the body becomes circumpolar, and that is real rather than missing data: above a certain latitude the body never crosses the horizon at all, so there is no rising line to draw there. The cut-off differs per planet because it depends on the declination. latitude and longitude are optional on this endpoint alone. An ACG line is fixed by the birth MOMENT — the formulas use right ascension, declination and sidereal time and nothing else — so requiring a birthplace would imply it changes the answer when it does not. Use /api/astro/astrocartography/relocate/ when you want the lines near a particular place.
https://yogataraapi.prahlad.app/api/astro/astrocartography/lines/Authentication
Send your key in the X-API-Key header. Keys are server-side credentials — never put one in browser JavaScript or a mobile app.
X-API-Key: yt_live_a1b2c3d4_…
Content-Type: application/jsonRequest fields
| Field | Type | Required | Notes |
|---|---|---|---|
| date_time | string (date-time) | required | The moment to calculate for, ISO 8601. ALWAYS include an offset or a trailing Z - a value with no zone is read as Asia/Kolkata (UTC+05:30), not UTC, and can return the previous day's result with a 200. '2026-09-01T06:00:00Z' and '2026-09-01 06:00:00' are different instants and give different answers. |
| timezone_as_float | number (double) | required | UTC offset of the place, in hours, as a decimal. Example: 5.5 for India (UTC+05:30), -5 for New York in winter, 5.75 for Nepal. This is NOT validated against date_time - if the two disagree you get a successful response for the wrong moment, so derive both from the same source. Use the offset in force on that date, not today's: a summer birth in a country with daylight saving needs the summer offset. min -12 · max 14 |
| bodies | array | optional | Defaults to all twelve. Narrow it to keep responses small. |
| keys | array | optional | Which calculations to return, as a list of names. See the key table for this endpoint; an unrecognised name rejects the whole request. One call costs one credit however many keys you ask for, so request everything you need at once rather than making several calls. |
| latitude | number (double) | optional | Latitude of the place, in decimal degrees. Positive is north, negative is south. Example: 26.9124 for Jaipur, 40.7128 for New York. Minutes and seconds are not accepted - convert first. |
| latitude_step | number (double) | optional | Degrees of latitude between points on the AC/DC curves. min 1 · max 15 |
| longitude | number (double) | optional | Longitude of the place, in decimal degrees. Positive is east, negative is west. Example: 75.7873 for Jaipur, -74.0060 for New York. Note the sign: a missing minus puts New York in China. |
Example request
curl -X POST https://yogataraapi.prahlad.app/api/astro/astrocartography/lines/ \
-H "X-API-Key: $OCCULT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"date_time":"2026-09-01 06:00:00","timezone_as_float":5.5,"latitude":26.9124,"longitude":75.7873}'Response
{
"_truncated": true,
"_note": "Response shortened for the catalogue.",
"preview": "{\"data\": {\"julian_day_ut\": 2461284.52083333, \"greenwich_sidereal_time_deg\": 347.695999, \"latitude_step_deg\": 5.0, \"lines\": [{\"object\": \"sun\", \"right_ascension_deg\": 160.236053, \"declination_deg\": 8.340118, \"zenith_latitude_deg\": 8.340118, \"asc\": {\"kind\": \"curve\", \"line_type\": \"AC\", \"points\": [{\"latitude_deg\": 80.0, \"longitude_deg\": 26.29657}, {\"latitude_deg\": 75.0, \"longitude_deg\": 49.370647}, {\"latitude_deg\": 70.0, \"longitude_deg\": 58.788063}, {\"latitude_deg\": 65.0, \"longitude_deg\": 64.21646}, {\"latitude_deg\": 60.0, \"longitude_deg\": 67.830598}, {\"latitude_deg\": 55.0, \"longitude_deg\": 70.454876}, {\"latitude_deg\": 50.0, \"longitude_deg\": 72.478252}, {\"latitude_deg\": 45.0, \"longitude_deg\": 74.110147}, {\"latitude_deg\": 40.0, \"longitude_deg\": 75.474118}, {\"latitude_deg\": 35.0, \"longitude_deg\": 76.648265}, {\"latitude_deg\": 30.0, \"longitude_deg\": 77.684777}, {\"latitude_deg\": 25.0, \"longitude_deg\": 78.620234}, {\"latitude_deg\": 20.0, \"longitude_deg\": 79.481424}, {\"latitude_deg\": 15.0, \"longitude_deg\": 80.288829}, {\"latitude_deg\": 10.0, \"longitude_deg\": 81.058826}, {\"latitude_deg\": 5.0, \"longitude_deg\": 81.805171}, {\"latitude_deg\": 0.0, \"longitude_deg\": 82.540054}, {\"latitude_deg\": -5.0, \"longitude_deg\": 83.274938}, {\"latitude_deg\": -10.0, \"longitude_deg\": 84.021282}, {\"latitude_deg\": -15.0, \"longitude_deg\": 84.79128}, {\"latitude_deg\": -20.0, \"longitude_deg\": 85.598684}, {\"latitude_deg\": -25.0, \"longitude_deg\": 86.459874}, {\"latitude_deg\": -30.0, \"longitude_deg\": 87.395332}, {\"latitude_deg\": -35.0, \"longitude_deg\": 88.431844}, {\"latitude_deg\": -40.0, \"longitude_deg\": 89.60599}, {\"latitude_deg\": -45.0, \"longitude_deg\": 90.969961}, {\"latitude_deg\": -50.0, \"longitude_deg\": 92.601856}, {\"latitude_deg\": -55.0, \"longitude_deg\": 94.625233}, {\"latitude_deg\": -60.0, \"longitude_deg\": 97.24951}, {\"latitude_deg\": -65.0, \"longitude_deg\": 100.863648}, {\"latitude_deg\": -70.0, \"longitude_deg\": 106.292045}, {\"latitude_deg\": -75.0, \"longitude_deg\": 115.709461}, {\"latitude_deg\": -80.0, \"longitude_deg\": 138.783538}]}, \"dsc\": {\"kind\": \"curve\", \"line_type\": \"DC\", \"points\": [{\"latitude_deg\": 80.0, \"longitude_deg\": -41.216462}, {\"latitude_deg\": 75.0, \"longitude_deg\": -64.290539}, {\"latitude_deg\": 70.0, \"longitude_deg\": -73.707955}, {\"latitude_deg\": 65.0, \"longitude_deg\": -79.136352}, {\"latitude_deg\": 60.0, \"longitude_deg\": -82.75049}, {\"latitude_deg\": 55.0, \"longitude_deg\": -85.374767}, {\"latitude_deg\": 50.0, \"longitude_deg\": -87.398144}, {\"latitude_deg\": 45.0, \"longitude_deg\": -89.030039}, {\"latitude_deg\": 40.0, \"longitude_deg\": -90.39401}, {\"latitude_deg\": 35.0, \"longitude_deg\": -91.568156}, {\"latitude_deg\": 30.0, \"longitude_deg\": -92.604668}, {\"latitude_deg\": 25.0, \"longitude_deg\": -93.540126}, {\"latitude_deg\": 20.0, \"longitude_deg\": -94.401316}, {\"latitude_deg\": 15.0, \"longitude_deg\": -95.20872}, {\"latitude_deg\": 10.0, \"longitude_deg\": -95.978718}, {\"latitude_deg\": 5.0, \"longitude_deg\": -96.725062}, {\"latitude_deg\": 0.0, \"longitude_deg\": -97.459946}, {\"latitude_deg\": -5.0, \"longitude_deg\": -98.194829}, {\"latitude_deg\": -10.0, \"longitude_deg\": -98.941174}, {\"latitude_deg\": -15.0, \"longitude_deg\": -99.711171}, {\"latitude_deg\": -20.0, \"longitude_deg\": -100.518576}, {\"latitude_deg\": -25.0, \"longitude_deg\": -101.379766}, {\"latitude_deg\": -30.0, \"longitude_deg\": -102.315223}, {\"latitude_deg\": -35.0, \"longitude_deg\": -103.351735}, {\"latitude_deg\": -40.0, \"longitude_deg\": -104.525882}, {\"latitude_deg\": -45.0, \"longitude_deg\": -105.889853}, {\"latitude_deg\": -50.0, \"longitude_deg\": -107.521748}, {\"latitude_deg\": -55.0, \"longitude_deg\": -109.545124}, {\"latitude_deg\": -60.0, \"longitude_deg\": -112.169402}, {\"latitude_deg\": -65.0, \"longitude_deg\": -115.78354}, {\"latitude_deg\": -70.0, \"longitude_deg\": -121.211937}, {\"latitude_deg\": -75.0, \"longitude_deg\": -130.629353}, {\"latitude_deg\": -80.0, \"longitude_deg\": -153.70343}]}, \"mc\": {\"kind\": \"meridian\", \"line_type\": \"MC\", \"longitude_deg\": 172.540054}, \"ic\": {\"kind\": \"meridian\", \"line_type\": \"IC\", \"longitude_deg\": -7.459946}"
}Captured from a real call using the exact request above. Results sit under data.
Errors
Metering errors return { "error": "…", "message": "<code>", "is_error": true }. Show error to people and branch on message. See the error reference.