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

Star Sign Compatibility Report PDF API

The Star Sign Compatibility Report API generates a PDF report that explores compatibility factors between star signs.

It is referenced in the Western Astrology PDF Postman collection, dashboard analytics, and PDF credit configuration. The report supports white-label branding details and returns a PDF URL for download or delivery.
POSThttps://pdf.astrologyapi.com/v1/star_sign_compatibility_report

Parameters

ParameterTypeDescription
namerequiredstringName of the user.
dayrequirednumberBirth day (1-31).
monthrequirednumberBirth month (1-12).
yearrequirednumberBirth year.
hourrequirednumberBirth hour (0-23).
minuterequirednumberBirth minute (0-59).
latituderequirednumberLatitude of birth location.
longituderequirednumberLongitude of birth location.
timezonerequirednumberTimezone offset from UTC in hours.
placerequiredstringBirth place.
languagerequiredstringPDF language.
footer_linkrequiredstringFooter/domain link.
logo_urlrequiredstringCompany logo URL.
company_namerequiredstringCompany name.
company_inforequiredstringCompany information. Should be less than 500 characters.
domain_urlrequiredstringFull company domain URL.
company_emailrequiredstringCompany email.
company_landlinerequiredstringCompany landline number.
company_mobilerequiredstringCompany mobile number.

Sample PDFs

Star Sign Compatibility 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": "Linda Ray",
  "day": 6,
  "month": 10,
  "year": 2001,
  "hour": 7,
  "minute": 45,
  "latitude": 19.2,
  "longitude": 25.2,
  "timezone": 5.5,
  "place": "Mumbai, Maharashtra, India",
  "language": "en",
  "footer_link": "astrologyapi.com",
  "logo_url": "",
  "company_name": "astrologyapi",
  "company_info": "this is astrologyapi",
  "domain_url": "astrologyapi.com",
  "company_email": "[email protected]",
  "company_landline": "+91- 221232 22",
  "company_mobile": "+91 1212 1212 12"
}

Code samples

curl --location 'https://pdf.astrologyapi.com/v1/star_sign_compatibility_report' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Authorization: Basic <YOUR_API_KEY>' \
  --data 'name=Linda%20Ray&day=6&month=10&year=2001&hour=7&minute=45&latitude=19.2&longitude=25.2&timezone=5.5&place=Mumbai%2C%20Maharashtra%2C%20India&language=en&footer_link=astrologyapi.com&logo_url=&company_name=astrologyapi&company_info=this%20is%20astrologyapi&domain_url=astrologyapi.com&company_email=mail%40astrologyapi.com&company_landline=%2B91-%20221232%2022&company_mobile=%2B91%201212%201212%2012'

Response

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