https://pdf.astrologyapi.com/v1/solar_return_report/tropicalThe Solar Return API generates PDF horoscope based on the birth details provided in the request data.
The request data also has number of other options such as border style, footer links, lord Ganesha picture style and other last page details. These options can be used to customise the PDF as per your company and brand requirement.
The PDF API in response provides you with a PDF URL from where either your user can download the PDF or you can directly send the PDF horoscope on your user's email address.
1{
2 "status": true,
3 "pdf_url": "https://s3.amazonaws.com/astrologyapi-pdfs/solar_return_sample.pdf"
4}x-astrologyapi-keystring
requiredAPI Access Token to authenticate requests. Send your access token in this custom header.
Accept-Languagestring
Preferred language for the response content
Properties
namestring
requiredName of the user.
genderstring
requiredGender of the user.
daynumber
requiredBirth day (1-31).
monthnumber
requiredBirth month (1-12).
yearnumber
requiredBirth year.
hournumber
requiredBirth hour (0-23).
minutenumber
requiredBirth minute (0-59).
latitudenumber
requiredLatitude of birth location.
longitudenumber
requiredLongitude of birth location.
languagestring
requiredPDF language.
Properties
timezonenumber
requiredTimezone offset from UTC in hours.
placestring
requiredBirth place.
solar_yearnumber
requiredSolar return report year.
footer_linkstring
requiredFooter/domain link.
logo_urlstring
requiredCompany logo URL.
company_namestring
requiredCompany name.
company_infostring
requiredCompany information. Should be less than 500 characters.
domain_urlstring
requiredFull company domain URL.
company_emailstring
requiredCompany email.
company_landlinestring
requiredCompany landline number.
company_mobilestring
requiredCompany mobile number.
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.
English PDF Sample
German PDF Sample
French PDF Sample
Spanish PDF Sample
Italian PDF Sample
Russian PDF Sample
Brazilian Portuguese PDF Sample
Something is wrong with your request format or parameters.
Your API key is missing or invalid.
You don't have permission to access this specific resource.
The API endpoint you're trying to reach doesn't exist.
Our server is having a temporary glitch.