{"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"}]}
curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7541/get+zodiac+signs' --header 'Authorization: Bearer YOUR_API_KEY'
{"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."}
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'
{"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."}
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'
{"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."}
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'
{"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."}
curl --location --request GET 'https://zylalabs.com/api/5794/horoscope+and+astrology+api/7545/get+daily+horoscope?date=2025-02-03&sign=Required' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 星座和占星术 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
该 API 提供了不同时间段(每日、每月、每周和每年)各种星座的 horoscope 预测。它提供了一整套全面的 horoscope 信息,包括概述、食物、家庭、爱情、职业等具体分类。
主要特点:
- 支持 12 个星座
- 提供每日、每月、每周和每年的 horoscope 预测
- 为生活的各个方面提供详细的 horoscope 信息
- 提供所有星座的列表
端点:
1. 获取每日 horoscope
端点:/v1/horoscopes/{sign}/daily
参数:sign(星座)、date(YYYY-MM-DD) - 可用日期为昨天、今天或明天。
响应:指定星座的详细每日 horoscope
2. 获取每月 horoscope
端点:/v1/horoscopes/{sign}/monthly
参数:sign(星座)、month(1-12)- 可用月份为上一个、当前或下一个
响应:指定星座和月份的每月 horoscope
3. 获取每周 horoscope
端点:/v1/horoscopes/{sign}/weekly
参数:sign(星座)、week_start(YYYY-MM-DD) - 可用为上一个、当前或下一个星期。
响应:从给定日期起指定星座的每周 horoscope
4. 获取每年 horoscope
端点:/v1/horoscopes/{sign}/yearly
参数:sign(星座)、year(YYYY) - 可用为上一个、当前或下一个年份。
响应:指定星座和年份的每年 horoscope
5. 获取所有星座
端点:/v1/zodiac-signs
响应:所有 12 个星座的列表
最佳实践:
使用提供的端点获取不同星座和时间段的 horoscope 数据
妥善处理潜在的错误响应(400、401、403、404、500)
该 API 非常适合占星爱好者、希望集成 horoscope 功能的应用开发者或任何有兴趣以编程方式访问详细 horoscope 信息的人。
占星API是一个综合解决方案,提供12个星座在不同时间段的详细星座信息。它提供每日、每月、每周和每年的星座运势预测,涵盖生活的各个方面,如爱情、事业、财务、健康等更多内容。
该API包含以下关键特性: - 每日、每月、每周和每年的星座预测 - 关于生活各个方面的详细信息 - 易于使用的端点,便于快速集成到应用程序中
选择此API的原因有几个 - 精确性:每个预测都基于全面的研究和分析 - 可靠性:99.99%的正常运行时间保证您可以信任API在需要时可用 - 灵活性:适用于小型项目和大型应用程序 - 综合数据:提供对生活各个方面的详细见解
该API提供多个端点以获取不同类型的星座预测: - 获取每日星座运势:/v1/horoscopes/{sign}/daily - 获取每月星座运势:/v1/horoscopes/{sign}/monthly - 获取每周星座运势:/v1/horoscopes/{sign}/weekly - 获取每年星座运势:/v1/horoscopes/{sign}/yearly - 获取所有星座:/v1/zodiac-signs
此API可以集成到各种应用程序中,例如: - 专注于占星术的移动应用 - 提供占星服务的网站 - 融合占星见解的个人发展工具 - 分享每日星座运势的社交媒体平台 - 为占星作家提供内容创作的平台
每个端点返回针对特定时间框架的星座预测 每日 每周 每月 和 每年 端点提供对各种生活方面的概述和详细见解,例如爱情 职业 和 健康 而生肖端点返回12个生肖的列表
响应数据中的关键字段包括“星座”、“概述”和每日 Horoscope 的特定类别,如“食物”、“家庭”和“爱情”。每月和每年的响应还包括“月份”、“年份”和与这些时期相关的详细见解
每个端点接受特定的参数:每日星座运势需要“星座”和“日期”,月度星座运势需要“星座”和“月份”,每周星座运势使用“星座”和“周开始”,年度星座运势需要“星座”和“年份”。星座符号端点没有参数
响应数据采用JSON格式结构,每个端点返回一个包含相关字段的对象。例如,每日星座运势的响应包括“日期”、“星座”和各种生活方面的预测,而星座列表端点返回一个星座对象的数组
每个端点提供独特的见解:每日星座运势提供每日预测和具体建议;每周星座运势涵盖本周主题;每月星座运势提供对整个月的广泛概述;每年星座运势概述本年度的重要趋势。星座符号端点列出了所有星座
用户可以根据需求通过指定星座和相关时间参数(日期、月份、周开始或年份)来自定义请求。例如,要获取三月份巨蟹座的月运,用户可以调用月运接口并传入“sign=CANCER”和“month=3”
在响应数据中“概述”提供一般预测,而“食品”“家庭”和“爱情”等领域则为生活的这些方面提供量身定制的建议。例如,在每日星座运势的响应中“食品”可能建议安慰食品,而“家庭”则可能建议创造一个宁静的环境
通过占星专家的深入研究和分析来保持数据的准确性 定期更新和质量检查确保预测的相关性和可靠性 为用户提供关于不同时间段内其星座的可信见解