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

Match Making PDF API

The Match Making PDF API generates Match Making PDF based on the birth details of male and female 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.
POSThttps://pdf.astrologyapi.com/v1/match_making_pdf

Parameters

ParameterTypeDescription
m_first_namerequiredstringMale/native first name.
m_last_namerequiredstringMale/native last name.
m_dayrequirednumberMale/native birth day.
m_monthrequirednumberMale/native birth month.
m_yearrequirednumberMale/native birth year.
m_hourrequirednumberMale/native birth hour.
m_minuterequirednumberMale/native birth minute.
m_latituderequirednumberMale/native birth latitude.
m_longituderequirednumberMale/native birth longitude.
m_timezonerequirednumberMale/native timezone offset from UTC.
m_placerequiredstringMale/native birth place.
f_first_namerequiredstringFemale/partner first name.
f_last_namerequiredstringFemale/partner last name.
f_dayrequirednumberFemale/partner birth day.
f_monthrequirednumberFemale/partner birth month.
f_yearrequirednumberFemale/partner birth year.
f_hourrequirednumberFemale/partner birth hour.
f_minuterequirednumberFemale/partner birth minute.
f_latituderequirednumberFemale/partner birth latitude.
f_longituderequirednumberFemale/partner birth longitude.
f_timezonerequirednumberFemale/partner timezone offset from UTC.
f_placerequiredstringFemale/partner birth place.
languagerequiredstringPDF language.
ashtakootrequiredbooleanInclude Ashtakoot analysis.
dashakootrequiredbooleanInclude Dashakoot analysis.
papasamyamrequiredbooleanInclude Papasamyam analysis.
chart_stylerequiredstringChart style.
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.

Supported Languages

enhi

Request

{
  "m_first_name": "Sanjay",
  "m_last_name": "Sharma",
  "m_day": 15,
  "m_month": 8,
  "m_year": 1990,
  "m_hour": 10,
  "m_minute": 30,
  "m_latitude": 39.9526,
  "m_longitude": -75.1652,
  "m_timezone": -5,
  "m_place": "Mumbai,Maharashtra India",
  "f_first_name": "Sanjay",
  "f_last_name": "Sharma",
  "f_day": 15,
  "f_month": 8,
  "f_year": 1990,
  "f_hour": 10,
  "f_minute": 30,
  "f_latitude": 39.9526,
  "f_longitude": -75.1652,
  "f_timezone": -5,
  "f_place": "Mumbai,Maharashtra India",
  "language": "en",
  "ashtakoot": true,
  "dashakoot": true,
  "papasamyam": true,
  "chart_style": "NORTH_INDIAN",
  "footer_link": "https://www.astrologyapi.com",
  "logo_url": "LOGO_URL",
  "company_name": "company name",
  "company_info": "company info",
  "domain_url": "https://www.astrologyapi.com",
  "company_email": "[email protected]",
  "company_landline": "123456789",
  "company_mobile": "123456789"
}

Code samples

curl --location 'https://pdf.astrologyapi.com/v1/match_making_pdf' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Authorization: Basic <YOUR_API_KEY>' \
  --data 'm_first_name=Sanjay&m_last_name=Sharma&m_day=15&m_month=8&m_year=1990&m_hour=10&m_minute=30&m_latitude=39.9526&m_longitude=-75.1652&m_timezone=-5&m_place=Mumbai%2CMaharashtra%20India&f_first_name=Sanjay&f_last_name=Sharma&f_day=15&f_month=8&f_year=1990&f_hour=10&f_minute=30&f_latitude=39.9526&f_longitude=-75.1652&f_timezone=-5&f_place=Mumbai%2CMaharashtra%20India&language=en&ashtakoot=true&dashakoot=true&papasamyam=true&chart_style=NORTH_INDIAN&footer_link=https%3A%2F%2Fwww.astrologyapi.com&logo_url=LOGO_URL&company_name=company%20name&company_info=company%20info&domain_url=https%3A%2F%2Fwww.astrologyapi.com&company_email=mail%40astrologyapi.com&company_landline=123456789&company_mobile=123456789'

Response

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