Overview
One API for Vedic astrology, Western astrology, panchanga, compatibility and chart rendering — precise structured data, unified pricing.
AstroAsk is a calculation API. It returns structured astronomical and astrological data — real JSON numbers at full double precision, computed with Swiss Ephemeris — for developers building astrology products: matchmaking apps, daily-content platforms, research tools, or AI agents.
What you get
- 78 endpoints, one subscription. Vedic (planets, houses, nakshatra, dasha, doshas, panchanga, muhurta), Western (natal, synastry, transits, progressions), compatibility scoring and chart images — every call costs exactly one request, regardless of endpoint.
- Granular by design. Every endpoint answers one question —
/moon-sign,/dasha/current,/dosha/manglik— so you request exactly what you need and the meter stays honest. For a full birth chart,/batchruns up to 50 calls in one HTTP request. - Full precision, real types. Longitudes like
331.43152605600557as JSON numbers — never rounded, never stringified. - Charts as images. North Indian charts and Western wheels as SVG or PNG, ready to embed.
- 21 languages. Pass
langand localized names arrive in the same structured shape.
Base URL
https://api.astroask.app/v1Every route is also available under the /api/v1 prefix — the two mounts are byte-identical aliases.
Response envelope
Every endpoint uses the same envelope:
{ "success": true, "data": { } }{ "success": false, "error": "INVALID_DATE", "message": "Date must be ISO 8601 format: 1990-01-15T10:30:00" }Where to start
- Quickstart — first call in under five minutes.
- Authentication — keys, rotation, limits.
- API reference — every endpoint, generated from the live OpenAPI spec so it can never drift from the code.