કન્ટેન્ટ પર જાઓ
API key મેળવો
ઉપયોગી સાધનોસેન્ડબોક્સ

Monthly Moon Timeline API

"operation": "moon-timeline"

ચંદ્ર કળાઓનું માસિક કૅલેન્ડર બનાવો.

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

રિક્વેસ્ટ

ગણતરી કરો

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

પૂર્ણાંક year (1900–2100) અને month (1–12) આપો. વૈકલ્પિક tz_str એ IANA ટાઇમ ઝોન છે અને ડિફૉલ્ટ UTC છે.

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters":{"year":2026,"month":11},"operation":"moon-timeline"}'

રિસ્પોન્સ

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

ચકાસાયેલા સેન્ડબોક્સ રિસ્પોન્સનો અંશ

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "moon-timeline",
    "engineVersion": "mantrilo-vedic-1",
    "result": {
      "year": 2026,
      "month": 11,
      "month_name": "November",
      "days_in_month": 30,
      "calendar_basis": "utc",
      "calendar_timezone": "Etc/UTC",
      "days": [
        {
          "calendar_date": "2026-11-01",
          "timestamp": "2026-11-01T00:00:00.000Z",
          "phase": {
            "name": "Last Quarter",
            "phase_angle_deg": 258.88902488043,
            "illumination": 0.597462390575014,
            "age_days": 21.339852731481482,
            "distance_km": 369932.52874942805,
            "is_waxing": false
          },
          "next_phases": {
            "new_moon": "2026-11-09T07:02:42.392Z",
            "first_quarter": "2026-11-17T11:48:27.140Z",
            "full_moon": "2026-11-24T14:54:04.191Z",
            "last_quarter": "2026-11-01T20:28:58.794Z"
          }
        }
      ]
    }
  },
  "calculated": true
}

ઉપયોગી સાધનો

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

data.result.days ને calendar_date, phase.name, illumination (0–1) અને next_phases સાથે રેન્ડર કરો.

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