કન્ટેન્ટ પર જાઓ
API key મેળવો
પશ્ચિમીસેન્ડબોક્સ

Western Annual Profections API

"operation": "western-profections"

જન્મ કુંડળી માટે વાર્ષિક પ્રોફેક્શન બતાવો.

POST/v1/astrology/calculate
  • દર મહિને 500 મફત કૉલ
  • કાર્ડની જરૂર નથી
  • નિષ્ફળ ગણતરીઓ મફત છે

રિક્વેસ્ટ

ગણતરી કરો

તમારી API key સાથે તમારા સર્વર પરથી "operation": "western-profections" ને POST /v1/astrology/calculate પર મોકલો.

આ નમૂના પેરામીટર parameters હેઠળ મોકલો: name, year, month, day, hour, minute, time_known, city, lat, lng, tz_str, annual_profection. રિક્વેસ્ટમાં બતાવેલું birth માળખું વાપરો. અલગ ફીલ્ડમાં, year/month/day સ્થાનિક કૅલેન્ડરના પૂર્ણાંક છે અને hour/minute સ્થાનિક 24-કલાકનો સમય છે. lat/lng દશાંશ અંશ છે અને tz_str એ IANA ટાઇમ ઝોન છે, અથવા જ્યાં બતાવ્યું હોય ત્યાં AUTO. અંદરના datetime અને location ઑબ્જેક્ટ નમૂના પ્રમાણે હોય છે. જ્યાં લાગુ પડે ત્યાં રિક્વેસ્ટ કૃત્રિમ ઇનપુટ વાપરે છે. જરૂરી હોય ત્યાં નમૂનામાં વૈકલ્પિક સેટિંગ્સ સામેલ છે.

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters":{"name":"Live Docs Example","year":1990,"month":1,"day":1,"hour":12,"minute":0,"time_known":true,"city":"London","lat":51.5074,"lng":-0.1278,"tz_str":"Europe/London","annual_profection":{"year":2024,"settings":{"zodiac_type":"Tropical","orb_policy":{"default_orb_deg":6,"by_aspect_deg":{}}}}},"operation":"western-profections"}'

રિસ્પોન્સ

બદલામાં શું મળે છે.

દૃષ્ટાંતરૂપ રિસ્પોન્સનો અંશ

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "western-profections",
    "result": {
      "annual_profection": {
        "target_year": 2026,
        "age_at_start": 36,
        "period": {
          "start": "2026-05-15T12:00:00Z",
          "end": "2027-05-15T12:00:00Z"
        }
      }
    }
  },
  "calculated": true
}

પશ્ચિમી

પરિણામ વડે બનાવો

data.result માંથી સક્રિય ભાવ અને સમય સ્વામી બતાવો. ઉદાહરણ ફીલ્ડ: data.result.annual_profection.

એક સફળ કૉલ એક કન્ટેન્ટ રિક્વેસ્ટ વાપરે છે. સેન્ડબોક્સ અને લાઇવ રિક્વેસ્ટના વપરાશના કુલ આંકડા અલગ હોય છે. નિષ્ફળ ગણતરીઓની રિક્વેસ્ટ પાછી મળે છે.