Developer Documentation

Build the next generation of astrology apps with our high-performance, AI-powered API.

API Documentation by Category

🔐Authentication

All API requests require a valid API key passed in the Authorization header.

# Header format
Authorization: Bearer YOUR_API_KEY

🌐Base URL

All endpoints are prefixed with the API version.

# Production Endpoint
https://api.astro-fusion.com/v1

250+ API Endpoints

Swiss Ephemeris द्वारा संचालित व्यापक वैदिक ज्योतिष गणनाहरू। REST, GraphQL र tRPC सपोर्ट समावेश छ।

🪐Kundali (Birth Chart)

POST
/v1/kundali

Calculate complete birth chart

POST
/v1/astrology/birth_details

Retrieve core birth chart details

POST
/v1/mcp/get-divisional-chart

Generate D1-D60 divisional charts

📅Panchanga

GET
/v1/calculations/panchanga

Today's tithi, nakshatra, yoga

GET
/v1/sweph/sun-times

Sunrise/sunset for any date

GET
/v1/sweph/moon-times

Moonrise/moonset timings

Dasha

POST
/v1/dasha/vimshottari

Vimshottari dasha periods

POST
/v1/astrology/current_vdasha

Current running dasha

GET
/v1/calculations/dasha/:system

Dasha calculation by system

💕Compatibility

POST
/v1/match/kundali

36-point Kundali matching

POST
POST
/v1/astrology/match_percentage

Overall compatibility score

🚀Transit

GET
/v1/transit/current

Current planetary positions

POST
/v1/rashifal/transit-snapshot

Gochar effects on chart

GET
/v1/astrology/planets/extended

Retrograde planet status

Client SDKs

Accelerate your development with our official type-safe SDKs.

TRY

Free Testing Account

Start testing the AstroFusion API immediately without creating an account. Use our public demo key to access selected endpoints like Daily Horoscope and Birth Details.

af_demo_client_key_01(Pre-filled in navbar)