Yearly Prediction
The Yearly Prediction API provides detailed year-by-year numerology-based forecasts, helping users understand upcoming phases of life across relationships, career, finances, family, creativity, and overall growth. By passing a user’s birth details and name, the API returns structured yearly guidance that platforms can display as annual readings, premium insights, or timeline-style forecasts.
Step by Step Yearly Prediction API Postman Testing Integration
Step by Step Yearly Prediction API Postman Testing Integration
API Endpoint
POST https://astroapi-7.divineapi.com/numerology/v1/yearly-prediction
Returns Yearly Prediction in 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 from the DivineAPI dashboard. |
| day* | Integer | Date of birth. Example: 24. |
| month* | Integer | Month of birth. Example: 05. |
| year* | Integer | Year of birth. Example: 2023. |
| fname* | String | First name. Example: Rahul. |
| lname | String | Last name. Example: Kumar. |
| lan | String | Response language. Default: en (supports en, hi). |
Sample Successful Response (200)
{
"success": 1,
"data": {
"first": {
"year": 2026,
"result": "This is a year of hard work and struggle. Work and career-related things will bombard you and you will hardly find time for recreation and replenishment. There will be no time for fun and frolic with friends. Travel is not likely to happen this year. You should take long breaks and make travel plans, but you will be unable to take the time for their execution. So, traveling and adventure are not likely to happen. \r\n\r\nIf you want to take full advantage of this year, you need to sort your objectives and prospects as soon as possible. Your career plans and goals need more effort and hard work to prevail. This year is all about the steps you put in and the sweat you shed to attain your goals. Meanwhile, try to make new friends and commence some new line of work. New friends will give you a new perspective and a new job will take you to a newer altitude. This is also a year of completing all the old and pending goals that you have been postponing for years. \r\n\r\nThis year will provide you time to ponder about desires you left behind. Now it is time to drag them back into your life. It is also a good year to invest time in family and close relationships. If you are a creative person, then it is your time to unleash your creativity. Be as inventive and creative as you want. Your art will see a boost this year."
},
"second": {
"year": 2027,
"result": "This year will start slowly for you as it has nothing exciting to offer. But it is a year of hard work, and you can turn It in your favor. Make an effort and plan your year early. If planned perfectly, this year will bring many achievements for you at the end of the year. However, all the harshness that comes your way will not exhaust you even a bit. It is because you will know that your effort today will later take you toward great success. It will also lead you to an unbelievably successful vocation. You will be proactive this year with loads of tasks on your plate. \r\n\r\nPrioritize your work before anything else if you want all things to materialize from your dreams. Happiness will come into your life only if you are ready to work hard to achieve even the smallest of goals on your own. Success will be yours to cherish if you put the right amount of effort into it. Disappointment and failure will only come your way if you do not work hard to achieve those targets. You have a fondness for a sophisticated life. So, there is a chance that your expenses will hike up. Hence you must plan your budget as early as you can and spend prudently throughout this year. It is the right time for you to start saving. This year will be great for investing in property and plot-related matters. Therefore, those in that field should be vigilant to initiate a deal."
},
"third": {
"year": 2028,
"result": "You have been through a lot, haven’t you? But now things will change for good. Do not lose hope; it is going to be a year full of changes, both small and big. You are likely to experience a shift in your lifestyle. You will see a shift in your job profile or experience a potential boost in your work. Expect a year of change, with some surprises along the way. Stay flexible, take sensible care in daily life, and lean on the people close to you when things feel uncertain. \r\n\r\nA rumor might also spread in your name to sully your reputation but don’t let that bother you much. Things that are happening around you will stump you throughout the year. \r\nBut mainly, this year has potential for bringing a transition into your life. It is your time for ending the long and toxic relationship that has shackled you for ages. This year will give you the strength you need to cast off those negative ties. Prepare yourself to face anything. Whatever it may be, you need not worry. You will perform unbelievable wonders this year. Some seemingly impossible wishes will come true for you. If you have a business, especially an online business, it will see serious progress this year. \r\n\r\nYou only need to work on your abilities and improve your skills, and you will gain unbelievable results. Outcomes will only make you happy if your inputs are sufficient."
},
"four": {
"year": 2029,
"result": "You have been stalling a decision to start your family for a long time. But now that wait is over. This year is the year of family planning. It is time to take this new big step in your life. If you are unmarried, you are ready for the important commitment of getting married. This year, you will have many opportunities to get engaged or married. Making good use of the year and getting married would be a sensible decision, as things for you are accelerating quickly. If you are not planning on marriage, then things related to relationships will take place in full swing. You and your partner will be making decisions together, or you two might get involved in planning your future together. It is advised that you must consider the question of marriage this year.\r\n\r\nHowever, this year is important, not only for getting married but for breaking a relationship if it is not working. If a divorce or a breakup is your only way out of a toxic relationship, then it is time to walk out of that toxicity. Unless you remove yourself from such bondage, you will never be able to look at what life has in store for you.\r\n\r\nThis year will help you to strengthen your relations with your family, as well. If yours is a happy marriage, then a child may come into your life.\r\n\r\nThis year is also a great time to renovate your house or shift to a new house if that is something you have been planning. If you are aspiring for a career in education, the hotel industry, fashion, or the cosmetic industry, it will be a good time full of opportunities this year."
},
"five": {
"year": 2030,
"result": "It is the year of learning and evolving. Educating your soul and exercising self-growth and self-love should be the sole purpose of this year in your life. There are chances that you might feel like moving beyond your boundaries and family. You will learn that taking time out for yourself is not selfish, but necessary, and it will help you to discover new things about yourself and your life. You will be able to develop new skills. You will learn to be independent. All these will lead you to become a newer version of yourself. So, if you are planning to move out, then it is the perfect year to take this step. \r\n\r\nIf spirituality and divinity are things that satiate your soul, then this year will bring peace and tranquility to your life. You will have a great year of deep thinking and introspecting your life and choices. This year will provide you with a much-needed pause. You deserve to take time out from your busy life for yourself. This year will give you time to meet new people and explore new things.\r\n\r\nIt is the time when you can think solely for yourself. You have been through a lot. Therefore, if you feel you want to end a long-term relationship, that is what you need. There are chances of divorce as well. But if you wish to give your relationship a chance, then be patient. Or else you might not be able to sustain, and separation will become your only way out. You might start feeling lonely this year. You will be misunderstood for your choices. This indicates that you must refrain from making big decisions this year. \r\n\r\nIf you are researching any proposal for your degree, then this year will bring immense success to you. If you are practicing science and the Occult, then this year is the best time to venture deeper into your thesis. Focus on meditation and introspection. This year will strengthen you from within. It will make you strong and inspire you to indulge in spirituality. It will help you to learn new things."
}
}
}
Example Implementations
cURL
curl --location 'https://astroapi-7.divineapi.com/numerology/v1/yearly-prediction' \
--header 'Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'fname="Rahul"' \
--form 'lname="Kumar"' \
--form 'lan="en"'NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-7.divineapi.com/numerology/v1/yearly-prediction',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'fname': 'Rahul',
'lname': 'Kumar',
'lan': 'en'
}
};
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("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("fname", "Rahul");
form.append("lname", "Kumar");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-7.divineapi.com/numerology/v1/yearly-prediction",
"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://astroapi-7.divineapi.com/numerology/v1/yearly-prediction"
payload = {'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'fname': 'Rahul',
'lname': 'Kumar',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload,)
print(response.text)
Implementation Points
Always validate date inputs (day, month, year) before sending to the API to avoid unsuccessful responses.
Store the returned yearly blocks (first, second, third, four, five) as separate sections in your UI to present a timeline-style forecast.
Use the lan field to localize content for multilingual audiences without changing your app logic.
Secure your Authorization and api_key values on the server side; never expose them directly in public client code.