🌍 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
namerequiredstringName of the user.
dayrequirednumberBirth day (1-31).
monthrequirednumberBirth month (1-12).
yearrequirednumberBirth year.
hourrequirednumberBirth hour (0-23).
minrequirednumberBirth minute (0-59).
latituderequirednumberLatitude of birth location.
longituderequirednumberLongitude of birth location.
tzonerequirednumberTimezone offset from UTC in hours.
genderrequiredstringGender of the user.
placerequiredstringBirth place.
logo_urlrequiredstringCompany logo URL.
chart_stylerequiredstringChart style.
footer_linkrequiredstringFooter/domain link.
company_namerequiredstringCompany name.
company_inforequiredstringCompany information.
domain_urlrequiredstringFull company domain URL.
company_emailrequiredstringCompany email.
company_landlinerequiredstringCompany landline number.
company_mobilerequiredstringCompany mobile number.
varshaphal_yearrequirednumberVarshaphal 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"
}