🌍 Astrocartography API, 🔷 Human Design API and ✋ Palmistry API are now live. Ship them in your app today.
API Documentation

Varshaphal Report PDF API

The Varshaphal Report PDF API generates an annual Varshaphal horoscope PDF from birth details and a requested Varshaphal year. It accepts birth date, time, place, coordinates, timezone, gender, chart style, white-label branding fields, and report year, then returns a PDF URL for the generated annual report.
POSThttps://pdf.astrologyapi.com/v1/varshphal_horoscope_pdf

Parameters

ParameterTypeDescription
namerequiredName of the user.
dayrequiredBirth day (1-31).
monthrequiredBirth month (1-12).
yearrequiredBirth year.
hourrequiredBirth hour (0-23).
minrequiredBirth minute (0-59).
latituderequiredLatitude of birth location.
longituderequiredLongitude of birth location.
tzonerequiredTimezone offset from UTC in hours.
genderrequiredGender of the user.
placerequiredBirth place.
logo_urlrequiredCompany logo URL.
chart_stylerequiredChart style.
footer_linkrequiredFooter/domain link.
company_namerequiredCompany name.
company_inforequiredCompany information.
domain_urlrequiredFull company domain URL.
company_emailrequiredCompany email.
company_landlinerequiredCompany landline number.
company_mobilerequiredCompany mobile number.
varshaphal_yearrequiredVarshaphal report year.

Sample PDFs

Varshaphal Report PDF Samples

Following are the PDF report samples you can download. These generated PDFs are using AstrologyAPI branding and everything can be customised to suit your company branding and style.

Supported Languages

en

Request

{
  "name": "Neethu",
  "day": 28,
  "month": 7,
  "year": 1992,
  "hour": 0,
  "min": 5,
  "latitude": 9.2666,
  "longitude": 76.78,
  "tzone": 5.5,
  "gender": "female",
  "place": "Kerala, INDIA",
  "logo_url": "",
  "chart_style": "SOUTH_INDIAN",
  "footer_link": "",
  "company_name": "",
  "company_info": "",
  "domain_url": "",
  "company_email": "",
  "company_landline": "",
  "company_mobile": "+919999999",
  "varshaphal_year": 2027
}

Code samples

curl --location 'https://pdf.astrologyapi.com/v1/varshphal_horoscope_pdf' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Authorization: Basic <YOUR_API_KEY>' \
  --data 'name=Neethu&day=28&month=7&year=1992&hour=0&min=5&latitude=9.2666&longitude=76.78&tzone=5.5&gender=female&place=Kerala%2C%20INDIA&logo_url=&chart_style=SOUTH_INDIAN&footer_link=&company_name=&company_info=&domain_url=&company_email=&company_landline=&company_mobile=%2B919999999&varshaphal_year=2027'

Response

{
  "status": true,
  "pdf_url": "https://s3.amazonaws.com/astrologyapi-pdfs/varshphal_horoscope_pdf_sample.pdf"
}