Skip to content

Yesterday Horoscope

The Yesterday Horoscope endpoint provides the previous day’s astrological reading for any given date of birth.
It automatically determines the user’s zodiac sign and returns a personalized horoscope message.

Ideal for daily astrology apps, horoscope dashboards, or zodiac-based recommendation systems.


Endpoint

Method Path
GET https://the-numerology-api.p.rapidapi.com/horoscope/yesterday
POST https://the-numerology-api.p.rapidapi.com/horoscope/yesterday

Query Parameters

Name Required Type Example Description
dob String 2002-02-22 The user's date of birth (YYYY-MM-DD). Determines zodiac sign automatically.

Note

This endpoint accepts both GET and POST requests.
If the date of birth is invalid or missing, an error message will be returned.
Zodiac sign determination follows the tropical astrology system.


Example Requests

GET Request

curl -X GET "https://the-numerology-api.p.rapidapi.com/horoscope/yesterday?dob=2002-02-22" \
  -H "x-rapidapi-key: YOUR_RAPIDAPI_KEY"

POST Request

curl -X POST "https://the-numerology-api.p.rapidapi.com/horoscope/yesterday" \
  -H "Content-Type: application/json" \
  -H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
  -d '{
        "dob": "2002-02-22"
      }'

Example Response

{
  "horoscope": "Oct 30, 2025\n- Recent study of philosophical or spiritual matters might inspire you to express your insights creatively. Whether you choose to write, make music, or paint pictures, you'll notice a difference in your style. This may not last, as it's at least partially due to what's on your mind now, but make the most of it today. You might produce quality work that surprises even you.",
  "zodiac_sign": "Pisces"
}

View on RapidAPI


Note

Response Fields:

  • zodiac_sign — The automatically determined zodiac sign based on date of birth
  • horoscope — Yesterday’s horoscope message for that zodiac sign