search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Vedic Yearly Prediction 10 Year

Illuminate your journey with astrological clarity using the Vedic Yearly Prediction 10 Year API.
This API generates a white-labeled PDF report that provides Vedic astrology-based yearly forecasts for the next ten years. The report includes planetary insights, yearly predictions, and astrological interpretations branded with your business details.


API Endpoint

POST https://pdf.divineapi.com/indian-api/v2/vedic-yearly-prediction-10-year

Returns Vedic Yearly Prediction 10 Year report in the response.


Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour API key
full_name*StringFull name of the user, e.g., Rahul Kumar
day*IntegerBirth date, e.g., 24
month*IntegerBirth month, e.g., 05
year*IntegerBirth year, e.g., 2023
hour*IntegerBirth hour, e.g., 14
min*IntegerBirth minute, e.g., 40
sec*IntegerBirth second, e.g., 43
gender*StringGender, e.g., male
place*StringBirth place, e.g., New Delhi, India
lat*FloatLatitude of birth place, e.g., 28.7041
lon*FloatLongitude of birth place, e.g., 77.1025
tzone*FloatTimezone of birth place, e.g., 5.5 (see timezone guide)
lanStringPDF language, en/hi, default en
company_name*StringYour company name, e.g., Divine API
company_url*StringYour full domain URL, e.g., https://divineapi.com/
company_email*StringYour company email, e.g., admin@divineapi.com
company_mobile*StringYour company mobile number, e.g., +91 1212 1212 12
company_bio*StringCompany/about text, must be less than 500 characters
logo_url*StringPublicly accessible PNG logo URL
footer_text*StringFooter text to display in the PDF, must be less than 100 characters

200: OK Vedic Yearly Prediction 10 Year Fetched Successfully

{
    "status": "success",
    "code": 200,
    "data": {
        "name": "Rohit Kumar",
        "report_url": "https://reports.divinestore.net/r/1142717565397359862367-57",
        "download_url": "https://reports.divinestore.net/generate/1142717565397359862367-57"
    },
    "message": "Vedic yearly prediction report generated successfully."
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl -X POST \
  https://pdf.divineapi.com/indian-api/v2/vedic-yearly-prediction-10-year \
  -H 'authorization: Bearer {Your API Access Token}' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -F api_key={Your API Key}
  -F full_name='Rahul Kumar' \
  -F place='New Delhi, India' \
  -F gender='male' \
  -F day=24 \
  -F month=05 \
  -F year=2023 \
  -F hour=14 \
  -F min=40 \
  -F sec=43 \
  -F lat=28.7041 \
  -F lon=77.1025 \
  -F tzone=5.5 \
  

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': '
https://pdf.divineapi.com/indian-api/v2/vedic-yearly-prediction-10-year',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'full_name': 'Rahul Kumar',
    'day': '24',
    'month': '05',
    'year': '2023',
    'hour': '14',
    'min': '40',
    'sec': '43',
    'gender': 'male',
    'place': 'New Delhi, India',
    'lat': '28.7041',
    'lon': '77.1025',
    'tzone': '5.5',
    'lan': 'en',
    'company_name': 'Divine API',
    'company_url': 'https://divineapi.com/',
    'company_email': 'admin@divineapi.com',
    'company_mobile': '+91 212 1212 12',
    'company_bio': 'Discover the best Horoscope API and Tarot API services at Divineapi.com. They offer Daily\nHoroscope API for all twelve zodiac signs, along with Indian astrology services like\nPanchang, Kundali, and Kundali Matching. Check out their website for more information\nand enjoy accurate and engaging astrology insights for your audience!',
    'logo_url': 'https://divineapi.com/assets/logo.png',
    'footer_text': 'Divine API'
  }
};
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("full_name", "Rahul Kumar");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi, India");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
form.append("company_name", "Divine API");
form.append("company_url", "https://divineapi.com/");
form.append("company_email", "admin@divineapi.com");
form.append("company_mobile", "+91 212 1212 12");
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", "Divine API");

var settings = {
  "url": "https://pdf.divineapi.com/indian-api/v2/vedic-yearly-prediction-10-year",
  "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/vedic-yearly-prediction-10-year"

payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul Kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en',
'company_name': 'Divine API',
'company_url': 'https://divineapi.com/',
'company_email': 'admin@divineapi.com',
'company_mobile': '+91 212 1212 12',
'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': 'Divine API'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Notes

All branding fields are mandatory since the PDF is generated as a white-labeled report.

logo_url must point to a publicly accessible PNG file.

Keep company_bio under 500 characters and footer_text under 100 characters to ensure proper layout rendering in the final PDF.

The response provides both report_url (for viewing) and download_url (for direct download) that you can share with users or integrate into your system.