AstroWay/api v2.202.7 · hi
सभी सिस्टम सामान्य हैं
// astrology api · POST /v1/horoscope/daily

AI राशिफल API

यह endpoint हमारे LLM gateway को कॉल करके एक दिए गए तिथि पर zodiac sign के लिए लिखित दैनिक राशिफल बनाता है। यह horoscope टेक्स्ट, एक disclaimer, वह model जो इसे बनाता है, और आउटपुट की language लौटाता है। calculation endpoints के विपरीत, यह deterministic result की बजाय जनरेटेड guidance है।

Endpoint
POST /v1/horoscope/daily
Cost
50 credits
Latency
~1245 ms
Tier
Tier 3
// 01 / What it computes

AI राशिफल API

एक zodiac sign और वैकल्पिक तिथि मिलने पर, endpoint एक prompt बनाता है और उसे हमारे LLM gateway के माध्यम से language model को भेजता है, जो छोटा दैनिक राशिफल लिखता है। प्रतिक्रिया में जनरेटेड horoscope टेक्स्ट, साथ में एक disclaimer, उस model का identifier जो टेक्स्ट बनाता है, और language parameter के द्वारा स्थानीयकृत language शामिल है - यदि omitted हो तो sensible default लेता है। क्योंकि एक language model रास्ते में है, यह endpoint arithmetic और ephemeris routes से अलग व्यवहार करता है: यह slower है, आमतौर पर one to three seconds लेता है, और टेक्स्ट freshly generated guidance है, reproducible calculation नहीं, इसलिए दो समान inputs वाले कॉल अलग-अलग शब्दों में पढ़ाई दे सकते हैं। weekly, monthly और yearly horoscopes sibling endpoints हैं जो वही gateway और shape साझा करते हैं।

// 02 / Live request

POST/v1/horoscope/daily

curl -X POST https://api.astroway.info/v1/horoscope/daily \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "sign": "taurus",
  "date": "2026-06-15",
  "language": "en"
}'
Response (excerpt)
{
  "ok": true,
  "data": {
    "horoscope": "Today favours steady progress…",
    "disclaimer": "For entertainment purposes…",
    "model": "gemini-2.5-flash",
    "language": "en"
  }
}
// 03 / Parameters

Parameters

nametypeRequired
sign string yes The zodiac sign to generate the horoscope for, e.g. "taurus".
date string (YYYY-MM-DD) no An optional target date in YYYY-MM-DD format; defaults to the current day when omitted.
language string no An optional ISO language code, e.g. "en" or "uk", controlling the language of the generated text.
// 04 / When to use it

When to use it

जब तू ready-to-display राशिफल कॉपी चाहता है बिना अपना कंटेंट पाइपलाइन लिखे या बनाए। यह daily-content surfaces जैसे push notifications, email digests, app home screens, widgets के लिए उपयुक्त है - जहाँ हर sign के लिए हर दिन एक freshly worded reading प्रोडक्ट है। हमेशा returned disclaimer को टेक्स्ट के साथ रेंडर कर और language parameter के द्वारा ज़रूरी language माँग, client-side अनुवाद नहीं। क्योंकि आउटपुट non-deterministic है और कॉल में model latency है, एक बार जनरेट होने पर sign-and-date reading को cache कर, हर पेज व्यू पर कॉल न कर, और one-to-three-second रिस्पॉन्स के लिए बजट रख। लंबी अवधि के लिए weekly, monthly या yearly sibling endpoints पर स्विच कर।

// 05 / Notes

Notes

यह generated guidance है, deterministic calculation नहीं - एक ही inputs अलग-अलग शब्दों में टेक्स्ट दे सकते हैं, और response में disclaimer अंत-उपयोगकर्ताओं को दिखाने के लिए है। model फ़ील्ड उस model का नाम देता है जो gateway ने चुना, जो समय के साथ बदल सकता है। लगभग one to three seconds की latency अपेक्षित है क्योंकि request path में language model है; math endpoints बहुत तेज़ जवाब देते हैं।

Try the दैनिक राशिफल API

Grab a key and make your first call in under a minute.

99.9% SLA · पेड प्लान · 30 दिन स्थिति →