["aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces"]
curl --location --request GET 'https://zylalabs.com/api/13014/ai+horoscope+api/26464/get+available+signs' --header 'Authorization: Bearer YOUR_API_KEY'
["today","tomorrow","yesterday","weekly","monthly","yearly"]
curl --location --request GET 'https://zylalabs.com/api/13014/ai+horoscope+api/26463/get+available+periods' --header 'Authorization: Bearer YOUR_API_KEY'
{"weekly":["general","love","career","money","wellness"]}
curl --location --request GET 'https://zylalabs.com/api/13014/ai+horoscope+api/26465/get+available+types&period=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"day":7,"general":["Today you need to finish whatever you didn't get done yesterday, Leo. Themes of the journey include discipline and paying attention to the sand slipping through the hourglass. The more you're able to accomplish, the better you'll feel about yourself. Stagnant energy in your life signals that it's time to get things moving. Don't waste another moment waiting for someone else to find the solution for you. Take the initiative."],"language":"en","month":7,"period":"tomorrow","sign":"leo","timezone_offset":"-07:00","year":2026}
curl --location --request GET 'https://zylalabs.com/api/13014/ai+horoscope+api/26125/get+horoscope&sign=Required&/=Required&period=Required&/=Required&type=Required&/=Required&lang=Required' --header 'Authorization: Bearer YOUR_API_KEY'
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 AI Horoscope API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The AI Horoscope API is an advanced, user-friendly service designed to provide personalized astrological insights and forecasts based on real-time data and user parameters. This API serves as a bridge between complex astrological concepts and everyday users seeking guidance, inspiration, and understanding of their life’s trajectories. At its core, the AI Horoscope API harnesses sophisticated algorithms and machine learning techniques to analyze astrological charts, planetary movements, and celestial events. Users can obtain detailed horoscopes tailored to individual birth dates, times, and locations, ensuring unique insights that resonate with their personal experiences.
Each endpoint returns specific astrological insights. The "Get Horoscope" endpoint provides daily, weekly, monthly, or yearly forecasts tailored to zodiac signs. The "Get Available Periods" endpoint lists the timeframes for which horoscopes can be generated. The "Get Available Signs" endpoint returns a list of zodiac signs, while the "Get Available Types" endpoint specifies the types of insights available for a given period.
Key fields in the "Get Horoscope" response include "general" (the horoscope content), "sign" (the zodiac sign), "period" (timeframe), and "timezone_offset" (user's timezone). The "Get Available Types" response includes types like "general," "love," and "career," while "Get Available Signs" simply lists zodiac signs.
The response data is structured in JSON format. For example, the "Get Horoscope" endpoint returns an object with fields like "day," "month," "year," and an array of insights under "general." This structure allows easy parsing and utilization of the data in applications.
The "Get Horoscope" endpoint provides personalized forecasts based on zodiac signs. The "Get Available Periods" endpoint offers timeframes for horoscopes, while the "Get Available Signs" endpoint lists all zodiac signs. The "Get Available Types" endpoint details the types of insights available for specific periods.
The "Get Horoscope" endpoint requires parameters like "birth date," "zodiac sign," and "period" (daily, weekly, etc.). The "Get Available Types" endpoint uses the "period" parameter to return relevant horoscope types. Users can customize requests by specifying their zodiac sign and desired timeframe.
Users can utilize the returned data by parsing the JSON response to extract relevant insights. For example, they can display daily horoscopes on a user interface or analyze trends over time by comparing weekly or monthly forecasts. The structured format allows for easy integration into applications.
Typical use cases include personal guidance, daily motivation, and relationship insights based on astrological forecasts. Users may also integrate the API into wellness apps, lifestyle blogs, or social media platforms to provide personalized content to their audience.
Data accuracy is maintained through sophisticated algorithms that analyze astrological charts and planetary movements. The API leverages real-time data and machine learning techniques to ensure that the insights provided are relevant and personalized based on user parameters.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund