{
"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/7422/horoscope+forecast+api/11834/get+horoscope?sunsign=gemini&timeframe=daily&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/7422/horoscope+forecast+api/11839/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/7422/horoscope+forecast+api/11842/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是占星爱好者和那些希望在日常生活中获得指导和洞察的人的宝贵资源。它易于使用,可以集成到任何应用程序或网站中。今天就试试它,看看星星为你准备了什么。
"获取星座运势"端点返回指定星座的每日、每周或每月运势阅读,包括爱情、事业和健康方面的见解 "获取符号"端点提供支持的星座和时间段列表 "按日期"端点检索特定过去日期的星座运势
响应中的关键字段包括“状态”(HTTP状态码)“成功”(指示请求成功的布尔值)“星座”(十二生肖)“时间范围”(请求的时间范围)和“星座运势”(详细的运势文本)
用户可以在“获取星座运势”和“按日期”接口中指定参数,如“星座”和“时间范围”(今天、昨天或明天)。“获取符号”接口不需要参数
响应数据采用JSON格式结构,顶级对象包含“状态”、“成功”和具体的星座详细信息等字段。这使得解析和集成到应用程序中变得容易
“获取星座运势”端点提供详细的星座运势解读,而“获取符号”端点列出了可用的十二生肖和时间框架。“按日期”端点允许获取特定过去日期的星座运势
用户可以通过在向“获取星座运势”和“按日期”接口发起GET请求时选择他们所需的星座和时间范围来自定义请求,从而获得量身定制的星座阅读
星座预测API整合了来自可信的占星来源和专家解读的占星见解,以确保所提供的星座阅读的质量和相关性
典型的使用案例包括开发星座应用程序 增强具有兼容性特征的约会平台 创建根据星座建议活动的健康应用程序 以及管理分享每日占星见解的社交媒体账户