Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

Horoscope → Chinese Bazi

AI-generated

Summary

Generate a Chinese Bazi horoscope based on detailed birth data and location, including a forecast year and language preference.

Inputs

  • Year (required) — Birth year in 4-digit format (e.g., 1990).
  • Month (required) — Birth month as a number from 1 (January) to 12 (December).
  • Day (required) — Day of birth within the month (1-31).
  • Hour (required) — Birth hour in 24-hour format (0-23).
  • Minute (required) — Birth minute (0-59).
  • Location Type (required) — Method to specify birth location: either a city name with country code or geographic coordinates (latitude and longitude).
  • City (required) — Birth city name, required if Location Type is City Name.
  • Country Code (required) — Two-letter ISO country code for the birth city, required if Location Type is City Name.
  • Latitude (required) — Geographic latitude in decimal degrees (-90 to 90) if Location Type is Coordinates.
  • Longitude (required) — Geographic longitude in decimal degrees (-180 to 180) if Location Type is Coordinates.
  • Forecast Year (required) — Year for the Bazi forecast interpretation.
  • Language — The language code for the horoscope text output (default is English; supports en, uk, ru, es, de).

Output shape

a single object containing the Chinese Bazi horoscope data and forecast for the specified year and birth details

The response includes detailed Bazi calculations and interpretations based on submitted birth data and location. The output language matches the specified language code.

Examples

Example 1: User inputs their precise birth date and time, along with their birth location (city or coordinates), selects a forecast year and language, and receives a personalized Chinese Bazi horoscope forecast for that year.

Parameters Year, Month, Day, Hour, Minute form the precise birth datetime; Location Type toggles between city name (with Country Code) or coordinates (Latitude and Longitude); Bazi Year selects the forecast year; Language selects the output language.

Links

Discussion