{
"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/7419/horoscope+data+api/11833/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/7419/horoscope+data+api/11835/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/7419/horoscope+data+api/11841/by+date?sunsign=gemini&date=2024-01-02' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 星座数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
关于API:
我们的星座数据API允许用户获取所有12个星座的每日星座运势。这包括每个星座在爱情生活、事业和整体幸福感方面的详细解读。
要使用此API,只需发送带有所需星座和时间范围的GET请求。
我们的星座数据API是占星爱好者和那些寻求指导和洞察日常生活的人的宝贵资源。它易于使用,并且可以集成到任何应用或网站中。今天就试试,看看星星为你准备了什么。
“获取星座运势”接口返回指定星座的每日、每周或每月运势解读,包括爱情、职业和健康方面的见解 “获取符号”接口提供支持的星座和时间范围列表 “按日期”接口检索特定过去日期的运势
响应中的关键字段包括“状态”(HTTP 状态码) “成功”(指示请求成功的布尔值) “星座”(生肖) “时间范围”(请求的时间范围) 和“ horoscope”(详细的星座运势文本)
用户可以在“获取星座运势”和“按日期”接口中指定参数,例如“星座”(生肖)和“时间范围”(今天、昨天或明天)。“获取符号”接口不需要参数
响应数据以JSON格式构建,顶层对象包含“状态”、“成功”和具体的星座详情等字段。这使得在应用程序中易于解析和集成
“获取星座运势”接口提供详细的星座运势解读,而“获取符号”接口列出了可用的生肖和时间范围。“按日期”接口允许检索特定过去日期的星座运势
用户可以通过在向“获取星座运势”和“按日期”端点发送GET请求时选择他们想要的星座和时间范围来自定义请求,从而实现量身定制的星座运势解读
星座数据API汇集了来自信誉良好的占星源和专家解读的占星见解,以确保提供的星座解读的质量和相关性
典型的用例包括开发星座应用程序 增强具有兼容性功能的约会平台 创建基于星座建议活动的健康应用程序 以及管理分享每日占星见解的社交媒体账户