Product-updates

Electional Astrology API V1 Launch: Automated Auspicious Timing

V1 of the first Western electional astrology REST API is live. 31 timing factors, 0-100 scoring, calendar heatmaps, sub-second window evaluation. Pick auspicious dates programmatically.

OK

Oleg Kopachovets

CTO & Co-Founder

April 30, 2026
3 min read
237 views
Electional Astrology API V1 launch announcement
Electional Astrology API V1 launch announcement
0%

What shipped

V1 of the Electional Astrology API launched on April 29, 2026. It is the first publicly available REST API for Western electional astrology — the technique of selecting auspicious dates and times for important undertakings (weddings, surgery, business launches, contracts, real-estate closings).

Until now, electional astrology lived entirely in desktop tools (Solar Fire, Janus) or in expensive astrologer consultations. There was no programmatic way to integrate "pick a good day for this" logic into an application.

What's in V1

  • 31 timing factors evaluated per candidate moment, including planetary dignities, void-of-course Moon, Mercury retrograde, malefic angularity, lunar applying aspects, and benefic-on-angle scoring
  • 0-100 score per candidate moment with a category breakdown (benefic strength, malefic weakness, lunar quality, mercurial state, angular condition)
  • Calendar heatmap output — give us a date range and a use case, get back every day in the range with a score, ready to render as a heatmap
  • Use-case presets for weddings, surgery, business launch, contract signing, real-estate purchase, travel start, and generic "important undertaking"
  • Sub-second scoring of a single moment; calendar heatmaps for a 30-day window return in roughly 800ms

Why it matters

Electional timing is the highest-value astrology use case our customers ask for after natal and transit work. Couples planning weddings want a "good" date. Founders want a launch date with Jupiter strong and Mercury moving forward. Real-estate buyers want a closing date that avoids Saturn-on-Moon malefic patterns. Until V1 these were all manual processes that required either a desktop tool or a paid consultation.

Now you can build a "pick a date" calendar widget that surfaces auspicious moments in real time. Wedding-planning apps, business-coaching platforms, surgery scheduling tools, and astrology consultation apps are the natural fits.

How to integrate

Heatmap for a month:

typescript
1const heatmap = await fetch('https://api.astrology-api.io/v1/electional/heatmap', {
2 method: 'POST',
3 headers: { 'Authorization': `Bearer ${process.env.ASTROLOGY_API_KEY}` },
4 body: JSON.stringify({
5 startDate: '2026-06-01',
6 endDate: '2026-06-30',
7 useCase: 'wedding',
8 latitude: 40.7128,
9 longitude: -74.0060,
10 }),
11}).then(r => r.json());
12
13// heatmap.days is an array of { date, score, dominantFactors[] }
14// Render each day with a color graded by score

Single-moment scoring:

typescript
1const score = await fetch('https://api.astrology-api.io/v1/electional/score', {
2 method: 'POST',
3 headers: { 'Authorization': `Bearer ${process.env.ASTROLOGY_API_KEY}` },
4 body: JSON.stringify({
5 moment: '2026-06-15T14:30:00Z',
6 useCase: 'business-launch',
7 latitude: 40.7128,
8 longitude: -74.0060,
9 }),
10}).then(r => r.json());

Where to learn more

Pricing

The Electional endpoint is available on Professional ($37/mo) and above. Heatmap requests count as a single API call regardless of date range size (we batch internally). See /pricing for the full tier table.

What's next

V2 will add Vedic/Muhurta electional scoring, configurable factor weights for custom doctrines, and a webhook trigger that pings your server when an upcoming high-score window approaches. Target ship: Q3 2026.

Feedback welcome via /contact.
Oleg Kopachovets

Oleg Kopachovets

CTO & Co-Founder

Technical founder at Astrology API, specializing in astronomical calculations and AI-powered astrology

More from Astrology API