Skip to content
96Astro API

Transit Astrocartography Map

POSTAvailable

POSThttps://api.96astroapi.com/v1/location-astrology/transit-acg-map

A world map image of the planetary lines at any moment, with filters by planet and line.

Credits
1 credit
Input
Date
Output
JSON
Delivery
Direct response
Languages
26 languages; translated term names with labels
Headers
HeaderValue and description
AuthorizationRequiredBearer YOUR_API_KEY

Your sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead.

Content-TypeRequiredapplication/json

The body is JSON.

Idempotency-KeyOptional<unique string>

Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters)

Body · application/json
FieldDescription
datetimestringRequired

Local date and time of the moment, ISO 8601 without offset.

Limits: format local-date-time, pattern ^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(:\d{2}(\.\d{1,6})?)?$

Example: 2026-11-05T12:00:00

timezonestring | nullOptional

IANA time zone, e.g. Asia/Kolkata

Default: null

Example: Asia/Kolkata

utc_offsetstring | nullOptional

Fixed offset such as +05:30

Default: null

Limits: pattern ^[+-]?\d{1,2}(:[0-5]\d)?$

Example: +05:30

planetsarray of string | nullOptional

Only these planets. Default all.

Default: null

Each item one of: SunMoonMercuryVenusMarsJupiterSaturnUranusNeptunePlutoRahuKetu

anglesarray of string | nullOptional

Only these lines. Default all four.

Default: null

Each item one of: ASCDSCMCIC

styleobject | nullOptional

Size, region, theme, palette, labels, legend and pins. Defaults: the classic world map.

Default: null

style.widthintegerOptional

Image width in pixels; the height follows the region's shape.

Default: 1000

Limits: minimum 400, maximum 2400

style.regionstringOptional

A named view. `bounds` overrides it.

Default: world

Allowed values: worldasiaeuropeamericasnorth-americasouth-americaafricaoceaniamiddle-eastindia

style.bounds[number, number, number, number] | nullOptional

Custom view as [west, south, east, north] in degrees, e.g. [60, 5, 100, 40]. West must be less than east.

Default: null

Limits: exactly 4 items

style.themestringOptional

Colour scheme.

Default: light

Allowed values: lightdarkprint

style.palettestringOptional

Planet colours; `colourblind` is safe for colour-vision deficiencies.

Default: default

Allowed values: defaultcolourblind

style.labelsbooleanOptional

Label each line with its planet and angle where it enters the view.

Default: true

style.legendbooleanOptional

Show the planet legend (it wraps onto as many rows as it needs).

Default: true

style.gridbooleanOptional

Show the latitude grid.

Default: true

style.birthplacebooleanOptional

Pin the birthplace (natal maps only).

Default: true

style.citiesarray of objects | nullOptional

Extra places to pin and label, up to 30.

Default: null

Limits: at most 30 items

style.cities[].namestringRequired

Label shown beside the pin.

Limits: 1 to 60 characters

style.cities[].latitudenumberRequired

Limits: minimum -90, maximum 90

style.cities[].longitudenumberRequired

Limits: minimum -180, maximum 180

labelsstringOptional

Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language.

Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur

image_formatstringOptional

Optional, on capabilities that return chart images. svg: the SVG markup. svg_base64: each chart as a `data:image/svg+xml;base64,...` URI. png: every chart in `data` comes as a `data:image/png;base64,...` URI instead of SVG (an object's `svg` field becomes `png`). Free.

Default: svg

Allowed values: svgsvg_base64png

image_widthintegerOptional

Optional, with image_format png: the width of each image in pixels (the height keeps the chart's proportions).

Default: 1000

Limits: minimum 200, maximum 2400

image_themestringOptional

Optional, on capabilities that return chart images. light: the chart's own colours; dark: light ink on a dark surface; print: black on no background (paper, e-ink). Applies to SVG and PNG. Free.

Default: light

Allowed values: lightdarkprint

image_deliverystringOptional

Optional, on capabilities that return chart images. inline: the image in the JSON; url: a short-lived signed URL (`url`, `url_expires_at`) instead, for an <img> tag, fetched with no API key from GET /v1/images/{token}; both: the inline image and the URL. Free.

Default: inline

Allowed values: inlineurlboth

Response · fields in data

Measured from 6 real answers to different inputs: a required field was in every one.

  • lines · array of object
  • images · array of object

Try in Playground →Capability overview

Example request

Example response

200application/json
{
  "data": {
    "lines": [
      {
        "planet": "Jupiter",
        "angle": "MC",
        "theme": "Success, expansion, wealth, recognition, teaching.",
        "segments": [
          [
            [
              5.3416,
              -85
            ],
            [
              5.3416,
              -84
            ],
            [
              5.3416,
              -83
  …

Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.

Error responses

  • 400invalid_request
  • 401invalid_key, expired_key
  • 402payment_required
  • 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
  • 404not_found
  • 409idempotency_conflict
  • 413payload_too_large
  • 422invalid_request, unsupported_language
  • 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
  • 500computation_failed
  • 502unavailable
  • 503unavailable, maintenance, temporarily_unavailable
  • 504deadline_exceeded

Errors are never charged. What each status means and what to do: errors.

Was this page helpful?

Send us feedback

What is it about?