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.
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.
POST
https://pdf.astrologyapi.com/v1/match_making_pdfParameters
| Parameter | Type | Description |
|---|---|---|
| m_first_namerequired | Male/native first name. | |
| m_last_namerequired | Male/native last name. | |
| m_dayrequired | Male/native birth day. | |
| m_monthrequired | Male/native birth month. | |
| m_yearrequired | Male/native birth year. | |
| m_hourrequired | Male/native birth hour. | |
| m_minuterequired | Male/native birth minute. | |
| m_latituderequired | Male/native birth latitude. | |
| m_longituderequired | Male/native birth longitude. | |
| m_timezonerequired | Male/native timezone offset from UTC. | |
| m_placerequired | Male/native birth place. | |
| f_first_namerequired | Female/partner first name. | |
| f_last_namerequired | Female/partner last name. | |
| f_dayrequired | Female/partner birth day. | |
| f_monthrequired | Female/partner birth month. | |
| f_yearrequired | Female/partner birth year. | |
| f_hourrequired | Female/partner birth hour. | |
| f_minuterequired | Female/partner birth minute. | |
| f_latituderequired | Female/partner birth latitude. | |
| f_longituderequired | Female/partner birth longitude. | |
| f_timezonerequired | Female/partner timezone offset from UTC. | |
| f_placerequired | Female/partner birth place. | |
| languagerequired | PDF language. | |
| ashtakootrequired | Include Ashtakoot analysis. | |
| dashakootrequired | Include Dashakoot analysis. | |
| papasamyamrequired | Include Papasamyam analysis. | |
| chart_stylerequired | Chart style. | |
| footer_linkrequired | Footer/domain link. | |
| logo_urlrequired | Company logo URL. | |
| company_namerequired | Company name. | |
| company_inforequired | Company information. Should be less than 500 characters. | |
| domain_urlrequired | Full company domain URL. | |
| company_emailrequired | Company email. | |
| company_landlinerequired | Company landline number. | |
| company_mobilerequired | Company mobile number. |
Sample PDFs
Match Making 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
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": "mail@astrologyapi.com",
"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"
}