Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

PDF → Horoscope: Daily

AI-generated

Summary

Generate a daily horoscope PDF. Select sun-sign mode (requires zodiac sign) or personalized mode (requires birth year, month, day, hour, minute, city, and country code). The horoscope is for a target date (defaults to today). Configure sections: general overview, love & relationships, career & finance, health & wellness, lucky elements, daily affirmation, planetary influences (set max count), moon phase, compatibility tip. Adjust PDF settings: page size (A4/Letter), margin (mm), orientation (portrait/landscape), theme (modern/classic), language (en/ru/de/es/fr/it/pt/zh/ja/ko).

Inputs

  • pdfMode (required) — Mode: sun-sign (default) or personalized
  • sunSign (required) — Zodiac sign (Aries, Taurus, etc.) when pdfMode is sun-sign
  • pdfBirthYear (required) — Birth year (e.g., 1990) when pdfMode is personalized
  • pdfBirthMonth (required) — Birth month (1-12) when pdfMode is personalized
  • pdfBirthDay (required) — Birth day (1-31) when pdfMode is personalized
  • pdfBirthHour (required) — Birth hour (0-23) when pdfMode is personalized
  • pdfBirthMinute (required) — Birth minute (0-59) when pdfMode is personalized
  • pdfBirthCity (required) — Birth city (string) when pdfMode is personalized
  • pdfBirthCountryCode (required) — Birth country code (ISO 3166-1 alpha-2) when pdfMode is personalized
  • targetDate — Target date (YYYY-MM-DD), defaults to today
  • sectionGeneralOverview — Include general overview section (default: true)
  • sectionLoveRelationships — Include love & relationships section (default: true)
  • sectionCareerFinance — Include career & finance section (default: true)
  • sectionHealthWellness — Include health & wellness section (default: true)
  • sectionLuckyElements — Include lucky elements section (default: true)
  • sectionDailyAffirmation — Include daily affirmation section (default: true)
  • sectionPlanetaryInfluences — Include planetary influences section (default: true)
  • maxPlanetaryInfluences — Max planetary influences to show (1-10, default: 5) when sectionPlanetaryInfluences is true
  • sectionMoonPhase — Include moon phase section (default: true)
  • sectionCompatibilityTip — Include compatibility tip section (default: false)
  • pageSize — PDF page size: A4 (default) or Letter
  • marginMm — Page margin in millimeters (5-50, default: 15)
  • orientation — Page orientation: portrait (default) or landscape
  • pdfTheme — PDF design theme: modern (default) or classic
  • language — Language for text: en (default), ru, de, es, fr, it, pt, zh, ja, ko

Output shape

PDF binary data

The operation returns a PDF file containing the generated horoscope.

Examples

Example 1: Sun-sign horoscope for Aries today

pdfMode: sunSign, sunSign: Ari, all other inputs at defaults

Example 2: Personalized horoscope for specific birth data and date

pdfMode: personalized, pdfBirthYear: 1990, pdfBirthMonth: 5, pdfBirthDay: 15, pdfBirthHour: 14, pdfBirthMinute: 30, pdfBirthCity: London, pdfBirthCountryCode: GB, targetDate: 2025-04-05

Links

Discussion