{
"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/7420/horoscope+information+api/11830/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/7420/horoscope+information+api/11836/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/7420/horoscope+information+api/11840/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收集来自信誉良好的占星资源和专家解读的占星洞察,以确保提供的星座阅读的质量和相关性
典型的用例包括开发星座应用程序 增强带有兼容性功能的约会平台 创建基于星座建议活动的健康应用程序 以及管理分享每日星象见解的社交媒体账户