REST API

Standard HTTP JSON API for universal compatibility.

Try with Your API Key

The cURL example below updates automatically when you set your AstroFusion Token in the navbar above.

cURL (panchanga example)
curl -X GET 'https://api.astro-fusion.com/external/v1/calculations/panchanga?date=1984-08-19T00:00:00Z&latitude=27.7172&longitude=85.3240' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Base URL

https://api.astro-fusion.com/external/v1

Authentication

Include your API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Endpoints

POST/calculations/kundali
GET/calculations/panchanga
GET/horoscope/{period}