Skip to content

天文计算

全球支持,逐日更新

月亮

bash
# days: int, 最大 15 天
curl "https://api.caiyunapp.com/v1/astro/moon?lat=39&lng=116&token=TOKEN&days=2"

返回结构

json
{
  "status": "ok",
  "data": [
    {
      "date": "2021-12-29",
      "rise": "02:07:46",
      "phase": 289.63,
      "set": "13:16:29",
      "phase_name": "下弦月"
    },
    {
      "date": "2021-12-30",
      "rise": "03:20:34",
      "phase": 302.78,
      "set": "13:48:11",
      "phase_name": "残月"
    }
  ]
}

注:月升月落不是每一天都一定会有,默认值是 "-" 表示没有月升或者月落

太阳系主要天体

Coming soon

当前恒星分布

Coming soon