API אסטרולוגיה

יצירת מפת לידה, מיקומי כוכבי לכת, תחזיות מעבר יומיות/שבועיות/חודשיות, תאימות סינסטרית, תחזיות חיים, שלבי ירח, מדדי ירח ונתוני לוח ירח.

99.9 % זמן פעילות
תגובה
20 req/s
0.05 קרדיטים / בקשה

Natal Chart


POST https://api.yeb.to/v1/astrology/natal-chart
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date string כן Date of birth in YYYY-MM-DD format
birth_time string אופציונלי Time of birth in HH:MM (24h). Enables rising sign & house placements
location string אופציונלי Birth location (city name or coordinates). Improves time zone & latitude accuracy
language string אופציונלי Language for the AI reading (ISO 639-1, e.g. en, es). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/natal-chart \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "birth_date": "1990-04-15",
  "birth_time": "14:30",
  "location": "New York",
  "language": "en"
}'

דוגמת תגובה

{
  "computed_data": {
    "sun": { "sign": "aries", "degree": 25.4 },
    "moon": { "sign": "cancer", "degree": 12.7 },
    "rising": { "sign": "leo", "degree": 3.2 },
    "planets": {
      "mercury": { "sign": "pisces", "degree": 18.9 },
      "venus": { "sign": "taurus", "degree": 7.3 },
      "mars": { "sign": "capricorn", "degree": 22.1 }
    },
    "aspects": [
      { "planet_a": "sun", "planet_b": "moon", "type": "square", "orb": 2.3 }
    ]
  },
  "reading": {
    "sun_sign": "Your Aries Sun gives you a pioneering spirit...",
    "moon_sign": "With Moon in Cancer, your emotional world is rich...",
    "rising_sign": "Leo rising presents a confident, warm exterior...",
    "key_aspects": "The Sun-Moon square creates dynamic tension...",
    "overall": "Your chart reveals a bold personality..."
  },
  "response_code": 200,
  "response_time_ms": 2450
}
{"error":"birth_date is required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Natal Chart

astrology/natal-chart 0.0500 credits

Parameters

API Key
body · string · required
Birth Date
body · string · required
Birth Time
body · string
Location
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Planetary Positions


POST https://api.yeb.to/v1/astrology/planetary-positions
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date string אופציונלי Date in YYYY-MM-DD format. Either birth_date or date is required
date string אופציונלי Date in YYYY-MM-DD format. Either birth_date or date is required
birth_time string אופציונלי Time in HH:MM (24h) for more precise positions
location string אופציונלי City name or coordinates for latitude/longitude corrections

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/planetary-positions \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "date": "2026-02-20"
}'

דוגמת תגובה

{
  "sun": { "sign": "pisces", "degree": 1.23, "retrograde": false },
  "moon": { "sign": "scorpio", "degree": 15.67, "retrograde": false },
  "mercury": { "sign": "aquarius", "degree": 28.45, "retrograde": false },
  "venus": { "sign": "aries", "degree": 5.12, "retrograde": false },
  "mars": { "sign": "gemini", "degree": 18.34, "retrograde": false },
  "jupiter": { "sign": "cancer", "degree": 11.89, "retrograde": false },
  "saturn": { "sign": "pisces", "degree": 22.56, "retrograde": false },
  "response_code": 200,
  "response_time_ms": 120
}
{"error":"birth_date or date is required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Planetary Positions

astrology/planetary-positions 0.0050 credits

Parameters

API Key
body · string · required
Birth Date
body · string
Date
body · string
Birth Time
body · string
Location
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Daily Transit


POST https://api.yeb.to/v1/astrology/daily-transit
פרמטרסוגנדרשתיאור
api_key string כן Your API key
sign string כן Zodiac sign (lowercase): aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces
date string אופציונלי Date in YYYY-MM-DD format. Default: today
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/daily-transit \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "sign": "aries",
  "date": "2026-02-20"
}'

דוגמת תגובה

{
  "computed_data": {
    "sign": "aries",
    "period": "daily",
    "date": "2026-02-20"
  },
  "reading": {
    "overview": "Mars in your sign brings assertive energy...",
    "love": "Venus trine your Sun...",
    "career": "Mercury supports clear thinking...",
    "key_transit": "Mars conjunct natal Sun",
    "energy_level": "high"
  },
  "response_code": 200,
  "response_time_ms": 1850
}
{"error":"sign is required for generic transit forecasts","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Daily Transit

astrology/daily-transit 0.0200 credits

Parameters

API Key
body · string · required
Zodiac Sign
body · string · required
Date
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Weekly Transit


POST https://api.yeb.to/v1/astrology/weekly-transit
פרמטרסוגנדרשתיאור
api_key string כן Your API key
sign string כן Zodiac sign (lowercase): aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/weekly-transit \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "sign": "aries"
}'

דוגמת תגובה

{
  "computed_data": {
    "sign": "aries",
    "period": "weekly"
  },
  "reading": {
    "overview": "This week brings a surge of creative energy as Venus enters your fifth house...",
    "highlights": [
      "Mon: Mercury trine Jupiter opens doors for negotiations",
      "Wed: Mars sextile Venus favors romantic connections",
      "Fri: Sun conjunct Neptune heightens intuition"
    ],
    "challenge_day": "Thursday",
    "best_day": "Saturday"
  },
  "response_code": 200,
  "response_time_ms": 2100
}
{"error":"sign is required for generic transit forecasts","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Weekly Transit

astrology/weekly-transit 0.0200 credits

Parameters

API Key
body · string · required
Zodiac Sign
body · string · required
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Monthly Transit


POST https://api.yeb.to/v1/astrology/monthly-transit
פרמטרסוגנדרשתיאור
api_key string כן Your API key
sign string כן Zodiac sign (lowercase): aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces
month string אופציונלי Month in YYYY-MM format. Default: current month
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/monthly-transit \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "sign": "aries",
  "month": "2026-02"
}'

דוגמת תגובה

{
  "computed_data": {
    "sign": "aries",
    "period": "monthly",
    "month": "2026-02"
  },
  "reading": {
    "overview": "February brings transformative energy to your career sector...",
    "career": "Jupiter in your tenth house supports ambitious goals...",
    "love": "Venus enters Pisces mid-month, softening your approach to romance...",
    "health": "Mars energy is high but watch for burnout around the 18th...",
    "key_dates": ["Feb 5", "Feb 14", "Feb 22"]
  },
  "response_code": 200,
  "response_time_ms": 2340
}
{"error":"sign is required for generic transit forecasts","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Monthly Transit

astrology/monthly-transit 0.0200 credits

Parameters

API Key
body · string · required
Zodiac Sign
body · string · required
Month
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Natal Daily Transit


POST https://api.yeb.to/v1/astrology/natal-daily-transit
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date string כן Date of birth in YYYY-MM-DD format
birth_time string אופציונלי Time of birth in HH:MM (24h). Improves accuracy of transit aspects
location string אופציונלי Birth location (city name or coordinates)
date string אופציונלי Target date in YYYY-MM-DD. Default: today
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/natal-daily-transit \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "birth_date": "1990-04-15",
  "birth_time": "14:30",
  "location": "New York",
  "date": "2026-02-20"
}'

דוגמת תגובה

{
  "computed_data": {
    "natal_chart": {
      "sun": { "sign": "aries", "degree": 25.4 }
    },
    "transits": [
      {
        "transit": "mars",
        "natal": "sun",
        "aspect": "conjunction",
        "orb": 1.2
      }
    ]
  },
  "reading": {
    "overview": "Today features a powerful Mars-Sun conjunction activating your natal chart...",
    "most_significant": "Mars conjunct natal Sun - expect a surge of energy and assertiveness...",
    "advice": "Channel this dynamic energy into physical activity or ambitious projects..."
  },
  "response_code": 200,
  "response_time_ms": 2680
}
{"error":"birth_date is required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Natal Daily Transit

astrology/natal-daily-transit 0.0500 credits

Parameters

API Key
body · string · required
Birth Date
body · string · required
Birth Time
body · string
Location
body · string
Date
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Natal Weekly Transit


POST https://api.yeb.to/v1/astrology/natal-weekly-transit
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date string כן Date of birth in YYYY-MM-DD format
birth_time string אופציונלי Time of birth in HH:MM (24h). Improves accuracy of transit aspects
location string אופציונלי Birth location (city name or coordinates)
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/natal-weekly-transit \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "birth_date": "1990-04-15",
  "birth_time": "14:30",
  "location": "New York"
}'

דוגמת תגובה

{
  "computed_data": {
    "natal_chart": {
      "sun": { "sign": "aries", "degree": 25.4 }
    },
    "transits": []
  },
  "reading": {
    "overview": "This week your natal chart is activated by several key transits...",
    "day_by_day": {
      "monday": "Venus sextile natal Mercury enhances communication...",
      "wednesday": "Mars square natal Moon may stir emotional tension..."
    },
    "focus": "Relationships and personal boundaries are the main themes this week..."
  },
  "response_code": 200,
  "response_time_ms": 2920
}
{"error":"birth_date is required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Natal Weekly Transit

astrology/natal-weekly-transit 0.0500 credits

Parameters

API Key
body · string · required
Birth Date
body · string · required
Birth Time
body · string
Location
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Life Forecast


POST https://api.yeb.to/v1/astrology/life-forecast
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date string כן Date of birth in YYYY-MM-DD format
birth_time string אופציונלי Time of birth in HH:MM (24h)
location string אופציונלי Birth location (city name or coordinates)
months integer אופציונלי Forecast duration: 3–12 months. Default: 6
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/life-forecast \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "birth_date": "1990-04-15",
  "birth_time": "14:30",
  "location": "New York",
  "months": 6
}'

דוגמת תגובה

{
  "computed_data": {
    "months": 6,
    "start": "2026-02",
    "end": "2026-07",
    "major_transits": []
  },
  "reading": {
    "overview": "The next six months bring significant shifts in your professional and personal life...",
    "monthly_themes": {
      "2026-02": "Saturn trine natal Sun stabilizes career foundations...",
      "2026-03": "Jupiter enters your seventh house opening partnership doors..."
    },
    "key_periods": []
  },
  "response_code": 200,
  "response_time_ms": 4120
}
{"error":"months must be between 3 and 12","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Life Forecast

astrology/life-forecast 0.0800 credits

Parameters

API Key
body · string · required
Birth Date
body · string · required
Birth Time
body · string
Location
body · string
Months
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Synastry


POST https://api.yeb.to/v1/astrology/synastry
פרמטרסוגנדרשתיאור
api_key string כן Your API key
birth_date_a string כן Person A date of birth in YYYY-MM-DD format
birth_date_b string כן Person B date of birth in YYYY-MM-DD format
birth_time_a string אופציונלי Person A time of birth in HH:MM (24h)
birth_time_b string אופציונלי Person B time of birth in HH:MM (24h)
location_a string אופציונלי Person A birth location (city name or coordinates)
location_b string אופציונלי Person B birth location (city name or coordinates)
language string אופציונלי Language for the AI reading (ISO 639-1). Default: en

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/synastry \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "birth_date_a": "1990-04-15",
  "birth_date_b": "1992-08-03",
  "birth_time_a": "14:30",
  "birth_time_b": "09:15",
  "location_a": "New York",
  "location_b": "London"
}'

דוגמת תגובה

{
  "computed_data": {
    "person_a": { "sun": { "sign": "aries", "degree": 25.4 } },
    "person_b": { "sun": { "sign": "leo", "degree": 12.1 } },
    "cross_aspects": [
      { "planet_a": "sun_a", "planet_b": "sun_b", "type": "trine", "orb": 1.3 }
    ],
    "scores": {
      "overall": 85,
      "romance": 90,
      "communication": 78,
      "longevity": 82
    }
  },
  "reading": {
    "overview": "This is a highly compatible pairing with strong fire-sign harmony...",
    "strengths": [
      "Sun-Sun trine creates natural understanding and mutual respect",
      "Venus-Mars aspects generate strong physical chemistry"
    ],
    "challenges": [
      "Moon square Moon may cause emotional misunderstandings",
      "Mercury opposition requires patience in daily communication"
    ],
    "advice": "Focus on giving each other space during emotional disagreements..."
  },
  "response_code": 200,
  "response_time_ms": 3540
}
{"error":"birth_date_a and birth_date_b are required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Synastry

astrology/synastry 0.0500 credits

Parameters

API Key
body · string · required
Birth Date A
body · string · required
Birth Date B
body · string · required
Birth Time A
body · string
Birth Time B
body · string
Location A
body · string
Location B
body · string
Language
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Moon Phase


POST https://api.yeb.to/v1/astrology/moon-phase
פרמטרסוגנדרשתיאור
api_key string כן Your API key
date string אופציונלי Date in YYYY-MM-DD format. Default: today

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/moon-phase \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "date": "2026-02-20"
}'

דוגמת תגובה

{
  "date": "2026-02-20",
  "phase_name": "Waxing Crescent",
  "illumination_pct": 23.5,
  "moon_age_days": 3.4,
  "moon_sign": "aries",
  "response_code": 200,
  "response_time_ms": 45
}
{"error":"Invalid date format. Use YYYY-MM-DD","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Moon Phase

astrology/moon-phase 0.0050 credits

Parameters

API Key
body · string · required
Date
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Lunar Metrics


POST https://api.yeb.to/v1/astrology/lunar-metrics
פרמטרסוגנדרשתיאור
api_key string כן Your API key
date string אופציונלי Date in YYYY-MM-DD format. Default: today

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/lunar-metrics \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "date": "2026-02-20"
}'

דוגמת תגובה

{
  "date": "2026-02-20",
  "phase_name": "Waxing Crescent",
  "phase_emoji": "\ud83c\udf12",
  "illumination_pct": 23.5,
  "moon_age_days": 3.4,
  "moon_sign": "aries",
  "distance_km": 375420,
  "next_full_moon": "2026-03-03",
  "next_new_moon": "2026-03-19",
  "is_waxing": true,
  "response_code": 200,
  "response_time_ms": 52
}
{"error":"Invalid date format. Use YYYY-MM-DD","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Lunar Metrics

astrology/lunar-metrics 0.0050 credits

Parameters

API Key
body · string · required
Date
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Moon Calendar


POST https://api.yeb.to/v1/astrology/moon-calendar
פרמטרסוגנדרשתיאור
api_key string כן Your API key
start_date string כן Start date in YYYY-MM-DD format
end_date string אופציונלי End date in YYYY-MM-DD. Default: start_date + 30 days. Max range: 31 days
location string אופציונלי Location for moonrise/moonset times (city name or coordinates)

דוגמה

curl -X POST https://api.yeb.to/v1/astrology/moon-calendar \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "start_date": "2026-02-01",
  "end_date": "2026-02-28"
}'

דוגמת תגובה

{
  "start_date": "2026-02-01",
  "end_date": "2026-02-28",
  "days": [
    {
      "date": "2026-02-01",
      "phase_name": "Waxing Gibbous",
      "illumination_pct": 82.3,
      "moon_sign": "cancer"
    },
    {
      "date": "2026-02-02",
      "phase_name": "Waxing Gibbous",
      "illumination_pct": 89.1,
      "moon_sign": "leo"
    }
  ],
  "events": [
    { "date": "2026-02-12", "event": "Full Moon", "sign": "leo" },
    { "date": "2026-02-27", "event": "New Moon", "sign": "pisces" }
  ],
  "response_code": 200,
  "response_time_ms": 180
}
{"error":"start_date is required","code":422}

קודי תגובה

קודתיאור
200 Successהבקשה עובדה בהצלחה.
400 Bad Requestאימות קלט נכשל.
401 Unauthorizedמפתח API חסר או שגוי.
403 Forbiddenמפתח לא פעיל או לא מורשה.
429 Rate Limitיותר מדי בקשות.
500 Server Errorכשל בלתי צפוי.

Moon Calendar

astrology/moon-calendar 0.0050 credits

Parameters

API Key
body · string · required
Start Date
body · string · required
End Date
body · string
Location
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

API אסטרולוגיה — Practical Guide

A comprehensive guide to the Astrology API: natal chart generation with AI readings, planetary positions, daily/weekly/monthly transit forecasts, personalized natal transits, long-term life forecasts, synastry compatibility analysis, and lunar data endpoints. Learn which endpoints return raw astronomical data and which include AI-powered interpretations.

#What the Astrology API does

The Astrology API provides 12 specialized endpoints covering the full spectrum of astrological computation and interpretation. From natal chart calculations with AI-powered readings to raw planetary position data, transit forecasts, synastry compatibility analysis, and detailed lunar metrics — everything an astrology app, horoscope service, or wellness platform needs.

#Endpoints at a glance

Endpoint What it does AI Credits
natal-chart Full natal chart with sun, moon, rising, planets, aspects & AI reading AI 0.05
planetary-positions Raw planetary positions (sign, degree, retrograde) for any date Data 0.005
daily-transit Generic daily transit forecast by zodiac sign AI 0.02
weekly-transit Generic weekly transit forecast by zodiac sign AI 0.02
monthly-transit Generic monthly transit forecast by zodiac sign AI 0.02
natal-daily-transit Personalized daily transits compared against natal chart AI 0.05
natal-weekly-transit Personalized weekly transits compared against natal chart AI 0.05
life-forecast Long-term personalized forecast (3–12 months) with major transit analysis AI 0.08
synastry Full synastry compatibility analysis between two charts with scores AI 0.05
moon-phase Current moon phase, illumination, age, and sign (data only) Data 0.005
lunar-metrics Detailed moon metrics: distance, next full/new moon, waxing/waning (data only) Data 0.005
moon-calendar Daily moon data and events for a date range up to 31 days (data only) Data 0.005

#Natal charts & birth data

A natal chart (birth chart) maps the positions of the Sun, Moon, planets, and zodiac signs at the exact moment and location of birth. The natal-chart endpoint calculates all of this and returns both the raw computed data and an AI-generated interpretation.

  • Sun sign: Core personality and life direction
  • Moon sign: Emotional world and inner self
  • Rising sign (Ascendant): How others perceive you (requires birth time)
  • Planetary positions: Mercury, Venus, Mars, Jupiter, Saturn, and outer planets
  • Aspects: Angular relationships between planets (conjunction, trine, square, opposition, sextile)

#POST /v1/astrology/natal-chart

  • Best for: Full birth chart generation with personalized AI interpretation
  • Required: birth_date (YYYY-MM-DD)
  • Optional: birth_time (HH:MM), location (city name or coordinates), language
  • Returns: Computed planetary data + AI reading (sun sign, moon sign, rising sign, key aspects, overall analysis)

#POST /v1/astrology/planetary-positions

  • Best for: Raw astronomical data for any date — no AI processing
  • Required: birth_date or date (YYYY-MM-DD)
  • Returns: Sign, degree, and retrograde status for Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn
  • Use case: Build your own chart renderer, populate dashboards, power custom interpretations

#Transit forecasts

Transits describe the current movement of planets through the zodiac and how they interact with natal chart positions. The API provides two categories: generic transits (by zodiac sign) and personalized natal transits (compared to your birth chart).

#Generic transits (by sign)

These endpoints produce horoscope-style readings for a zodiac sign. No birth data needed — just pass the sign parameter.

  • daily-transit — Today’s forecast covering love, career, and energy level
  • weekly-transit — Week overview with highlights, best day, and challenge day
  • monthly-transit — Month outlook with career, love, health themes and key dates

#Personalized natal transits

These endpoints compare current planetary positions against your actual natal chart for highly personalized readings. They require birth_date at minimum.

  • natal-daily-transit — Exact transit-to-natal aspects for today, with the most significant aspect highlighted
  • natal-weekly-transit — Day-by-day personalized outlook for the coming week
  • life-forecast — Long-range forecast covering 3 to 12 months with monthly themes and key periods

#Synastry & compatibility

The synastry endpoint compares two natal charts to analyze relationship compatibility. It calculates cross-aspects between both charts and produces numerical scores alongside AI-powered interpretation.

  • Cross-aspects: How Person A’s planets interact with Person B’s (conjunctions, trines, squares, etc.)
  • Scores: Overall compatibility, romance, communication, and longevity scores (0–100)
  • Interpretation: AI reading of strengths, challenges, and practical advice
  • Required: birth_date_a and birth_date_b
curl -X POST "https://api.yeb.to/v1/astrology/synastry" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_KEY",
    "birth_date_a": "1990-04-15",
    "birth_date_b": "1992-08-03",
    "birth_time_a": "14:30",
    "birth_time_b": "09:15",
    "location_a": "New York",
    "location_b": "London"
  }'

#Moon phase & lunar data

Three data-only endpoints provide comprehensive lunar information without AI processing, making them fast and cost-effective for real-time displays:

#POST /v1/astrology/moon-phase

  • Returns: Phase name, illumination percentage, moon age in days, moon sign
  • Optional: date (defaults to today)
  • Use case: Widgets, gardening apps, spiritual/wellness platforms

#POST /v1/astrology/lunar-metrics

  • Returns: Everything in moon-phase plus distance in km, next full/new moon dates, waxing/waning flag
  • Use case: Astronomy apps, tide calculations, detailed lunar dashboards

#POST /v1/astrology/moon-calendar

  • Returns: Daily moon data (phase, illumination, sign) and significant events (full moon, new moon) for a date range
  • Required: start_date
  • Limits: Maximum 31 days per request; end_date defaults to start + 30 days
  • Use case: Calendar views, planting guides, event planning tools

#Quick start

# Generate a natal chart
curl -X POST "https://api.yeb.to/v1/astrology/natal-chart" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_KEY",
    "birth_date": "1990-04-15",
    "birth_time": "14:30",
    "location": "New York"
  }'
# Get today's Aries horoscope
curl -X POST "https://api.yeb.to/v1/astrology/daily-transit" \
  -H "Content-Type: application/json" \
  -d '{"api_key": "YOUR_KEY", "sign": "aries"}'
# Check today's moon phase (data only)
curl -X POST "https://api.yeb.to/v1/astrology/moon-phase" \
  -H "Content-Type: application/json" \
  -d '{"api_key": "YOUR_KEY"}'
# Compatibility check between two people
curl -X POST "https://api.yeb.to/v1/astrology/synastry" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_KEY",
    "birth_date_a": "1990-04-15",
    "birth_date_b": "1992-08-03"
  }'

#Key parameters explained

ParamUsed inFormatWhy it matters
api_key All Via header (X-API-Key) or body param Authentication & credit deduction
birth_date natal-chart, planetary-positions, natal-daily-transit, natal-weekly-transit, life-forecast, synastry YYYY-MM-DD Core input for chart calculation
birth_time natal-chart, planetary-positions, natal-daily-transit, natal-weekly-transit, life-forecast, synastry HH:MM (24h) Enables rising sign and house placement calculation
location natal-chart, planetary-positions, natal-daily-transit, natal-weekly-transit, life-forecast, synastry, moon-calendar City name or coordinates Time zone and latitude correction for precision
sign daily-transit, weekly-transit, monthly-transit Lowercase zodiac name (e.g. aries, taurus) Determines which sign’s forecast to generate
language All AI endpoints ISO 639-1 code (e.g. en, es, fr) Language of the AI-generated reading
date planetary-positions, daily-transit, moon-phase, lunar-metrics YYYY-MM-DD Query a specific date (defaults to today)
months life-forecast Integer 3–12 (default 6) How far into the future the forecast extends

#Valid zodiac signs

Pass these lowercase values for the sign parameter:

aries, taurus, gemini, cancer, leo, virgo,
libra, scorpio, sagittarius, capricorn, aquarius, pisces

#Data-only vs AI-powered endpoints

FeatureData-onlyAI-powered
Endpoints planetary-positions, moon-phase, lunar-metrics, moon-calendar natal-chart, daily/weekly/monthly-transit, natal-daily/weekly-transit, life-forecast, synastry
Response time Fast (under 500ms) Slower (1–5s depending on complexity)
Credit cost Lower Higher (AI processing)
Language param Not applicable Supported — AI generates reading in chosen language
Use case Dashboards, widgets, raw data feeds Horoscope apps, readings, content generation

#Real-world use cases

#Daily horoscope app

Challenge: Serve personalized daily horoscopes to millions of users
Solution: Use daily-transit for generic forecasts (cache per sign per day), and natal-daily-transit for premium personalized readings

#Dating app compatibility

Challenge: Show astrological compatibility between matched users
Solution: synastry endpoint returns scores for romance, communication, and longevity — perfect for compatibility badges and detailed reports

#Wellness & planning platform

Challenge: Integrate moon phase data into a wellness/gardening/planning app
Solution: moon-calendar for monthly views, moon-phase for today’s widget, lunar-metrics for detailed astronomical data

#Content generation

Challenge: Generate weekly astrology content for a blog or newsletter
Solution: Loop through 12 signs with weekly-transit or monthly-transit, use the language parameter for multilingual publishing

#Best practices

  1. Cache generic transits: Daily/weekly/monthly forecasts are the same for all users of a sign — cache them aggressively
  2. Always send birth_time when available: Rising sign and house placements make readings significantly more accurate
  3. Use data-only endpoints for dashboards: planetary-positions, moon-phase, and lunar-metrics are fast and cheap
  4. Batch moon calendar requests: One moon-calendar call covers up to 31 days, avoiding repeated single-day lookups
  5. Use the language parameter: AI endpoints support multilingual output — generate readings in the user’s locale
  6. Handle rate limits: Implement exponential backoff for 429 responses
  7. Store birth data securely: Birth date + time + location is sensitive personal data — encrypt at rest

#Error handling

  • 401: Invalid or missing API key
  • 402: Insufficient credits
  • 422: Missing required parameters or invalid format (e.g. invalid date, unknown sign)
  • 429: Rate limit exceeded
  • 500: Server error (retry with exponential backoff)
// Common error responses
{"error": "birth_date is required", "code": 422}
{"error": "sign is required for generic transit forecasts", "code": 422}
{"error": "months must be between 3 and 12", "code": 422}
{"error": "Invalid API key", "code": 401}

#API Changelog

2026-02-20
v1.0 Launch: 12 endpoints covering natal charts, planetary positions, daily/weekly/monthly transits (generic and personalized), life forecasts, synastry compatibility, and three lunar data endpoints. AI-powered readings with multilingual support alongside fast data-only endpoints.

שאלות נפוצות

נקודות קצה של נתונים בלבד (planetary-positions, moon-phase, lunar-metrics, moon-calendar) מחזירות JSON טהור ללא קריאת AI ועולות 0.005 קרדיטים. נקודות קצה AI (natal-chart, transits, synastry, life-forecast) כוללות נתונים מחושבים בתוספת קריאה מיוצרת.

שעת הלידה אופציונלית אך מומלצת. בלעדיה ה-API לא יכול לחשב מזל עולה או מיקומי בתים. מיקומי כוכבי לכת ואספקטים עדיין מחושבים מתאריך הלידה בלבד.

מעברים כלליים (daily/weekly/monthly-transit) מתארים מה השמיים הנוכחיים אומרים עבור מזל. מעברים נטאליים (natal-daily/weekly-transit) משווים את כוכבי הלכת של היום מול מפת הלידה האישית שלך לתחזית מותאמת אישית.

היא מחשבת אספקטים צולבים בין שתי מפות לידה, חפיפות בתים וציוני תאימות לאהבה, תקשורת, צמיחה ואתגר. קריאת AI מסכמת את דינמיקת הזוגיות.

עד 31 ימים לכל בקשה. נקודת הקצה מחזירה שלב ירח יומי, מזל, אחוז הארה ותקופות void-of-course לכל יום בטווח.

נקודות קצה של נתונים בלבד עולות 0.005 קרדיטים. תחזיות מעבר כלליות עולות 0.02 קרדיטים. מפת לידה, מעברים נטאליים וסינסטריה עולים 0.05 קרדיטים. תחזית חיים עולה 0.08 קרדיטים.

כן. כל בקשה, גם כאלה שמובילות לשגיאות, צורכת קרדיטים. הקרדיטים שלך קשורים למספר הבקשות, ללא קשר להצלחה או כישלון. אם השגיאה נובעת בבירור מבעיה בפלטפורמה מצידנו, נשחזר את הקרדיטים המושפעים (ללא החזר כספי).

צרו איתנו קשר ב-[email protected]. אנחנו מתייחסים למשוב ברצינות—אם דוח הבאג או בקשת הפיצ'ר שלכם משמעותיים, נוכל לתקן או לשפר את ה-API במהירות ולהעניק לכם 50 קרדיטים חינם כתודה.

זה תלוי ב-API ולפעמים אפילו ב-endpoint. חלק מה-endpoints משתמשים בנתונים ממקורות חיצוניים, שעשויים להיות בעלי מגבלות מחמירות יותר. אנחנו גם אוכפים מגבלות כדי למנוע שימוש לרעה ולשמור על יציבות הפלטפורמה. בדקו את התיעוד למגבלה הספציפית של כל endpoint.

אנחנו פועלים על מערכת קרדיטים. קרדיטים הם יחידות ששולמו מראש ואינן ניתנות להחזר, שאתם מוציאים על קריאות API וכלים. קרדיטים נצרכים בשיטת FIFO (הישנים ביותר קודם) ותקפים ל-12 חודשים מתאריך הרכישה. לוח הבקרה מציג כל תאריך רכישה ותפוגתו.

כן. כל הקרדיטים שנרכשו (כולל יתרות חלקיות) תקפים ל-12 חודשים מהרכישה. קרדיטים שלא נוצלו פגים אוטומטית ונמחקים לצמיתות בסוף תקופת התוקף. קרדיטים שפגו לא ניתנים לשחזור או להמרה למזומן או ערך אחר. כלל מעבר: קרדיטים שנרכשו לפני 22 בספט׳ 2025 מטופלים כאילו נרכשו ב-22 בספט׳ 2025 ופגים ב-22 בספט׳ 2026 (אלא אם צוין תאריך תפוגה מוקדם יותר ברכישה).

כן—בתוך חלון התוקף שלהם. קרדיטים שלא נוצלו נשארים זמינים ומועברים מחודש לחודש עד שהם פגים 12 חודשים לאחר הרכישה.

קרדיטים הם לא ניתנים להחזר. קנו רק מה שאתם צריכים—תמיד תוכלו לטעון שוב מאוחר יותר. אם שגיאת פלטפורמה גורמת לחיוב כושל, אנו עשויים לשחזר את הקרדיטים המושפעים לאחר בדיקה. ללא החזר כספי.

המחירים נקבעים בקרדיטים, לא בדולרים. לכל endpoint יש עלות משלו—ראו את תג "קרדיטים / בקשה" למעלה. תמיד תדעו בדיוק כמה אתם מוציאים.
← חזרה ל-APIs