FreeAstroAPI LogoFreeAstroAPI
Back to Guides
Astrology BasicsBy

Chiron's Invisible and Visible Doors (PI and PV): How to Calculate Them with an API

What Chiron's Invisible Door (PI) and Visible Door (PV) are, how the directed Uranus–Saturn midpoint is calculated, and how to get both points in JSON and SVG natal charts with FreeAstroAPI.

Chiron's Invisible Door (PI) and Visible Door (PV) are two calculated points on the axis between Uranus and Saturn. FreeAstroAPI returns them as optional bodies in the natal chart endpoint and draws them on SVG charts, so you do not have to calculate them yourself.

This guide explains what the two points are, shows the exact formula, works through an example and gives ready-to-use API requests.

Where PI and PV come from

The two points come from the French astrologer Catherine Castanier, who set out the method in Chiron et l'axe des Portes (Éditions du Rocher, 2011). French-speaking astrologers call them the porte invisible (PI) and the porte visible (PV), which is where the abbreviations come from.

The idea rests on Chiron's orbit. Chiron travels between Saturn, the outermost planet visible to the naked eye, and Uranus, the first planet that cannot be seen without a telescope. Castanier treats the Saturn–Uranus axis as Chiron's threshold between the visible and the invisible, and places two "doors" on it:

  • The Invisible Door (PI) is read as the place of an unconscious wound.
  • The Visible Door (PV) is read as the opening through which that wound can be worked on and healed.

How much weight to give the doors is an interpretive choice. The API gives you the positions; the reading is up to you and your users.

How the doors are calculated

PI is the directed midpoint from Uranus to Saturn: start at Uranus and go forward through the zodiac (in increasing longitude) until you reach Saturn, then take the point halfway along that arc. PV is the point directly opposite.

PI = (Uranus + ((Saturn − Uranus) mod 360) / 2) mod 360
PV = (PI + 180) mod 360

All values are ecliptic longitudes from 0° to 360°.

Why the direction matters

Any two planets have two midpoints, 180° apart: one on the short arc between them and one on the long arc. Together they form the Uranus–Saturn midpoint axis, so PI and PV always sit on that axis. The direction decides which end is PI.

  • If Saturn is less than 180° ahead of Uranus, PI is the near midpoint.
  • If Saturn is more than 180° ahead of Uranus, PI is the far midpoint, and PV is the near one.

A quick example: Uranus at 100° and Saturn at 300°. Going forward from Uranus to Saturn covers 200°, so PI = 100° + 100° = 200° (20° Libra) and PV = 20° (20° Aries). The near midpoint here is 20°, so a plain "nearest midpoint" calculation would swap the two labels. FreeAstroAPI always uses the directed rule.

Worked example

For a chart cast for 15 May 1990 at 14:30 in New York:

BodyLongitudePosition
Uranus279.177°9°11′ Capricorn
Saturn295.245°25°15′ Capricorn
PI279.177 + (16.068 / 2) = 287.211°17°13′ Capricorn
PV287.211 + 180 = 107.211°17°13′ Cancer

Uranus and Saturn are only 16° apart here, so PI falls between them and PV is on the opposite side of the chart.

Getting PI and PV from the natal chart endpoint

Both points are off by default. Turn them on in POST /api/v1/natal/calculate in either of two ways:

  • set chiron_invisible_door and chiron_visible_door to true, or
  • add "pi" and "pv" to include_features.

include_features also accepts the longer names chiron_invisible_door, chiron_visible_door, invisible_door, visible_door and the French porte_invisible, porte_visible.

curl -X POST "https://api.freeastroapi.com/api/v1/natal/calculate" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "year": 1990,
    "month": 5,
    "day": 15,
    "hour": 14,
    "minute": 30,
    "city": "New York",
    "include_features": ["chiron", "pi", "pv"]
  }'

The doors come back in planets[] next to the other bodies:

{
  "id": "chiron_invisible_door",
  "name": "Chiron Invisible Door",
  "sign": "Cap",
  "sign_id": "capricorn",
  "pos": 17.211,
  "abs_pos": 287.211,
  "retrograde": false,
  "house": 4
},
{
  "id": "chiron_visible_door",
  "name": "Chiron Visible Door",
  "sign": "Can",
  "sign_id": "cancer",
  "pos": 17.211,
  "abs_pos": 107.211,
  "retrograde": false,
  "house": 10
}

A few details worth knowing:

  • Houses. house is only returned when the birth time is known (time_known is true, the default). Without a birth time you still get the sign and degree.
  • Aspects. The doors take part in aspects[] like any other body. Because PV is always exactly opposite PI, the response also contains a PI–PV opposition with a 0° orb. Filter it out if you list aspects to users.
  • No motion. The doors are calculated points, so retrograde is always false, and with include_speed their speed is 0.
  • Sidereal charts. With zodiac_type: "sidereal" the doors are calculated from the sidereal positions of Uranus and Saturn, so they shift by the ayanamsa like everything else.

Reading the doors in code

Pick the two bodies out of planets by id, and drop the built-in PI–PV opposition from the aspect list:

import requests

resp = requests.post(
    "https://api.freeastroapi.com/api/v1/natal/calculate",
    headers={"x-api-key": "YOUR_API_KEY"},
    json={
        "year": 1990, "month": 5, "day": 15,
        "hour": 14, "minute": 30,
        "city": "New York",
        "include_features": ["pi", "pv"],
    },
    timeout=30,
)
chart = resp.json()

bodies = {p["id"]: p for p in chart["planets"]}
pi = bodies["chiron_invisible_door"]
pv = bodies["chiron_visible_door"]
print(f"PI: {pi['pos']:.2f}° {pi['sign_id']}, house {pi.get('house')}")
print(f"PV: {pv['pos']:.2f}° {pv['sign_id']}, house {pv.get('house')}")

DOORS = {"chiron_invisible_door", "chiron_visible_door"}
door_aspects = [
    a for a in chart["aspects"]
    if {a["p1"], a["p2"]} & DOORS and {a["p1"], a["p2"]} != DOORS
]

If you already have Uranus and Saturn longitudes from another source, the calculation is a few lines:

function chironDoors(uranus, saturn) {
  const u = ((uranus % 360) + 360) % 360;
  const s = ((saturn % 360) + 360) % 360;
  const pi = (u + ((((s - u) % 360) + 360) % 360) / 2) % 360;
  const pv = (pi + 180) % 360;
  return { pi, pv };
}

chironDoors(279.177, 295.245); // { pi: 287.211, pv: 107.211 }

Drawing PI and PV on an SVG chart

The natal SVG chart endpoint draws the doors as labelled points, PI and PV. Turn them on in display_settings:

curl -X POST "https://api.freeastroapi.com/api/v1/natal/chart/" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "name": "Example chart",
    "year": 1990,
    "month": 5,
    "day": 15,
    "hour": 14,
    "minute": 30,
    "city": "New York",
    "format": "svg",
    "size": 900,
    "display_settings": {
      "chiron": true,
      "chiron_invisible_door": true,
      "chiron_visible_door": true
    }
  }'
Natal chart wheel for 15 May 1990 in New York with Chiron's Invisible Door (PI) at 17° Capricorn and Visible Door (PV) at 17° Cancer
Natal chart wheel for 15 May 1990 in New York with Chiron's Invisible Door (PI) at 17° Capricorn and Visible Door (PV) at 17° Cancer

PI sits between Uranus and Saturn in Capricorn, and PV is directly across the wheel in Cancer, close to Chiron itself in this chart.

You can also try the doors without writing code: open the Western Chart Designer, and turn on the Invisible Door and Visible Door points.

Summary

  • PI is the directed midpoint from Uranus to Saturn; PV is opposite it.
  • Request them with "pi" and "pv" in include_features, or with the chiron_invisible_door and chiron_visible_door flags.
  • They are returned in planets[] with a sign, a degree and, for timed charts, a house, and they take part in aspects.
  • The SVG chart endpoint draws them when you enable them in display_settings.

See the natal chart documentation for the full request and response schema.

Read next

All guides