{
"status": 200,
"success": true,
"sunSigns": "gemini",
"timeFrames": "daily",
"Horoscope": "September 2, 2026 - Is it time to serve up those walking papers? With the moon in your twelfth house of healing and closure, the moment has come to cut ties with a toxic situation. That's never as easy as it sounds, so lean on the people who have your back, whether that’s a relative or a member of your chosen family. The moon is forming a supportive trine to Mercury in your homey fourth house, which puts self-care near the top of your priorities today. Considering a move? Scroll the listings on your lunch break, but sleep on anything that requires a signature."
}
curl --location --request GET 'https://zylalabs.com/api/891/horoscope+api/694/get+horoscope?sunsign=gemini&timeframe=daily' --header 'Authorization: Bearer YOUR_API_KEY'
{
"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'
{
"status": 200,
"success": true,
"sunSigns": "gemini",
"date": "2024-01-02",
"Horoscope": "Bizarre, unexpected developments might turn your life upside down today, Gemini. Money could be involved. New people could arrive who open doors that eventually lead to a new life. You could even fall in love at first sight. It isn't easy to make predictions for a strange day like this. Rest assured that when you go to bed you won't be the same person you were when you woke up."
}
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 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
关于API:
我们的星座API允许用户获取所有12种黄道带星座的每日运势。这包括每个星座的爱情生活、职业和整体健康的详细解读。
要使用API,只需发出一个GET请求,含有所需的星座和时间框架。
我们的星座API是占星爱好者和寻找生活指导与洞察的人的宝贵资源。它易于使用,可以集成到任何应用程序或网站中。今天就试试,看看星星为你准备了什么。
此API接收什么以及您的API提供什么(输入/输出)?
输入您想要的星座和运势,今天、昨天或明天,并获得:
除了每月的API调用限制外,没有其他限制。
“获取星座运势”接口返回指定星座的每日、每周或每月运势阅读,包括关于爱情、职业和福祉的洞察。“获取符号”接口提供支持的星座和时间范围的列表。“按日期”接口检索特定过去日期的运势
响应中的关键字段包括“状态”(HTTP状态代码)“成功”(表示请求成功的布尔值)“星座”(生肖)“时间范围”(请求的时间范围)和“ horoscope”(详细的星座运势文本)
用户可以在“获取星座运势”和“按日期”端点中指定参数,如“星座”(生肖)和“时间范围”(今天、昨天或明天)。“获取符号”端点不需要参数
响应数据采用JSON格式结构,顶层对象包含“status”“success”和特定星座详细信息等字段。这使得解析和集成到应用程序中变得简单
“获取星座运势”端点提供详细的运势解读,而“获取符号”端点列出可用的星座和时间范围。“按日期”端点允许检索特定过去日期的运势
用户可以通过选择所需的星座和时间范围来自定义请求,在向“获取星座运势”和“按日期”端点发起GET请求时,从而实现量身定制的星座运势解读
星座API从可信的占星来源和专家解读中聚合占星见解,以确保提供的星座阅读的质量和相关性
典型的用例包括开发星座应用程序、增强具有匹配功能的约会平台、创建基于星座建议活动的健康应用程序和管理分享每日星象见解的社交媒体账户