🌍 Astrocartography API and ✋ Palmistry API are now live. Ship them in your app today.Get Started
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_namerequiredMale/native first name.
m_last_namerequiredMale/native last name.
m_dayrequiredMale/native birth day.
m_monthrequiredMale/native birth month.
m_yearrequiredMale/native birth year.
m_hourrequiredMale/native birth hour.
m_minuterequiredMale/native birth minute.
m_latituderequiredMale/native birth latitude.
m_longituderequiredMale/native birth longitude.
m_timezonerequiredMale/native timezone offset from UTC.
m_placerequiredMale/native birth place.
f_first_namerequiredFemale/partner first name.
f_last_namerequiredFemale/partner last name.
f_dayrequiredFemale/partner birth day.
f_monthrequiredFemale/partner birth month.
f_yearrequiredFemale/partner birth year.
f_hourrequiredFemale/partner birth hour.
f_minuterequiredFemale/partner birth minute.
f_latituderequiredFemale/partner birth latitude.
f_longituderequiredFemale/partner birth longitude.
f_timezonerequiredFemale/partner timezone offset from UTC.
f_placerequiredFemale/partner birth place.
languagerequiredPDF language.
ashtakootrequiredInclude Ashtakoot analysis.
dashakootrequiredInclude Dashakoot analysis.
papasamyamrequiredInclude Papasamyam analysis.
chart_stylerequiredChart style.
footer_linkrequiredFooter/domain link.
logo_urlrequiredCompany logo URL.
company_namerequiredCompany name.
company_inforequiredCompany information. Should be less than 500 characters.
domain_urlrequiredFull company domain URL.
company_emailrequiredCompany email.
company_landlinerequiredCompany landline number.
company_mobilerequiredCompany 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": false,
  "dashakoot": false,
  "papasamyam": false,
  "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=false&dashakoot=false&papasamyam=false&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"
}