Horoscopes API For Your Website, Apps and White Label Solutions

Our Horoscopes API is designed to provide developers with daily horoscopes for each zodiac sign, generated using accurate and reliable astrological principles. Whether you’re building a mobile app, website, or any other kind of digital platform, our API can contribute valuable quality content for your audience.

Our API provides daily horoscopes for all 12 zodiac signs, updated every 24 hours to ensure the latest and most accurate predictions. With our API, you can easily integrate horoscope content into your application or website, allowing your users to access personalized horoscopes with just a few clicks.

Our horoscopes are based on tried and tested astrological principles algorithms and machine learning models to generate horoscopes that are both engaging and full of valuable positive guidance. Our horoscopes cover various aspects of life, including love, career, finance, health, and more, providing your users with a comprehensive and insightful reading.

In addition to providing high-quality horoscope data, we also offer flexible pricing plans to fit your budget and needs. Our API is easy to use and comes with extensive documentation and support, ensuring a seamless integration process.

So if you’re looking to add a touch of fun and personalization to your digital platform, look no further than the Daily Horoscopes API. Sign up today and start integrating horoscope data into your project!

Signup for Updates and Free Support








Features:

  • All Horoscopes covered – Daily, Weekly and Monthly
  • Horoscope Subtypes Available – Overview, Love and Money
  • Content Features: Our horoscopes cover various aspects of life, including love, career, finance, health, and more, providing your users with a comprehensive and insightful reading.
  • Customisation: You can request for customisation of content to suit your audience demographics including tone, region, gender, age, length of horoscopes and any other customisation you can think of that needs to part of the content.
  • Multiple output formats: We offer multiple formats for retrieving data, including JSON, SQL, and CSV, making it easy to integrate our data into your platform. By default our API returns content in JSON format. If you would like any other format including monthly dump sent by email please request for customisation.
  • Developer-friendly: Our API is designed with developers in mind, with code samples, tutorials, and best practices to help you integrate our data into your platform seamlessly. Please feel free to contact support to help with integration.
  • Scalable: Our API can handle large volumes of requests and is built on a scalable infrastructure, ensuring fast and reliable performance even during peak usage periods.

Price Plans

We offer both monthly and yearly subscription pricing plans. Our yearly plans offer upto 20% discount over monthly plans. You can cancel anytime. Feel free to get in touch if you have further questions.

Yearly Plans

Daily Overview API
$100
per year
  • Daily Overview Content
  • Upto 16% discount over monthly
  • JSON REST API
  • Email and Chat Support
ALL IN ONE API
$400
per year
  • Daily Weekly Monthly Content
  • Includes all 3 sub-types: Overview, Love and Money
  • Upto 16% discount over monthly
  • JSON REST API
  • Email and Chat Support
Customization
$100
Setup fee then as per plan
  • Custom Content
  • Custom Format
  • One time fees only for initial custom setup

Monthly Plans

Daily Overview API
$10
per month
  • Daily Overview Content
  • JSON REST API
  • Email and Chat Support
ALL IN ONE API
$40
per month
  • Daily Weekly Monthly Content
  • Includes all 3 sub-types: Overview, Love and Money
  • JSON REST API
  • Email and Chat Support
Customization
$100
Setup fee then as per plan
  • Custom Content
  • Custom Format
  • One time fees only for initial custom setup

Getting Started and Documentation

Horoscopes JSON RESTful API

If you are looking forward to use our horoscopes on your apps, software or some custom requirements you can send API calls to api.ask-oracle.com/v2/ endpoint with dt date parameters in YYYY-MM-DD format

https://api.ask-oracle.com/v2/?key=demo&dt=2023-04-11

Above returns daily, weekly and monthly horoscopes content in JSON format as per your plan. Use API KEY demo to view our content

Code Samples

Basic Implementation

<?php
$askoracle_api_key = "demo";
//$dt = date("Y-m-d");
$dt = "2023-04-11";
$url = "https://api.ask-oracle.com/v2/?key={$askoracle_api_key}&dt={$dt}";
$data = file_get_contents($url);
$json = json_decode($data);

// Loop through each zodiac sign and retrieve the horoscope
foreach ($json->{'content'}->{'daily'}->{'overview'} as $sign => $horoscope) {
    echo $sign . ' horoscope: ' . $horoscope . '<br>';
}
?>
import requests

url = 'https://api.ask-oracle.com/v2/'
#params = {'key': 'demo', 'dt': date.today().strftime("%Y-%m-%d")}
params = {'key': 'demo', 'dt': '2023-04-11'}

response = requests.get(url, params=params)
json_data = response.json()

# Loop through each zodiac sign and retrieve the horoscope
for sign, horoscope in json_data['content']['daily']['overview'].items():
    print(sign + ' horoscope: ' + horoscope)
//const url = 'https://api.ask-oracle.com/v2/?key=demo&dt=' + new Date().toISOString().split('T')[0];
const url = 'https://api.ask-oracle.com/v2/?key=demo&dt=2023-04-11';

fetch(url)
  .then(response => response.json())
  .then(data => {
    // Loop through each zodiac sign and retrieve the horoscope
    for (const sign in data.content.daily.overview) {
      const horoscope = data.content.daily.overview[sign];
      console.log(sign + ' horoscope: ' + horoscope);
    }
  });

Past and Future Horoscopes

<?php
function fetch_horoscope($api_key, $date) {
    $url = "https://api.ask-oracle.com/v2/?key={$api_key}&dt={$date}";
    $data = file_get_contents($url);
    return json_decode($data);
}

function display_horoscope($json, $day, $sign) {
    $horoscope = $json->{'content'}->{'daily'}->{'overview'}->{$sign};
    echo $day . ' ' . $sign . ' horoscope: ' . $horoscope . '<br>';
}

$askoracle_api_key = "demo";
$current_date = new DateTime();
$yesterday = $current_date->modify('-1 day')->format('Y-m-d');
$tomorrow = $current_date->modify('+2 day')->format('Y-m-d');

$json_yesterday = fetch_horoscope($askoracle_api_key, $yesterday);
$json_tomorrow = fetch_horoscope($askoracle_api_key, $tomorrow);

$sign = 'aries';

display_horoscope($json_yesterday, 'Yesterday\'s', $sign);
echo '<br>';
display_horoscope($json_tomorrow, 'Tomorrow\'s', $sign);
?>
import requests
from datetime import datetime, timedelta

def fetch_horoscope(api_key, date):
    url = f"https://api.ask-oracle.com/v2/?key={api_key}&dt={date}"
    response = requests.get(url)
    return response.json()

def display_horoscope(json_data, day, sign):
    horoscope = json_data['content']['daily']['overview'][sign]
    print(f"{day} {sign} horoscope: {horoscope}")

askoracle_api_key = "demo"
current_date = datetime.now()
yesterday = (current_date - timedelta(days=1)).strftime('%Y-%m-%d')
tomorrow = (current_date + timedelta(days=1)).strftime('%Y-%m-%d')

json_yesterday = fetch_horoscope(askoracle_api_key, yesterday)
json_tomorrow = fetch_horoscope(askoracle_api_key, tomorrow)

sign = 'aries'

display_horoscope(json_yesterday, "Yesterday's", sign)
print()
display_horoscope(json_tomorrow, "Tomorrow's", sign)
const fetchHoroscope = async (apiKey, date) => {
  const url = `https://api.ask-oracle.com/v2/?key=${apiKey}&dt=${date}`;
  const response = await fetch(url);
  return await response.json();
};

const displayHoroscope = (json, day, sign) => {
  const horoscope = json.content.daily.overview[sign];
  console.log(`${day} ${sign} horoscope: ${horoscope}`);
};

const askoracleApiKey = 'demo';
const currentDate = new Date();
const yesterday = new Date(currentDate);
yesterday.setDate(yesterday.getDate() - 1);
const yesterdayFormatted = yesterday.toISOString().split('T')[0];

const tomorrow = new Date(currentDate);
tomorrow.setDate(tomorrow.getDate() + 1);
const tomorrowFormatted = tomorrow.toISOString().split('T')[0];

const sign = 'Aries';

fetchHoroscope(askoracleApiKey, yesterdayFormatted).then((jsonYesterday) => {
  displayHoroscope(jsonYesterday, "Yesterday's", sign);
});

fetchHoroscope(askoracleApiKey, tomorrowFormatted).then((jsonTomorrow) => {
  displayHoroscope(jsonTomorrow, "Tomorrow's", sign);
});

WordPress Plugin

Step 1: Upload and Activate the Plugin

  1. Go to the WordPress Admin Dashboard.
  2. Navigate to “Plugins” > “Add New Plugin”.
  3. Download the plugin zip file and upload it on your WordPress Add New Plugin screen.

Step 2: Use the Shortcode

You can now use the shortcode [horoscope sign="gemini" category="daily" type="overview" showPrevNext="true"] in posts or pages to display the horoscope for Gemini.

Step 3: Configure the API Key

  1. Go to “Settings” > “Horoscope” in the WordPress Admin Dashboard.
  2. Enter your API key and save changes.

Example usage in a wordpress page or post:

[horoscope sign="gemini" category="daily" type="overview" showPrevNext="true"]

Frequently Asked Questions

Can I get Horoscopes API for free?

Unfortunately we are unable to offer free subscriptions to our API at this time to anyone for any reasons. You can use the demo key to preview our content and prepare your app before making the mind to purchase our subscription.

What API types are supported?

We offer a RESTful API. The default output format is JSON. Feel free to contact us and get it customised to your needs

What do I need to access the API?

You will need an API KEY to get unlimited unrestricted access to our Horoscope API. Buy your desired plan and your order will be under processing. Once the order has been marked as completed, go to My Account API KEY section where you will see your API KEY. For any queries regarding your order, please feel free to Contact Us.

You can then use our code samples to easily integrate the api in your frontend or backend.

Are these horoscopes based on Astrology? What astrology technique is being used to prepare these horoscopes?

Yes, our horoscopes are 100% based on Astrology. Our astrologer has 20 years of experience in this field and is very well versed in various forms of Astrology including western astrology, Vedic (hindu) astrology, natal chart horoscopy, horary horoscopy and use of planetary transits, progressions and divisional charts.

We use transits of Moon to prepare our daily horoscopes, we make use of transits of Mercury and Venus to prepare our weekly horoscopes and for the monthly horoscopes we make use of solar returns as well as transits of Mars.

We have done extensive testing and research on our methods and they produce accurate and reliable horoscopes.

Is this horoscope content suitable to all audiences?

Yes! Horoscopes are suitable for everyone above 13+ years of age but generally apply to women in their 20s and 30s. They should acc

Is yesterday and tomorrow daily horoscope available? What about previous week and next week? and previous month and next month?

Yes we have you covered! Fetching the yesterday horoscopes or tomorrow horoscopes is just a matter of passing the correct date with your api request. Same goes for weekly and monthly. Please refer to our code samples to get you started.

Can I customise the content to suit my audience?

Yes! We offer customisation options such as tone, region, gender, age, and length of horoscopes, among others. We charge an initial setup fee to process your request. Contact us to discuss your requirements.

What are the supported languages?

We offer horoscope API in every major language including English, Spanish, Hindi, Chinese, Korean and so on.

Is there any limit to API usage?

Currently the APIs are unmetered and unrestricted. We do not allow abuse of our API and may throttle the requests in certain cases to keep our systems stable.

What countries and payment methods are supported?

We support all customers having a valid VISA or a MasterCard. Certain countries with Apple Pay and Google Pay are supported too. We also offer PayPal for all other global customers. An 18% GST will be levied on our customers from India.

How can I get in touch with you for support and requests?

If you face any issues, please feel free to Contact Us.

Live Demo

30 Comments
  1. smsirkutsk March 11th, 2023

    How to access your API? Is this a paid feature?

  2. Sanjay September 11th, 2021

    Wanted to own a portal(app and desktop) for astrology marketplace

  3. Deepak May 20th, 2021

    Ask Oracle website with ad placement plugin use

  4. Ashok January 17th, 2021

    I wan API

  5. sunil December 23rd, 2020

    I am interested for Astrology API for my Website AskAcharya.com

  6. wordpress December 20th, 2020

    It’s actually a nice and helpful piece of information. I
    am glad that you shared this useful info with us. Please keep us
    up to date like this. Thank you for sharing.

  7. Harry Caballeros April 19th, 2020

    Hi, how do I get access to your API? How much does it cost?

  8. DIVINE MESSENGER February 18th, 2020

    How Can I get Your Reputed API

  9. DIVINE MESSENGER February 18th, 2020

    How Can I get API for Dial199.com

    • Author
      Ask Oracle February 19th, 2020

      Please check your email inbox.

  10. gorman.mi January 12th, 2020

    Hello there,
    I notice your WordPress plugin has been closed down by the WP people. Can you suggest the next most effective solution, will the iFrame work?

    • Author
      Ask Oracle January 12th, 2020

      Plugin uses iframe internally. You can use iframe, it is as good as plugin.

  11. astrologygemsstone September 16th, 2019

    how can I get API key

  12. sspl July 5th, 2018

    how can i remove copy right is it possible?

    • Author
      Ask Oracle July 6th, 2018

      We do offer a White Label solution that allows for removal of copyright and attribution requirements. Available as API or a monthly dump. Please contact us for pricing.

  13. Amit March 2nd, 2018

    Do you provide software solution for these readings too. I mean can we download or purchase the software you use currently we are running Android app kickboss

  14. rashmi February 20th, 2018

    i want to delete the copywrite, Can I will do that?

    • Author
      Ask Oracle February 20th, 2018

      Please use the API and give us the credit somewhere on the page.

    • Author
      Ask Oracle July 6th, 2018

      We do offer a White Label solution that allows for removal of copyright and attribution requirements. Available as API or a monthly dump. Please contact us for pricing.

  15. booumxae545 February 18th, 2018

    How to change the tamil language

    • Author
      Ask Oracle July 6th, 2018

      Currently only available in English and Hindi.

  16. Eric Weiss September 28th, 2017

    I added your widget to our website. I’m wondering why the actual horoscopes are in gray type and difficult to read. Is there a fix? This is how I customized the code:

    • Author
      Ask Oracle September 29th, 2017

      You have to use this value in params (for Black) –

      textcolor=black

  17. Mystic Lady August 22nd, 2017

    Hello, i used this plug in on my metaphysical site https://mysticculture.com but I want to customize it. How do you recommend I do that? Please let me know. Thanks!

    • Author
      Ask Oracle August 23rd, 2017

      Hi, exactly what customizations do you need? Would you like to match it to your site’s theme and color ?

      • Mystic Lady September 28th, 2017

        I would like to enlarge the over a widget. Also is there a way for me to replace the icons?

    • Author
      Ask Oracle September 29th, 2017

      Do you have new icons ready? Replacing icons isn’t possible without recreating the entire widget. We can make this change for a small fee.

      I am not sure what you mean by “enlarge the over a widget”.

  18. Raghavendra February 21st, 2017

    thanks for publishing this post, i will use this for my next website

  19. Maslam January 25th, 2017

    I have used this service on my website at http://bongoflavamp3.com and it looks good.

Leave a reply

Your email address will not be published. Required fields are marked *

*

Live Psychics