The Vedika Western Astrology API computes tropical-zodiac charts and returns them as structured JSON: natal charts, synastry between two people, composite and Davison relationship charts, transits, secondary progressions, solar-arc directions, solar and lunar returns, astrocartography, essential dignities, midpoints, fixed stars and more.
It is part of the Vedika astrology API, so the same base URL, key and wallet also cover Vedic and KP charts. Positions are computed by Vedika Ephemeris, Vedika's own astronomical engine (Apache-2.0); its agreement with NASA JPL DE440 is published body by body on the ephemeris benchmarks page.
| Endpoint | Returns |
|---|---|
POST /v2/western/natal-chart | Natal Chart (Tropical) |
POST /v2/western/synastry | Synastry Chart |
POST /v2/western/synastry-aspects | Synastry Aspects |
POST /v2/western/composite | Composite Chart |
POST /v2/western/davison | Davison Relationship Chart |
POST /v2/western/transit-chart | Transit Chart |
POST /v2/western/transit-aspects | Transit Aspects |
POST /v2/western/progressions | Secondary Progressions |
POST /v2/western/solar-arc-directions | Solar Arc Directions |
POST /v2/western/solar-return | Solar Return Chart (alias of varshaphal) |
POST /v2/western/lunar-return | Lunar Return Chart |
POST /v2/western/astrocartography/lines | Astrocartography Lines |
POST /v2/western/essential-dignities | Essential Dignities Table |
POST /v2/western/midpoints | Midpoint Analysis |
POST /v2/western/fixed-stars | Fixed Stars |
POST /v2/western/relocated | Relocated Chart |
There are dozens more routes, including lots, harmonics, profections, primary directions, zodiacal releasing and the void-of-course Moon. The API reference lists every route.
Send a birth profile (datetime, latitude, longitude and timezone) for each person. Auth is a Bearer API key. The keyless sandbox mirrors the production routes.
curl -X POST https://api.vedika.io/v2/western/synastry \
-H "Authorization: Bearer vk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"person1":{"datetime":"1990-05-15T10:30:00+05:30","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata"},"person2":{"datetime":"1992-09-21T18:15:00+05:30","latitude":19.076,"longitude":72.8777,"timezone":"Asia/Kolkata"}}'
See the quickstart and the API reference.
Self-serve plans are Starter $12/month, Professional $60/month, Business $120/month and Enterprise $240/month. Flagship is custom-priced by contract. AI answers are priced per query and vary with the request; each response reports the amount charged. There is no free production tier, and the sandbox is a mock. Accounts that have never paid can start one 14-day Professional trial. Terms are on the pricing page.
Use it for Western astrology apps, relationship and compatibility tools, forecasting dashboards and astrologer software that need tropical charts as data. For Vedic and KP charts see the Kundali API and the KP Astrology API.
It covers Western tropical astrology: natal charts, synastry, composite and Davison charts, transits, secondary progressions, solar-arc directions, solar and lunar returns, astrocartography and essential dignities, all returned as structured JSON.
Synastry compares two natal charts and reports the aspects between them. A composite chart is built from the midpoints of the two charts. A Davison chart is cast for the midpoint in time and place between the two births. The API has routes for all three.
Chart math is computed by Vedika Ephemeris, Vedika's own astronomical engine (Apache-2.0). Its agreement with NASA JPL DE440 is published per body, with method and limits, at vedika.io/benchmarks. For the Sun through Pluto the mean error is under one arcsecond; the Moon is looser (mean 2.20 arcseconds, largest 11.52). The benchmark compares ecliptic longitudes only; it does not test houses, dashas, matching scores or AI answers.
Yes. A keyless mock sandbox at vedika.io/sandbox mirrors production routes, so you can call it with no API key. There is no free production tier. Accounts that have never paid can start one 14-day Professional trial: you authorise the Professional auto-debit and receive $5 of credit that ends with the trial. Nothing is charged for the plan on day 0, and Professional ($60/month, plus GST in India) is charged on day 14 unless you cancel at least 48 hours before the trial ends.
Self-serve plans are Starter $12/month, Professional $60/month, Business $120/month and Enterprise $240/month; Flagship is custom-priced by contract. AI answers are priced per query and vary with the request, and every response reports the exact amount charged. Current limits are on vedika.io/pricing.
Astrology API · Kundali API · KP Astrology API · Matrimony API · Human Design API · Documentation · API reference · Pricing