Match Making PDF
Seal the bonds of harmony with our Match Making PDF API, crafting detailed and informative astrological compatibility reports in PDF format within the context of Indian Astrology’s Kundali Matching.
API Endpoint
POST https://pdf.divineapi.com/indian-api/v2/match-making
Returns Match Making PDF in the response.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your API key |
| p1_full_name* | String | Person 1 full name, e.g., Rahul Kumar |
| p1_day* | Integer | Person 1 date of birth, e.g., 24 |
| p1_month* | Integer | Person 1 month of birth, e.g., 05 |
| p1_year* | Integer | Person 1 year of birth, e.g., 1998 |
| p1_hour* | Integer | Person 1 birth hour, e.g., 14 |
| p1_min* | Integer | Person 1 birth minute, e.g., 40 |
| p1_sec* | Integer | Person 1 birth second, e.g., 43 |
| p1_gender* | String | Person 1 gender, e.g., male |
| p1_place* | String | Person 1 birth place, e.g., New Delhi |
| p1_lat* | Float | Person 1 latitude, e.g., 28.7041 |
| p1_lon* | Float | Person 1 longitude, e.g., 77.1025 |
| p1_tzone* | Float | Person 1 timezone, e.g., 5.5 (see Timezone Guide) |
| p2_full_name* | String | Person 2 full name, e.g., Simran Kumari |
| p2_day* | Integer | Person 2 date of birth, e.g., 24 |
| p2_month* | Integer | Person 2 month of birth, e.g., 05 |
| p2_year* | Integer | Person 2 year of birth, e.g., 1998 |
| p2_hour* | Integer | Person 2 birth hour, e.g., 14 |
| p2_min* | Integer | Person 2 birth minute, e.g., 40 |
| p2_sec* | Integer | Person 2 birth second, e.g., 43 |
| p2_gender* | String | Person 2 gender, e.g., female |
| p2_place* | String | Person 2 birth place, e.g., New Delhi |
| p2_lat* | Float | Person 2 latitude, e.g., 28.7041 |
| p2_lon* | Float | Person 2 longitude, e.g., 77.1025 |
| p2_tzone* | Float | Person 2 timezone, e.g., 5.5 |
| lan | String | PDF language, en/hi, default en |
| company_name* | String | Your company name, e.g., DivineAPI |
| company_url* | String | Your domain full URL, e.g., https://divineapi.com/ |
| company_email* | String | Your company email, e.g., admin@divineapi.com |
| company_mobile* | String | Your company mobile number, e.g., +91 1212 1212 12 |
| company_bio* | String | Company description, must be less than 500 characters |
| logo_url* | String | Your company logo URL (PNG only) |
| footer_text* | String | Footer text, must be less than 100 characters |
| text_secondary_color | String | Secondary text color e.g., #7b1300 |
| text_primary_color | String | Primary text color e.g.,#000000 |
| background_color | String | Background color e.g.,#e7d1ac |
| theme_color | String | Theme or accent color e.g.,#ebab3d |
| front_image | String | Size: 1425x2000px e.g., https://reports.divinestore.net/public/assets/img/002/cover.png |
| report_name | String | Display name of the report e.g.,Match Making PDF |
| heading_color | String | Heading text color e.g.,#800000 |
Branding & Theme Customization Support
This API allows you to fully customize the appearance and branding of your PDF reports. You can control visual elements such as colors, themes, cover images, report titles, and company branding by passing the relevant parameters in the request body.
Reference Articles:
Custom Themes & Colors
https://support.divineapi.com/reports-apis/enhancing-your-report-with-custom-themes-and-color
Custom Branding
https://support.divineapi.com/reports-apis/enhancing-your-reports-with-custom-branding
200: OK Match Making PDF Fetched Successfully
{
"status": "success",
"code": 200,
"data": {
"name": "Rahul Kumar",
"report_url": "https://reports.divinestore.net/r/1134817565394294212592-55",
"download_url": "https://reports.divinestore.net/generate/1134817565394294212592-55"
},
"message": "Match-making report generated successfully."
}Example Integrations
Below are examples of calling this API from different environments.
cURL
curl --location 'https://pdf.divineapi.com/indian-api/v2/match-making' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'p1_full_name="Rahul Kumar"' \
--form 'p1_day="24"' \
--form 'p1_month="05"' \
--form 'p1_year="1998"' \
--form 'p1_hour="14"' \
--form 'p1_min="40"' \
--form 'p1_sec="43"' \
--form 'p1_gender="male"' \
--form 'p1_place="New Delhi"' \
--form 'p1_lat="28.7041"' \
--form 'p1_lon="77.1025"' \
--form 'p1_tzone="5.5"' \
--form 'p2_full_name="Simran Kumari"' \
--form 'p2_day="24"' \
--form 'p2_month="05"' \
--form 'p2_year="1998"' \
--form 'p2_hour="14"' \
--form 'p2_min="40"' \
--form 'p2_sec="43"' \
--form 'p2_gender="female"' \
--form 'p2_place="New Delhi"' \
--form 'p2_lat="28.7041"' \
--form 'p2_lon="77.1025"' \
--form 'p2_tzone="5.5"' \
--form 'lan="en"' \
--form 'company_name="DivineAPI"' \
--form 'company_url="https://divineapi.com/"' \
--form 'company_email="admin@divineapi.com"' \
--form 'company_mobile="+91 9557787052"' \
--form 'company_bio="Discover the best Horoscope API and Tarot API services at Divineapi.com. They offer Daily Horoscope API for all twelve zodiac signs, along with Indian astrology services like Panchang, Kundali, and Kundali Matching. Check out their website for more information and enjoy accurate and engaging astrology insights for your audience!"' \
--form 'logo_url="https://divineapi.com/assets/logo.png"' \
--form 'footer_text="DivineAPI"'NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://pdf.divineapi.com/indian-api/v2/match-making',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'p1_full_name': 'Rahul Kumar',
'p1_day': '24',
'p1_month': '05',
'p1_year': '1998',
'p1_hour': '14',
'p1_min': '40',
'p1_sec': '43',
'p1_gender': 'male',
'p1_place': 'New Delhi',
'p1_lat': '28.7041',
'p1_lon': '77.1025',
'p1_tzone': '5.5',
'p2_full_name': 'Simran Kumari',
'p2_day': '24',
'p2_month': '05',
'p2_year': '1998',
'p2_hour': '14',
'p2_min': '40',
'p2_sec': '43',
'p2_gender': 'female',
'p2_place': 'New Delhi',
'p2_lat': '28.7041',
'p2_lon': '77.1025',
'p2_tzone': '5.5',
'lan': 'en',
'company_name': 'DivineAPI',
'company_url': 'https://divineapi.com/',
'company_email': 'admin@divineapi.com',
'company_mobile': '+91 9557787052',
'company_bio': 'Discover the best Horoscope API and Tarot API services at Divineapi.com. They offer Daily Horoscope API for all twelve zodiac signs, along with Indian astrology services like Panchang, Kundali, and Kundali Matching. Check out their website for more information and enjoy accurate and engaging astrology insights for your audience!',
'logo_url': 'https://divineapi.com/assets/logo.png',
'footer_text': 'DivineAPI'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});JavaScript (jQuery AJAX)
var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("p1_full_name", "Rahul Kumar");
form.append("p1_day", "24");
form.append("p1_month", "05");
form.append("p1_year", "1998");
form.append("p1_hour", "14");
form.append("p1_min", "40");
form.append("p1_sec", "43");
form.append("p1_gender", "male");
form.append("p1_place", "New Delhi");
form.append("p1_lat", "28.7041");
form.append("p1_lon", "77.1025");
form.append("p1_tzone", "5.5");
form.append("p2_full_name", "Simran Kumari");
form.append("p2_day", "24");
form.append("p2_month", "05");
form.append("p2_year", "1998");
form.append("p2_hour", "14");
form.append("p2_min", "40");
form.append("p2_sec", "43");
form.append("p2_gender", "female");
form.append("p2_place", "New Delhi");
form.append("p2_lat", "28.7041");
form.append("p2_lon", "77.1025");
form.append("p2_tzone", "5.5");
form.append("lan", "en");
form.append("company_name", "DivineAPI");
form.append("company_url", "https://divineapi.com/");
form.append("company_email", "admin@divineapi.com");
form.append("company_mobile", "+91 9557787052");
form.append("company_bio", "Discover the best Horoscope API and Tarot API services at Divineapi.com. They offer Daily Horoscope API for all twelve zodiac signs, along with Indian astrology services like Panchang, Kundali, and Kundali Matching. Check out their website for more information and enjoy accurate and engaging astrology insights for your audience!");
form.append("logo_url", "https://divineapi.com/assets/logo.png");
form.append("footer_text", "DivineAPI");
var settings = {
"url": "https://pdf.divineapi.com/indian-api/v2/match-making",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {Your Auth Token}"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);Python
import requests
url = "https://pdf.divineapi.com/indian-api/v2/match-making"
payload = {'api_key': '{Your API Key}',
'p1_full_name': 'Rahul Kumar',
'p1_day': '24',
'p1_month': '05',
'p1_year': '1998',
'p1_hour': '14',
'p1_min': '40',
'p1_sec': '43',
'p1_gender': 'male',
'p1_place': 'New Delhi',
'p1_lat': '28.7041',
'p1_lon': '77.1025',
'p1_tzone': '5.5',
'p2_full_name': 'Simran Kumari',
'p2_day': '24',
'p2_month': '05',
'p2_year': '1998',
'p2_hour': '14',
'p2_min': '40',
'p2_sec': '43',
'p2_gender': 'female',
'p2_place': 'New Delhi',
'p2_lat': '28.7041',
'p2_lon': '77.1025',
'p2_tzone': '5.5',
'lan': 'en',
'company_name': 'DivineAPI',
'company_url': 'https://divineapi.com/',
'company_email': 'admin@divineapi.com',
'company_mobile': '+91 9557787052',
'company_bio': 'Discover the best Horoscope API and Tarot API services at Divineapi.com. They offer Daily Horoscope API for all twelve zodiac signs, along with Indian astrology services like Panchang, Kundali, and Kundali Matching. Check out their website for more information and enjoy accurate and engaging astrology insights for your audience!',
'logo_url': 'https://divineapi.com/assets/logo.png',
'footer_text': 'DivineAPI'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)Notes
All company/branding fields are mandatory because the PDF is generated as a white-labeled report.
logo_url must point to a publicly accessible PNG.
company_bio must be under 500 characters and footer_text under 100 characters to avoid truncation.
The response includes both a report_url (view link) and a download_url (direct PDF link) that you can share with end users.