星座 API

我们的星座 API 允许用户获取所有 12 个星座的每日星座运势。它还包括基于生日的兼容性分析。只需发送一个 GET 请求,提供所需的星座和时间范围,即可获得详细的星座解读
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

关于API:

 

我们的星座API允许用户获取所有12种黄道带星座的每日运势。这包括每个星座的爱情生活、职业和整体健康的详细解读。

要使用API,只需发出一个GET请求,含有所需的星座和时间框架。

我们的星座API是占星爱好者和寻找生活指导与洞察的人的宝贵资源。它易于使用,可以集成到任何应用程序或网站中。今天就试试,看看星星为你准备了什么。

 

此API接收什么以及您的API提供什么(输入/输出)?

输入您想要的星座和运势,今天、昨天或明天,并获得:

 

此API的最常见用例是什么?

  1. 一个显示用户黄道带星座每日、每周或每月运势的运势应用。
  2. 一个包含基于占星星座和生日的相容性功能的约会应用。
  3. 一个为关注者发布每日运势的网站或社交媒体账户。
  4. 一个基于用户当天运势建议自我照顾活动的健康应用。
  5. 一个允许用户讨论和比较运势的占星论坛或社区网站。

 

您的计划是否存在任何限制?

除了每月的API调用限制外,没有其他限制。

API 文档

端点


获取今天、每周、每月以及一周中的任何一天。

 

声明您想要检索的星座和星座运势。

 

使用端点符号检查支持的时间框架和太阳星座。

 

 



                                                                            
GET https://zylalabs.com/api/891/horoscope+api/694/get+horoscope
                                                                            
                                                                        

获得星座运势 - 端点功能

对象 描述
sunsign [必需] aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces
timeframe [必需] daily, weekly, monthly. monday, tuesday, wednesday, thursday, friday, weekend.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {
    "status": 200,
    "success": true,
    "sunSigns": "gemini",
    "timeFrames": "monthly",
    "Horoscope": "Your October Gemini Monthly HoroscopeReady to add some spice to your fall escapades, Gemini? After a challenging three months—with love planet Venus AND your ruler, Mercury, both in signal-scrambling retrograde—you should finally start to feel back on your game. Your jokes will earn cackles instead of cancellations, and your fans will stop being impervious to your charms. Now that’s more like it!Enjoy this lift while the Sun is in Libra and your fifth house of passion, fame and magnetism through October 23, amplified by energizer Mars, which is in Libra until October 12. It may be cuffing season, but you probably won’t want to be tied to any one person when there are so many enticing choices.In the second half of October, eclipse season gets underway. The year’s last two game-changing lunar events arrive on October 14 and 28. The first one, a Libra solar eclipse, happens at the October 14 new moon. This could bring a romantic connection or a creative opportunity, perhaps even some fame, when you least expect it.Your spiritual life is in the spotlight at the October 28 lunar eclipse in Taurus and your twelfth house of surrender and serendipity. It’s time to let go of something you’ve been trying to control or desperately hold onto. This is the grand finale of a two-year Taurus/Scorpio eclipse series that’s rippled across your health, wellness and soul sectors since November 2021.With so much to process, you may actually feel relieved that all five of the slow-moving outer planets—Jupiter, Saturn, Uranus, Neptune and Pluto—are retrograde this whole month. The only exception is Pluto, which will turn direct (forward) in Capricorn and your deep-diving eighth house on October 10. Use this modulated pace to process all the changes from this year and get yourself centered. Eclipse season is bound to deliver its share of surprises.Scorpio season will also lend a helping hand. As the Sun spends a month in your orderly and clear-thinking sixth house starting October 23, you can break things down into bite-sized manageable steps. That long list seems a lot less daunting when you tackle it a piece at a time.On the shiny-happy side of things, the Sun is making its annual visit to Libra and your pleasure-seeking, playful fifth house until October 23. A touch of \"fall fever\" could overtake you as el Sol gives the frisky side of your Gemini nature cosmic permission to roam free. \nThe leaves won't be the only things putting their fiery colors on display! Sizzling Mars is also in Libra until October 12, adding a dash of drama and sending your charisma off the charts. During these glamorous and giddy three weeks, you'll be the life of every party as you hold court and build your fanbase. It’s is also a richly creative time, with the Sun warming up this expressive zone of your chart. Share your talents and nurture your artistic abilities. When the Sun is in this be-here-now zone, your best bet is to immerse yourself fully in the moment…your most direct path to joy.\nWatch for challenging fireworks on October 8, when Mars locks into a heated square with power-tripping Pluto, which is in your eighth house of intimacy and control. A fast-moving attraction could be stalled by your unwillingness (or theirs) to get truly vulnerable. Surrender is required at a certain point—but how soon is too soon? Some old trust issues could flare up. \nBefore you just react to those raw emotions, which you’ll be tempted to do under this powder-keg transit, look inward at what’s really driving up your fears or resistance. Don’t slam the drawbridge on a budding connection before you do! On the flip side, if you’re obsessing over someone, the Mars-Pluto square could spin you into tunnel vision if you’re not careful. Much as you’d like to control this situation, Gemini, people resent being micromanaged. YOU certainly do!And if that weren’t enough, there’s a whole lot more activation energy afoot as Pluto, the planet all things hidden, makes its presence again after a five-month retrograde. Since May 1, Pluto’s been back-spinning through Aquarius and your visionary ninth house (until June 11), then Capricorn and your zone of merging, intimacy and shared possessions. \nOver the summer and early fall, you may have done some deep soul-searching and released turbulent emotions, like shame, resentment and codependence. Pluto’s retrograde might also have revealed fissures in your closest relationships. An ex could have resurfaced, driving up jealousy or suppressed desires. Button-pushing people may have acted as “mirrors” who reflected something you needed to examine within yourself. Anyone that you’re in a financial, emotional or sexual entanglement with could have been the source of a power struggle.\nIf you happen to have buried any feelings (retrogrades can cause us to suppress and avoid certain emotions), Pluto’s pivot back to forward motion could drive them up once again. Have you been unsure whether to trust someone or get financially entwined? Clarity could arrive over the next couple weeks. Aim to be more aboveboard with the people in your life. \nOn October 14, the year's only Libra new moon arrives, awakening your fifth house of passion, pleasure and expression. Even better? This one is a potent solar eclipse, the very first one to make landfall in Libra since 2016. \nThe eclipse could also bring love out of the blue! It will set off a six-month cycle that draws you out of your head (the Gemini “safety zone”) and helps you drop into your heart a little more. See what happens if you allow your emotions to roam free instead of trying to manage them. Your life could start to feel richer and more alive! Think: less control, more “carpe diem.”\nEclipses can bring surprises and sudden plot twists. In your fertile fifth house, this could bring unexpected baby news to Geminis of the childbearing set. Others might birth an amazing creative idea. This eclipse will prod you onto center stage, whether that means getting glam new headshots, booking a performance or just sharing more openly without caring about what anyone thinks.\nDon’t worry, you don’t have to make this change all at once. Between now and March 2025, eclipses will travel over the Aries/Libra axis, pushing you to be a bigger star AND a great team player. Today is a spotlight moment for you, Gemini. Step into that beam and let your personality rip. Don’t overthink it!And…cut! Fall friskiness and flamboyance give way to cleaner, greener days as the Sun moves into Scorpio and activates your sixth house of efficiency and wellness for a month. Get ready to turn over a new leaf amid the turning leaves. Before the holiday hedonism kicks into gear, use these coming four weeks to start some healthy habits and regular routines around eating, sleeping and exercise. With energizer Mars also in Scorpio from October 12 to November 24, you’ve got an added dose of motivation. Start wherever you are—the key is to get going and let the momentum build.\nLet's face it: You are far more productive when you get a full night's sleep, incorporate regular exercise in your lifestyle and eat your dark leafy greens. Sure, you can sneak in a little Halloween candy, but you’ll feel so much better if you also harvest recipes for healthy, anti-inflammatory and plant-based treats. Aim for moderation now, instead of extremes. \nThe sixth house rules helpful people, service and systems. Scorpio season is a great time to corral any chaos at work or home with a deep clean and decluttering, especially with Mars putting the wind in your sails. Take inventory of Team Gemini and make sure everyone’s feeling clear and connected. Tweak plans for the rest of the year and set a couple of ambitious “stretch goals” for between now and Black Friday. Get ready…the last eclipse of 2023 will arrive just a few days shy of Halloween. It’s also the grand finale of an eclipse series that’s rippled across the Taurus/Scorpio axis since November 2021, reshaping your approach to health, healing, work and wellbeing. \nOn October 28, the annual Taurus full moon, a partial lunar eclipse, floods your twelfth house of healing and closure with its “let it go” prompts. Is it time to release someone or something, Gemini? If you're hanging on to a person, situation or behavior that just isn't giving you life anymore, it's time to radically redirect those tides. \nYou might literally walk away, sure, but leaving isn't always the answer. As the saying goes, \"Wherever you go, there you are.\" Maybe a better focus would be to try to transform the situation by NOT trying to control, micromanage or save it. This full moon could be a powerful portal for a spiritual message—don't dismiss any strong intuitive flashes or inner guidance! An escape, preferably near water, could reset you and help you download some divine inspiration. \nLook back to the May 19 Taurus new moon for clues of what could come to fruition now. Where do you need support, including spiritual and emotional? This lunar eclipse is about receiving. Lean on your tried-and-true champions or seek new ones, such as a therapist or healer.\nIn sync with the lunar eclipse, lucky Jupiter in Taurus will oppose combative Mars in Scorpio. As you grow and expand in new directions, you may feel increasing stress from the people in your life. Their demands and needs could be at odds with your own need for greater independence. At this eclipse, you’re encouraged to fully use your voice and self-advocate, Bull...."
}
                                                                                                                                                                                                                    
                                                                                                    

获得星座运势 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/891/horoscope+api/694/get+horoscope?sunsign=gemini&timeframe=daily' --header 'Authorization: Bearer YOUR_API_KEY' 


    

检查支持的太阳星座和时间框架



                                                                            
GET https://zylalabs.com/api/891/horoscope+api/2450/get+symbols
                                                                            
                                                                        

测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"status":200,"success":true,"sunSigns":["aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces"],"timeFrames":["daily","weekly","monthly","monday","tuesday","wednesday","thursday","friday","weekend"]}
                                                                                                                                                                                                                    
                                                                                                    

获取符号 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/891/horoscope+api/2450/get+symbols' --header 'Authorization: Bearer YOUR_API_KEY' 


    

按日期获取今天和过去的星座运势



                                                                            
GET https://zylalabs.com/api/891/horoscope+api/3527/by+date
                                                                            
                                                                        

按日期 - 端点功能

对象 描述
sunsign [必需] Sunsign.
date [必需] Date YYYY-MM-DD
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"status":200,"success":true,"sunSigns":"capricorn","date":"2025-12-15","Horoscope":"A relationship that you may have recently formed might have you in a dither today, Capricorn. This could be romantic or some other sort of acquaintance. You might not be sure about which way you want this involvement to develop. This isn't the day to think much about it, as things probably won't become clear today. Wait a few days, get to know the person a little better, and then consider your options."}
                                                                                                                                                                                                                    
                                                                                                    

按日期 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/891/horoscope+api/3527/by+date?sunsign=gemini&date=2024-01-02' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 星座 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

星座 API FAQs

“获取星座运势”接口返回指定星座的每日、每周或每月运势阅读,包括关于爱情、职业和福祉的洞察。“获取符号”接口提供支持的星座和时间范围的列表。“按日期”接口检索特定过去日期的运势

响应中的关键字段包括“状态”(HTTP状态代码)“成功”(表示请求成功的布尔值)“星座”(生肖)“时间范围”(请求的时间范围)和“ horoscope”(详细的星座运势文本)

用户可以在“获取星座运势”和“按日期”端点中指定参数,如“星座”(生肖)和“时间范围”(今天、昨天或明天)。“获取符号”端点不需要参数

响应数据采用JSON格式结构,顶层对象包含“status”“success”和特定星座详细信息等字段。这使得解析和集成到应用程序中变得简单

“获取星座运势”端点提供详细的运势解读,而“获取符号”端点列出可用的星座和时间范围。“按日期”端点允许检索特定过去日期的运势

用户可以通过选择所需的星座和时间范围来自定义请求,在向“获取星座运势”和“按日期”端点发起GET请求时,从而实现量身定制的星座运势解读

星座API从可信的占星来源和专家解读中聚合占星见解,以确保提供的星座阅读的质量和相关性

典型的用例包括开发星座应用程序、增强具有匹配功能的约会平台、创建基于星座建议活动的健康应用程序和管理分享每日星象见解的社交媒体账户

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API