By topic / Flutter and mobile
Integrations
Astrology API for Flutter, Android and iOS apps
A mobile app should never hold the secret key. The app sends the birth details to your backend or a serverless function, which adds the key and calls the API, then returns the JSON for your screens. Flutter uses `package:http` (or our `astro96_api` package in Dart server code); Android uses OkHttp, Ktor or Retrofit; iOS uses URLSession.
Ideas
What people build with it
A Flutter horoscope app
Kundli screens in an Android matrimony app
Daily panchang notifications
Reference
The endpoints
- Planet PositionsSidereal longitude, sign and sign lord, nakshatra, nakshatra lord and pada, house, speed, retrograde and combust flags for the Ascendant, the nine grahas and Uranus, Neptune and Pluto.POST/v1/vedic-charts/planet-positions 3 credits
- Chart Image StylesChart drawings as SVG in one style per call (north, south, east or western) for the charts you name (D1 to D300, chalit, chandra_kundali, kp, karakamsha, swamsha).POST/v1/vedic-charts/chart-image-styles 3 credits
- Moon-Sign Horoscope: DailyDaily transit-based forecast for each of the twelve Moon signs: a summary, highlights, score, ratings, lucky number and colour, and a remedy.POST/v1/predictions/sign-horoscope-daily 1 credit
- Daily PanchangThe full panchang for one day at one place: limbs, Sun and Moon times, calendar, auspicious and inauspicious periods, choghadiya, hora, festivals, balas, sunrise chart, doshas and more.POST/v1/panchang/daily-panchang 1 credit
- Kundli Matching (Ayu Milan)Ashtakoot matching from two births: koota scores and total, Manglik for both with cancellations, Papasamya, Rajju and Vedha, and classical longevity (Ayurdaya) spans for each.POST/v1/matching/ayu-milan 3 credits
Code
Your first call
final res = await http.post(
Uri.parse('https://your-backend.example.com/api/chart'),
headers: {'Content-Type': 'application/json'},
body: jsonEncode({'datetime': '1990-10-18T14:30:00', 'timezone': 'Asia/Kolkata', 'latitude': 28.6139, 'longitude': 77.209}),
);
final chart = jsonDecode(res.body);FAQ
Common questions
Is there a Dart SDK?
Yes: astro96_api on pub.dev (dart pub add astro96_api or flutter pub add astro96_api). Use it in your backend or other server-side Dart, never inside the shipped app, because the app must not hold the key; the app itself can call your backend with package:http.
Guides
Read next
Start building with Flutter and mobile
5,000 free trial credits. No card required.

