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.
POST
https://pdf.astrologyapi.com/v1/varshphal_horoscope_pdfParameters
| Parameter | Type | Description |
|---|---|---|
| namerequired | Name of the user. | |
| dayrequired | Birth day (1-31). | |
| monthrequired | Birth month (1-12). | |
| yearrequired | Birth year. | |
| hourrequired | Birth hour (0-23). | |
| minrequired | Birth minute (0-59). | |
| latituderequired | Latitude of birth location. | |
| longituderequired | Longitude of birth location. | |
| tzonerequired | Timezone offset from UTC in hours. | |
| genderrequired | Gender of the user. | |
| placerequired | Birth place. | |
| logo_urlrequired | Company logo URL. | |
| chart_stylerequired | Chart style. | |
| footer_linkrequired | Footer/domain link. | |
| company_namerequired | Company name. | |
| company_inforequired | Company information. | |
| domain_urlrequired | Full company domain URL. | |
| company_emailrequired | Company email. | |
| company_landlinerequired | Company landline number. | |
| company_mobilerequired | Company mobile number. | |
| varshaphal_yearrequired | Varshaphal 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"
}