{
"status": 200,
"success": true,
"sunSigns": "gemini",
"timeFrames": "daily",
"Horoscope": "July 27, 2026 - Is this a conversation or an interrogation, Gemini? Today's annual Sun-Pluto opposition charges your communications with intensity. Don't take anything at face value. Instead, read between the lines, since shady Pluto can mask people's true intentions. Do body language and words match? You could be pretty charged up too, so watch that you're not overwhelming people. One saving grace: compassionate Neptune in your eleventh house of friends is sextiling Pluto, so the right crew can help you decompress. Choose to be in company that calms your nervous system, not in a crowd that cranks it up."
}
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": "Your mental ability could be rather sluggish and lazy today. It could be that you aren't feeling as sharp as you'd like, Gemini. This is most likely a sign that you simply need to slow down and relax. Don't feel as if you always need to deliver the keynote address. Be more of an audience member today and take advice from the other people up on stage."
}
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 访问密钥"。
|
无长期承诺。随时升级、降级或取消。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
关于API:
我们的星座API允许用户获取所有12种黄道带星座的每日运势。这包括每个星座的爱情生活、职业和整体健康的详细解读。
要使用API,只需发出一个GET请求,含有所需的星座和时间框架。
我们的星座API是占星爱好者和寻找生活指导与洞察的人的宝贵资源。它易于使用,可以集成到任何应用程序或网站中。今天就试试,看看星星为你准备了什么。
此API接收什么以及您的API提供什么(输入/输出)?
输入您想要的星座和运势,今天、昨天或明天,并获得:
除了每月的API调用限制外,没有其他限制。
“获取星座运势”接口返回指定星座的每日、每周或每月运势阅读,包括关于爱情、职业和福祉的洞察。“获取符号”接口提供支持的星座和时间范围的列表。“按日期”接口检索特定过去日期的运势
响应中的关键字段包括“状态”(HTTP状态代码)“成功”(表示请求成功的布尔值)“星座”(生肖)“时间范围”(请求的时间范围)和“ horoscope”(详细的星座运势文本)
用户可以在“获取星座运势”和“按日期”端点中指定参数,如“星座”(生肖)和“时间范围”(今天、昨天或明天)。“获取符号”端点不需要参数
响应数据采用JSON格式结构,顶层对象包含“status”“success”和特定星座详细信息等字段。这使得解析和集成到应用程序中变得简单
“获取星座运势”端点提供详细的运势解读,而“获取符号”端点列出可用的星座和时间范围。“按日期”端点允许检索特定过去日期的运势
用户可以通过选择所需的星座和时间范围来自定义请求,在向“获取星座运势”和“按日期”端点发起GET请求时,从而实现量身定制的星座运势解读
星座API从可信的占星来源和专家解读中聚合占星见解,以确保提供的星座阅读的质量和相关性
典型的用例包括开发星座应用程序、增强具有匹配功能的约会平台、创建基于星座建议活动的健康应用程序和管理分享每日星象见解的社交媒体账户