Skip to content

Chinese Horoscope

Calculate Chinese zodiac signs and yearly forecasts based on a person's birth date.


Chinese Zodiac Sign

Calculate a person's Chinese zodiac sign and element based on their birth year.

Required Module

Requires the chinese-horoscope:calc module.

bash
curl -X POST "https://api.astroapi.cloud/api/calc/chinese-horoscope" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15",
    "language": "en",
    "includeText": true,
    "includeReadableEntities": true
  }'

Parameters

ParameterTypeRequiredDescription
birthDatestringYesBirth date in YYYY-MM-DD format
languagestringNoLanguage code for text content (default: "en")
includeTextbooleanNoInclude interpretation text (default: false)
includeReadableEntitiesbooleanNoInclude human-readable titles for sign and element (default: false)

Response

json
{
    "data": {
        "sign": "horse",
        "element": "metal",
        "year": 1990,
        "signTitle": "Horse",
        "elementTitle": "Metal",
        "text": "People born in the Year of the Horse are energetic, active, and enjoy being in a crowd. They are quick to learn and love adventure..."
    }
}

Response Fields

FieldTypeDescription
signstringChinese zodiac animal sign
elementstringAssociated element (wood, fire, earth, metal, water)
yearnumberBirth year used for calculation
signTitlestring | nullHuman-readable sign name (only if includeReadableEntities: true)
elementTitlestring | nullHuman-readable element name (only if includeReadableEntities: true)
textstring | nullInterpretation text (only if includeText: true)

Chinese Zodiac Signs

The 12-year cycle of Chinese zodiac animals:

SignCycle Years (examples)
rat1948, 1960, 1972, 1984, 1996, 2008, 2020
ox1949, 1961, 1973, 1985, 1997, 2009, 2021
tiger1950, 1962, 1974, 1986, 1998, 2010, 2022
rabbit1951, 1963, 1975, 1987, 1999, 2011, 2023
dragon1952, 1964, 1976, 1988, 2000, 2012, 2024
snake1953, 1965, 1977, 1989, 2001, 2013, 2025
horse1954, 1966, 1978, 1990, 2002, 2014, 2026
goat1955, 1967, 1979, 1991, 2003, 2015, 2027
monkey1956, 1968, 1980, 1992, 2004, 2016, 2028
rooster1957, 1969, 1981, 1993, 2005, 2017, 2029
dog1958, 1970, 1982, 1994, 2006, 2018, 2030
pig1959, 1971, 1983, 1995, 2007, 2019, 2031

Chinese New Year

The Chinese zodiac year begins on Chinese New Year (late January or early February), not January 1st. Birthdays in January or early February may belong to the previous zodiac year.


Chinese Yearly Forecast

Calculate a yearly forecast for a person based on their Chinese zodiac sign.

Required Module

Requires the chinese-forecast:calc module.

bash
curl -X POST "https://api.astroapi.cloud/api/calc/chinese-forecast" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15",
    "forecastYear": 2024,
    "language": "en",
    "includeText": true,
    "includeReadableEntities": true
  }'

Parameters

ParameterTypeRequiredDescription
birthDatestringYesBirth date in YYYY-MM-DD format
forecastYearnumberNoYear to generate forecast for (default: current year)
languagestringNoLanguage code for text content (default: "en")
includeTextbooleanNoInclude interpretation text (default: false)
includeReadableEntitiesbooleanNoInclude human-readable sign title (default: false)

Response

json
{
    "data": {
        "sign": "horse",
        "year": 2024,
        "signTitle": "Horse",
        "text": "The Year of the Dragon 2024 brings dynamic energy to the Horse. Your natural charisma is amplified this year, drawing new opportunities and connections into your life...",
        "categories": {
            "Love": "This year brings exciting romantic possibilities. Single Horses may meet someone special through social activities. Those in relationships will find new depth and understanding...",
            "Career": "Professional growth is highlighted in 2024. Your innovative ideas gain recognition, and a promotion or new opportunity may present itself mid-year...",
            "Health": "Pay attention to stress levels and ensure adequate rest. Regular exercise and a balanced diet will help maintain your characteristically high energy levels...",
            "Finance": "Financial prospects improve steadily through 2024. Avoid impulsive spending in the first quarter, and by mid-year you will be in a stronger position to invest..."
        }
    }
}

Response Fields

FieldTypeDescription
signstringChinese zodiac animal sign
yearnumberForecast year
signTitlestring | nullHuman-readable sign name (only if includeReadableEntities: true)
textstring | nullGeneral yearly forecast text (only if includeText: true)
categoriesobjectForecast broken down by life area
categories.LovestringRomantic and relationship forecast
categories.CareerstringProfessional and career forecast
categories.HealthstringHealth and wellbeing forecast
categories.FinancestringFinancial forecast

AstroAPI Documentation