Transit API — Where everything is, and what it is about to do.
Retrograde countdowns, full moon alerts, eclipse maps, and the transits landing on a specific person's chart - the things that keep an astrology product alive between visits. Fourteen endpoints cover the tropical side properly, with Placidus cusps, essential dignity, minor aspects and worldwide eclipse visibility. Fifteen more cover sidereal, and one covers KP. Events arrive already phrased, already timed, already placed in past, present or future, in both UTC and the reader's own clock.
Placidus, Koch, Whole Sign · Sun through Pluto · Chiron, Lilith, Part of Fortune
- Western in full Fourteen tropical endpoints, not a sidereal engine with the ayanamsa off.
- Eclipse visibility Which countries and cities actually see it, filterable to one country.
- Timed windows When an aspect enters orb, when it is exact, when it leaves.
- Progress built in Days elapsed, days remaining and percent through, already counted.
- Both clocks Every moment in UTC and local, any IANA time zone.
- Swiss Ephemeris Positions that match the reference tables your users will check.
The sky, already turned
into something you can publish.
Mercury retrograde countdowns. Full moon alerts. Transit hits on a birth chart. Eclipse maps. These are the pages and push notifications that keep an astrology product alive between visits, and none of them need you to touch an ephemeris.
Retrograde trackers
- What is retrograde right now, and until when
- Each period comes with how far through it we are
- Days elapsed and days left, already worked out
- A ready-made progress bar for the most searched question in astrology
Moon phase widgets
- Current phase with illumination as a percentage
- The sign and exact degree the Moon is sitting in
- Next new moon and next full moon, timed
- A whole lunation traced from its new moon forward
Personal transit reports
- Which transits are hitting a user's own chart
- When each one begins, peaks and passes
- Applying or separating, with orb and strength
- The feature that turns a free reader into a subscriber
Eclipse maps and coverage
- Which countries and cities will actually see it
- Start, maximum and end times with total duration
- Filter to a single country for local coverage
- Positions given in both tropical and sidereal at once
Daily sky snapshots
- Every planet's sign, degree and house right now
- Essential dignity — domicile, exaltation, detriment, fall
- Part of Fortune and Black Moon Lilith alongside
- House cusps in whichever system your audience uses
Aspect feeds
- Major and minor aspects with orb and strength
- Timed windows — when an aspect enters, peaks and leaves
- Between transiting planets, or against a birth chart
- Enough to write a daily column from
Push notification engines
- One call returns everything coming in the next month
- Ingresses, stations, eclipses and phases, merged in order
- Choose your window, from a week to a year ahead
- Filter to the events your audience cares about
Ephemeris tables
- A full month of daily positions in one response
- Tropical for Western work, sidereal for Vedic
- The classic reference page, generated rather than scanned
- Evergreen pages that quietly earn traffic for years
Chart wheels on demand
- A tropical wheel with glyphs, cusps and aspect lines
- North and South Indian squares for Vedic audiences
- Rendered and cached, delivered as a plain image link
- No drawing library anywhere in your codebase
Swiss Ephemeris underneath, so the positions match the reference tables your users will check them against.
A tropical transit API
that stands on its own.
Fourteen endpoints on the Western side alone — not a sidereal engine with the ayanamsa switched off. Placidus cusps, essential dignity, minor aspects, timed windows, mundane eclipse visibility. Everything a Western practitioner would expect to find, and several things they would not.
Positions and angles
- Sun through Pluto, with Chiron
- House placement in your choice of system
- Twelve cusps plus the four angles
- Part of Fortune and Black Moon Lilith
Dignity
- Domicile, exaltation, detriment and fall
- Judged the Western way, not translated from Vedic
- Returned with the position, not as a second call
- The layer most transit APIs simply skip
Aspects, three ways
- A snapshot of what is in aspect right now
- Timed windows between two moving planets
- Transits landing on a natal chart, dated
- Majors and minors, with orb and strength
Events with timing
- Retrograde and direct stations, to the minute
- Sign ingress windows for every planet
- Combustion periods near the Sun
- All of it forward-looking, not just today
Eclipses, two kinds
- Positional, for personal and transit work
- Mundane, with worldwide city-level visibility
- Dozens of countries listed per eclipse
- Filter to one country for local coverage
Moon and ephemeris
- Phases with illumination and exact degree
- Full lunations traced from new moon forward
- A month of daily positions in one call
- A rendered tropical wheel when you want the picture
Serving India too?
It is the same key.
Fifteen more endpoints on the Vedic side, and one for KP. Not a translation layer — sign-based graha drishti where that is the right model, degree orbs where it is not, and nakshatras treated as the sidereal concept they are.
Three levels of detail
- Basic for a quick where-are-the-grahas call
- Advanced adds dignity, avastha and combustion
- Extended adds Sanskrit names and navamsa
- Pay for the weight you actually need
Nakshatra and drishti
- Nakshatra transits with pada and lord
- Parashari sign aspects, done properly
- Degree-orb aspects when you want them instead
- Ayanamsa and node type both your choice
Panchang in the timeline
- Ekadashi, purnima and amavasya alongside transits
- Merged into one chronological feed
- Choose your window and your event types
- Everything a daily notification needs, in one call
KP and charts
- Placidus cusps with KP sub-lords
- Ruling planets for the moment
- D1 and D9 images, North and South styles
- Rendered on our side, cached, linked
An event you can publish,
not a number to interpret.
Anyone can return a longitude. The work is everything that has to happen before a longitude becomes a sentence on a page.
Written for you
- Events arrive with a title already phrased
- Signs named at both ends of a movement
- Degrees given readably, not as raw decimals
- Drop it into a feed without a formatting pass
Positioned in time
- Past, current or upcoming, already labelled
- How many days away, already counted
- How far through a period we are, as a percentage
- Your progress bars come pre-filled
In the user's own time
- Every moment given in UTC and local
- Any IANA time zone accepted
- No conversion bugs on your side
- Durations formatted as well as counted
Thirty endpoints. Tropical and sidereal, Western dignity and Vedic drishti, KP cusps and mundane eclipse maps. One key, one JSON shape, one bill.
A tropical API that stands on its own
House cusps in your choice of system with all four angles, Western essential dignity returned alongside the position rather than as a second call, major and minor aspects with orb and strength, Part of Fortune and Black Moon Lilith, and a rendered circular wheel. The layers most transit APIs skip are the ones a Western practitioner checks first.
Events, not just positions
A longitude is a number. What you can publish is a retrograde that runs until October, an aspect that peaks on Thursday, an eclipse fifty-nine countries will see. Everything comes back with a phrased title, both endpoints of the movement named, the duration counted, and its place in time already labelled.
The transits hitting one person
Send a birth chart and a date range and get every transit that lands on it, with entry, exact and exit timing. Telling someone what the sky is doing is a free feature. Telling them what it is doing to them is the one they subscribe for.
One integration, both traditions
The tropical and sidereal sides mirror each other endpoint for endpoint, so the same call shape serves a reader in Chicago and a reader in Chennai. Ayanamsa and node type are yours to choose, nakshatras are treated as the sidereal concept they are, and KP gets its own cusps and ruling planets.
All Transit APIs endpoints
Every endpoint returns structured JSON with documented fields, validated coordinates, and IANA timezone IDs.
Western · Positions & Angles
4 EPTropical positions with house placement and essential dignity, twelve cusps with all four angles, a rendered wheel, and a full month of daily positions.
- POST /api/v3/transit/western/planets
- POST /api/v3/transit/western/cusps
- POST /api/v3/transit/western/charts
- POST /api/v3/transit/western/ephemeris
Western · Aspects
3 EPA snapshot of what is in aspect now, timed windows between two moving planets, and transits landing on a natal chart with entry, exact and exit timing.
- POST /api/v3/transit/western/aspects
- POST /api/v3/transit/western/transit-aspects
- POST /api/v3/transit/western/natal-transit-aspects
Western · Events & Eclipses
7 EPRetrograde and station windows, sign ingresses, combustion, moon phases, positional eclipses, and mundane eclipses with worldwide city-level visibility.
- POST /api/v3/transit/western/retrograde
- POST /api/v3/transit/western/ingress
- POST /api/v3/transit/western/moon-phases
- POST /api/v3/transit/western/eclipses-mundane
- POST /api/v3/transit/western/upcoming
Sidereal · Positions
6 EPThree levels of weight - basic for a quick snapshot, advanced for dignity and avastha, extended for Sanskrit names and navamsa - plus charts and a monthly ephemeris.
- POST /api/v3/transit/vedic/basic
- POST /api/v3/transit/vedic/advanced
- POST /api/v3/transit/vedic/extended
- POST /api/v3/transit/vedic/charts
- POST /api/v3/transit/vedic/ephemeris
Sidereal · Nakshatra & Events
9 EPNakshatra transits with pada and lord, Parashari drishti, degree-orb natal aspects, retrogrades, ingresses, combustion, eclipses, moon phases, and a merged timeline that can carry panchang events too.
- POST /api/v3/transit/vedic/nakshatra
- POST /api/v3/transit/vedic/aspects
- POST /api/v3/transit/vedic/natal-transit-aspects
- POST /api/v3/transit/vedic/retrograde
- POST /api/v3/transit/vedic/upcoming
KP
1 EPPlacidus cusps with KP sub-lords on planets and cusps, plus the ruling planets for the moment.
- POST /api/v3/transit/kp/planets
Ask what is retrograde. Get a progress bar.
Real response, trimmed. The phrasing, the timing and the arithmetic are all done before it reaches you.
curl -X POST https://starsapi.com/api/v3/transit/western/retrograde \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{"query_type":"current"}'
{
"query": { "zodiac": "tropical", "motion": "all" },
"statuses": [
{
"title": "Mercury Direct in Cancer → Scorpio",
"planet": "Mercury",
"motion_label": "Direct",
"station_type": "Station Direct",
"start_utc": "2026-07-23 22:57:51",
"end_utc": "2026-10-24 07:12:42",
"start_sign": "Cancer",
"start_degrees": "16:18:59",
"end_sign": "Scorpio",
"end_degrees": "20:58:44",
"duration_days": 92,
"progress_pct": 25.1,
"days_elapsed": 23,
"days_remaining": 70
}
]
}
Planetary transit API — questions before you build.
Is there a free planetary transit API I can try without a card?
How do I get current planetary positions through an API?
Is there a Mercury retrograde API for building a tracker?
Can I get transits to a natal chart with exact dates?
Is there a moon phase API with the current phase and next full moon?
Can I find out which countries will see an eclipse?
Is there an ephemeris API for daily planetary positions?
How accurate are the calculations?
Does the API support both tropical and sidereal zodiacs?
Can I get everything coming up in one call for notifications?
Can I get transit chart images without drawing them myself?
Do transit calls need birth details or time zone handling?
Every domain.
One subscription.
Plans from $29/mo. Vedic, Western, Numerology, Transits, Horoscopes, AI Astrologers and Reports, with the Location API included.