Horoscope and Astrology API

Horoscope and Astrology provides horoscope predictions for daily, monthly, weekly, and yearly periods. Offers detailed horoscope information for various aspects of life

This API provides horoscope predictions for various zodiac signs across different time periods (daily, monthly, weekly, and yearly). It offers a comprehensive set of horoscope information, including general overviews, specific categories like food, home, love, career, and more.

Key Features:

- Supports 12 zodiac signs
- Provides horoscope predictions for daily, monthly, weekly, and yearly periods
- Offers detailed horoscope information for various aspects of life
- Provides a list of all zodiac signs

Endpoints:
1. Get Daily Horoscope
Endpoint: /v1/horoscopes/{sign}/daily
Parameters: sign (zodiac sign), date (YYYY-MM-DD) - Available dates are yesterday, today or tomorrow.
Response: Detailed daily horoscope for the specified sign

2. Get Monthly Horoscope
Endpoint: /v1/horoscopes/{sign}/monthly
Parameters: sign (zodiac sign), month (1-12)- Available months are previous, current or next
Response: Monthly horoscope for the specified sign and month

3. Get Weekly Horoscope
Endpoint: /v1/horoscopes/{sign}/weekly
Parameters: sign (zodiac sign), week_start (YYYY-MM-DD) - Avaialble for previous,  current or next week.
Response: Weekly horoscope for the specified sign starting from the given date

4. Get Yearly Horoscope
Endpoint: /v1/horoscopes/{sign}/yearly
Parameters: sign (zodiac sign), year (YYYY) - Available for previous, current or next year.
Response: Yearly horoscope for the specified sign and year

5. Get All Zodiac Signs
Endpoint: /v1/zodiac-signs
Response: List of all 12 zodiac signs

Best Practices:
Use the provided endpoints to fetch horoscope data for various zodiac signs and time periods
Handle potential error responses (400, 401, 403, 404, 500) appropriately
This API is ideal for astrology enthusiasts, app developers looking to integrate horoscope features, or anyone interested in accessing detailed horoscope information programmatically.

 

API Documentation

Endpoints


Returns a list of all zodiac signs



                                                                            
GET https://zylalabs.com/api/5794/horoscope+and+astrology+api/7541/get+zodiac+signs
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"items":[{"name":"Aries"},{"name":"Taurus"},{"name":"Gemini"},{"name":"Cancer"},{"name":"Leo"},{"name":"Virgo"},{"name":"Libra"},{"name":"Scorpio"},{"name":"Sagittarius"},{"name":"Capricorn"},{"name":"Aquarius"},{"name":"Pisces"}]}
                                                                                                                                                                                                                    
                                                                                                    

Get Zodiac Signs - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7541/get+zodiac+signs' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns the monthly horoscope for a given zodiac sign and month



                                                                            
GET https://zylalabs.com/api/5794/horoscope+and+astrology+api/7542/get+monthly+horoscope
                                                                            
                                                                        

Get Monthly Horoscope - Endpoint Features

Object Description
month [Required] Current or next month
sign [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"month":3,"year":2025,"sign":"CANCER","overview":"March 2025 brings a mixture of opportunities and challenges for Cancers. With a strong emphasis on relationships this month, you may find yourself re-evaluating connections that no longer serve you. The Full Moon in Libra on March 25th will illuminate your partnership sector, urging you to seek balance and fairness in your relationships. Use this time to communicate openly and honestly about your feelings. Professionally, some unexpected changes might occur; remain adaptable and open to new possibilities that can lead to growth. It's a good month for self-care and nurturing your emotional well-being; consider dedicating time to creative outlets or spending time near water, which will replenish your spirit. Financially, be cautious with your spending as impulsivity may lead to dissatisfaction later. Overall, focus on fostering harmony in your personal and professional life, as this will set the foundation for a fruitful future."}
                                                                                                                                                                                                                    
                                                                                                    

Get Monthly Horoscope - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7542/get+monthly+horoscope?month=04&sign=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns the yearly horoscope for a given zodiac sign and year



                                                                            
GET https://zylalabs.com/api/5794/horoscope+and+astrology+api/7543/get+yearly+horoscope
                                                                            
                                                                        

Get Yearly Horoscope - Endpoint Features

Object Description
year [Required] Current or next year
sign [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"year":2026,"sign":"LIBRA","overview":"In 2026, Libras will experience a year marked by balance and harmony in both personal and professional realms. As Jupiter transits through your sign for most of the year, expect opportunities for growth, new partnerships, and an expansion of your social network. Relationship dynamics will take center stage; it's a favorable time for love and strengthening bonds with friends and family. Embrace open communication and negotiation to resolve any lingering conflicts, especially in the spring months. The influence of Saturn encourages discipline and commitment in your pursuits, cultivating a more structured approach to your goals. Health will require attention, particularly around mid-year, so prioritize self-care and mindfulness practices. Overall, 2026 is a year of personal empowerment, alignment with your true self, and elevating your aspirations."}
                                                                                                                                                                                                                    
                                                                                                    

Get Yearly Horoscope - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7543/get+yearly+horoscope?year=2026&sign=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns the weekly horoscope for a given zodiac sign and week start date



                                                                            
GET https://zylalabs.com/api/5794/horoscope+and+astrology+api/7544/get+weekly+horoscope
                                                                            
                                                                        

Get Weekly Horoscope - Endpoint Features

Object Description
week_start [Required] Current or next week
sign [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"week_start":"2025-01-05","week_end":"2025-01-11","sign":"LIBRA","overview":"This week, Libras will find themselves in a dynamic atmosphere, where the themes of cooperation and balance will be highlighted. With the Moon in your sign at the beginning of the week, you are encouraged to focus on personal relationships and how they reflect your own desires. Use this energy to connect deeply with loved ones, as open conversations can bring clarity. Midweek, Venus will be influential, enhancing your charm and persuasive abilities; this is an excellent time for negotiations or social gatherings. However, stay mindful of overindulgence in social activities or luxury, as the latter part of the week calls for introspection and reevaluating your priorities. A challenge may arise on the weekend when conflicting interests present themselves, but remember, diplomacy is your strength. Stay balanced and seek compromise β€” your natural ability to mediate will shine through."}
                                                                                                                                                                                                                    
                                                                                                    

Get Weekly Horoscope - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7544/get+weekly+horoscope?week_start=2024-01-05&sign=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns the daily horoscope for a given zodiac sign and date



                                                                            
GET https://zylalabs.com/api/5794/horoscope+and+astrology+api/7545/get+daily+horoscope
                                                                            
                                                                        

Get Daily Horoscope - Endpoint Features

Object Description
date [Required] Date in ISO format 2025-01-01
sign [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"date":"2025-02-04","sign":"TAURUS","overview":"A day filled with potential and opportunities lies ahead for Taurus. With the Moon in harmony with your sign, you'll find it easier to tap into your inner resources and express your needs confidently. Embrace any changes that come your way, as they might lead to positive growth and self-discovery.","food":"Opt for comfort foods that nourish your body and soul. A hearty meal featuring root vegetables or a rich, creamy pasta dish will satisfy your cravings and provide the energy you need.","home":"Creating a serene environment will be essential. Consider decluttering a space in your home to allow for fresh energy to flow. Adding a few green plants can enhance tranquility and promote a feeling of well-being.","dog":"Your furry friend may be more energetic than usual. Take time to engage in a longer walk or play session, allowing both of you to bond and enjoy the day outdoors.","cat":"Your cat may seek extra attention today. Be prepared for some affection as they purr their way into your heart. A cozy cuddle session could be just what both of you need.","bonus":"A small gesture of kindness you offer someone today may come back to you tenfold, so don’t hesitate to spread positivity.","love":"In matters of the heart, communication remains vital. If you’re in a relationship, sharing your feelings openly can deepen your connection. For singles, a chance encounter might lead to an intriguing conversation, sparking potential romantic interest.","career":"Career-wise, this is an optimal time for collaboration. Working alongside others on projects will not only enhance productivity but may also lead to innovative solutions. Don’t hesitate to voice your ideas; your perspective will be valued.","money":"Financially, an opportunity may present itself that could enhance your income. Stay vigilant and trust your instincts when it comes to making decisions. A cautious investment might prove fruitful, but ensure you do your research.","health":"Health-wise, prioritize relaxation. A grounding practice, such as yoga or meditation, will help alleviate any stresses. Be mindful of what you consume and consider incorporating more whole foods into your diet for optimal wellness."}
                                                                                                                                                                                                                    
                                                                                                    

Get Daily Horoscope - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7545/get+daily+horoscope?date=2025-02-04&sign=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Horoscope and Astrology API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The Horoscope API is a comprehensive solution that provides detailed horoscope information for all 12 zodiac signs across various time periods. It offers predictions for daily, monthly, weekly, and yearly horoscopes, covering various aspects of life such as love, career, finance, health, and more.

The API includes the following key features: - Predictions for daily, monthly, weekly, and yearly horoscopes - Detailed information on various aspects of life - Easy-to-use endpoints for quick integration into applications

There are several reasons to choose this API: - Accuracy: Every prediction is based on thorough research and analysis. - Reliability: With a 99.99% uptime guarantee, you can trust that the API will be available when needed. - Flexibility: Suitable for both small projects and large-scale applications. - Comprehensive Data: Provides detailed insights into various aspects of life

The API offers several endpoints for different types of horoscope predictions: - Get Daily Horoscope: /v1/horoscopes/{sign}/daily - Get Monthly Horoscope: /v1/horoscopes/{sign}/monthly - Get Weekly Horoscope: /v1/horoscopes/{sign}/weekly - Get Yearly Horoscope: /v1/horoscopes/{sign}/yearly - Get All Zodiac Signs: /v1/zodiac-signs

This API could be integrated into various applications, such as: - Mobile apps focused on horoscopes - Websites offering astrological services - Personal development tools incorporating astrological insights - Social media platforms sharing daily horoscopes - Content creation platforms for horoscope writers

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
91%
 Response Time
1,402ms

Category:


Related APIs