---
title: "Local Space Azimuth Lines (Go Engine)"
method: POST
path: "/acg/local-space"
tags: ["ACG"]
---

# Local Space Azimuth Lines (Go Engine)

`POST /acg/local-space`

## Request

- Base URL: `https://api.openephemeris.com`
- URL: `https://api.openephemeris.com/acg/local-space`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-OpenEphemeris-API-Key`
  - API key in header `X-API-Key`
  - API key in header `X-Service-Key`

Compute local space azimuth/altitude lines from observer location.

## Request body

- ACGLocalSpaceRequestPayload: Payload for local space azimuth calculations.
  - `bodies` string[]: Explicit body name selection; narrows the standard roster this endpoint otherwise returns in full. Supported: Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron, Pholus, Ceres, Pallas, Juno, Vesta, MeanNode, TrueNode, MeanLilith, OscuLilith. The eight Uranian (Hamburg School) hypothetical points (Cupido, Hades, Zeus, Kronos, Apollon, Admetos, Vulkanus, Poseidon) are accepted too, but only when named here: they are opt-in and never appear in the default roster. SouthNode and TrueSouthNode are derived in place from the topocentric Mean/True Node; Vertex is cast from the `natal` birthplace and is the one roster body omitted when the request carries no `natal` block. There is no `group` selector on this endpoint, so the Hermetic lots are out of reach and are rejected. Earth is rejected too: its body id collides with the id this endpoint gives the Ascendant, so it cannot be represented alongside the angle lines. The four cardinal angle lines (Ascendant, Midheaven, Descendant, IC) are the local-space frame rather than bodies, and are always returned regardless of this field. Aliases: NorthNode/Rahu/Node -> MeanNode; TrueNorthNode/TrueRahu -> TrueNode; Ketu -> SouthNode; Vulcanus -> Vulkanus. The extended catalog is accepted too, by name and only when named: the sb441 main-belt asteroids (Hygiea, Eunomia, Psyche, Europa (asteroid), Cybele, Sylvia, Thisbe, Camilla, Iris, Davida, Euphrosyne, Interamnia), the trans-Neptunian objects (Eris, Sedna, Makemake, Haumea, Quaoar, Orcus, Ixion, Varuna, Chaos, Gonggong, Salacia), the extra centaurs (Asbolus, Hylonome, Nessus, Chariklo) and about forty further asteroids (Eros (asteroid), Sappho, Lilith (asteroid), Fortuna, Pandora, Diana, Hekate and more) - GET /catalogs/bodies lists them all. The asteroid Eros is `Eros (asteroid)`: plain `Eros` is the Hermetic lot. Each extended body named adds 1 credit to the request (capped at +20); the standard roster, the Uranian set and the lots are covered by the base price. Extended bodies are never in a group's default roster.
  - `epoch` string, required: ISO-8601 datetime of the birth or event. Either put the zone on the value itself as a 'Z' or ±HH:MM suffix ("1987-07-15T09:01:00-05:00"), or send the naive local wall-clock time ("1987-07-15T09:01:00") and name its zone in the sibling `timezone` field. A zone-less clock time with no `timezone` is rejected with 400 ambiguous_datetime and is NEVER read as UTC. A date-only value resolves to 12:00 UTC.
  - `jd` number, double: Julian Day (alternative to epoch)
  - `lat` number: Analysis target latitude. Canonical spelling; alias of 'target_lat'. Required as part of a complete coordinate pair -- a request with no complete pair is rejected rather than defaulting to 0,0. Distinct from 'query_lat', which is the optional proximity query point.
  - `line_distance_km` number, nullable: Distance to project local space lines in kilometers. Defaults to approximately 5550km (50 degrees).
  - `lon` number: Analysis target longitude. Canonical spelling; alias of 'target_lon'. Required as part of a complete coordinate pair -- a request with no complete pair is rejected rather than defaulting to 0,0. Distinct from 'query_lon', which is the optional proximity query point.
  - `natal` ACGNatalRequest: Natal geographical data for ACG offset calculation.
    - `birthplace_alt_m` number
    - `birthplace_lat` number: Birthplace latitude. Both birthplace coordinates must be supplied together -- a natal object with an incomplete pair is rejected rather than defaulting to 0,0. Distinct from the analysis target coordinates on the enclosing payload.
    - `birthplace_lon` number: Birthplace longitude. Both birthplace coordinates must be supplied together -- a natal object with an incomplete pair is rejected rather than defaulting to 0,0. Distinct from the analysis target coordinates on the enclosing payload.
    - `houses_system` string
  - `options` ACGOptionsRequest: Configuration options for AstroCartography calculations.
    - `angle_epoch` string: Decouple the rotational frame from the position epoch: body positions come from epoch/jd as usual, but ACG line angles are projected against this epoch's GMST. Accepts an ISO-8601 UTC datetime or a bare Julian Day. Empty/omitted = angles use the position epoch (default, unchanged). Use to overlay a secondary chart on a base frame — e.g. Human Design Design-register lines on the natal map (positions at the Design epoch, angles at the natal epoch), matching the hd_expression heatmap convention; also progressed/return overlays. Positions and obliquity stay on the position epoch, so every line is rigidly translated in longitude by the GMST difference.
    - `aspect_angles` number[]: Angles to compute aspects for
    - `asteroid_groups` ACGAsteroidGroup[]: Filter by asteroid group. Main belt and fixed stars are explicitly prohibited.
    - `include_aspects` boolean: Include aspect lines
    - `include_hd_gate` boolean: Enrich every emitted line feature with the Human Design gate its body's ecliptic longitude carries (properties.hd_gate: gate/line/color/tone/base). Purely additive — does not change the body set or geometry. Default false. Combine with bodies:["Earth"] or group:"hd" for the HD-13 body set.
    - `include_hd_lot_gates` boolean: With include_hd_gate, also attach the Human Design gate to Hermetic Lot lines (Fortune, Spirit, and the rest of the lot suite), computed from the lot's own ecliptic longitude in the personality register. Lots are left out of HD enrichment by default; no effect without include_hd_gate. Purely additive. Default false.
    - `include_lines` boolean: CCG only: emit MC/IC/AC/DC GeoJSON line geometry per snapshot (identical to /acg/power-lines, with ccg_hybrid progression applied per body). Default false. No effect on /acg/natal-lines.
    - `include_midpoints` boolean: Include planetary midpoint lines
    - `include_parans` boolean: Include parans (latitude crossings)
    - `line_types` string[]: Line types to include. Supported: MC, IC, AC, DC, ASP. Aliases: POWER -> MC+IC+AC+DC; ASPECT/SPECT -> ASP.
    - `paran_lat_cutoff` number, double: Maximum absolute latitude (in degrees) for paran crossing points. Crossings whose intersection latitude exceeds this value (north or south) are excluded from the response. When null or omitted, no cutoff is applied (current behavior preserved). Range: 0-90.
    - `refraction_correction` boolean: Apply atmospheric refraction to AC/DC
    - `resolution` integer: Resolution slices for mapping
  - `query_lat` number, nullable: Latitude of the query point. When supplied with query_lon, each local-space line is annotated with its great-circle min distance.
  - `query_lon` number, nullable: Longitude of the query point. When supplied with query_lat, each local-space line is annotated with its great-circle min distance.
  - `response_format` 'json' | 'geojson', nullable: Response format ('json' or 'geojson'). Defaults to 'json'.
  - `target_lat` number: Analysis target latitude. Accepted alias of 'lat' (matching /acg/ccg); ignored when 'lat' is present.
  - `target_lon` number: Analysis target longitude. Accepted alias of 'lon' (matching /acg/ccg); ignored when 'lon' is present.
  - `timezone` TimezoneInput: Timezone input using IANA names or UTC offsets.
    - `fold_preference` 'earlier' | 'later': Which occurrence to use when the naive local datetime falls in a fall-back fold (a repeated hour): 'earlier' (default — first occurrence) or 'later'. Only meaningful for naive datetimes; the response reports datetime_status=ambiguous_fold either way so the ambiguity can be surfaced to the user.
    - `iana_name` string: IANA timezone name
    - `time_standard` 'auto' | 'standard' | 'daylight': How to interpret a naive local datetime when this zone is applied. 'auto' (default): resolve through the historical-correction overlay where one covers the region/era, then IANA tzdata. 'standard': force the zone's standard (non-daylight) offset — for callers who KNOW the recorded time was standard time regardless of what tzdata believes. 'daylight': force standard+1h. Forcing either marks the resolution tz_confidence=client_override. Ignored when the datetime carries its own Z/±HH:MM suffix or when utc_offset is used.
    - `utc_offset` number: UTC offset in hours

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openephemeris/apis/open-ephemeris-api.md) · [All operations](https://skmtc.dev/openephemeris/apis/open-ephemeris-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openephemeris/apis/open-ephemeris-api/revisions/d195a769cb89?raw)
