接口基本信息 会员免费代码示例 接口测试

请求参数

参数名 是否必传 默认值 说明
appsec 在用户中心-基本信息中获取
date 具体日期,如20210501

返回状态码

错误代码 原因 说明
AJAX_SUCCESS 请求成功
AJAX_EXCEPTION 系统异常
AJAX_NOTBUY 尚未购买服务
AJAX_OUTOFDATE 服务已过期
AJAX_NONELEFT 剩余请求次数已经为0
AJAX_NOTWHITELIST 请求IP不在白名单
AJAX_PARAM_ERR 请求参数有误

返回数据示例(JSON)

{
    "code":"AJAX_SUCCESS",
    "msg":"操作成功",
    "data":{
        
"liu_yao":"佛灭",
        
"wu_hou":"戴胜降于桑",
        
"nian_gan_zhi":"辛丑年 属牛 壁上土",
        
"yue_gan_zhi":"壬辰月 属龙 长流水",
        
"ri_gan_zhi":"己酉日 属鸡 大驿土",
        
"gong_li":"2021年5月1日",
        
"weekday":"六",
        
"xing_zuo":"金牛",
        
"run_nian":false,
        
"fading_jie_ri":"劳动节,",
        
"qita_jie_ri":"",
        
"nong_li":"二〇二一年三月二十日",
        
"jie_qi":"",
        
"li_chun":"2021-02-03 22:58:39",
        
"si_shen_shou":"朱雀",
        
"yue_tai_shen":"占门堂",
        
"tai_shen":"占大门外东北",
        
"xi_shen":"东北",
        
"cai_shen":"正北",
        
"fu_shen":"正南",
        
"pengzu_ji_hui":"己不破券二比并亡 酉不会客醉坐颠狂",
        
"chong":"鸡日 冲(癸卯)兔",
        
"sha":"东",
        
"xing_xiu":"南方柳土獐(凶)",
        
"xing_xiu_ge":"柳星造作主遭官,昼夜偷闭不暂安,埋葬瘟惶多疾病,田园退尽守冬寒,开门放水遭聋瞎,腰驼背曲似弓弯,更有棒刑宜谨慎,妇人随客走盘桓。",
        
"zhi_xing":"执",
        
"tian_shen":"天德黄道(吉)",
        
"shi_yi":"祭祀,祈福,求嗣,开光,解除,出火,拆卸,入宅,安床,修造,安门,纳畜,启钻,安葬,",
        
"jin_ji":"动土,破土,纳财,掘井,挂匾,开市,伐木,交易,",
        
"jiu_xing":"四绿木 巽(东南) 天权 玄空[文曲 吉] 奇门[天辅 大吉 杜门 阳] 太乙[招摇 安神]",
        
"yue_xiang":"更待",
        
"shu_jiu":null,
        
"san_fu":null,
        
"kong_wang":"年=辰巳 月=午未 日=寅卯",
        
"qian_jie_qi":"谷雨 2021-04-20 04:33:14",
        
"hou_jie_qi":"立夏 2021-05-05 14:47:01",
        
"time_list":[
            
{
                "time":"0:00-0:59",
                "gan_zhi":"甲子",
                "chong":"(戊午)马",
                "sha":"南",
                "na_yin":"海中金",
                "tian_shen":"司命",
                "hei_huang_dao":"黄道",
                "ji_xiong":"吉",
                "shi_yi":"无,",
                "jin_ji":"赴任,词讼,修造,动土,"
            }
,
            
{
                "time":"1:00-2:59",
                "gan_zhi":"乙丑",
                "chong":"(己未)羊",
                "sha":"东",
                "na_yin":"海中金",
                "tian_shen":"勾陈",
                "hei_huang_dao":"黑道",
                "ji_xiong":"凶",
                "shi_yi":"无,",
                "jin_ji":"诸事不宜,"
            }
,

            
......

            {
                "time":"23:00-23:59",
                "gan_zhi":"丙子",
                "chong":"(庚午)马",
                "sha":"南",
                "na_yin":"涧下水",
                "tian_shen":"天牢",
                "hei_huang_dao":"黑道",
                "ji_xiong":"凶",
                "shi_yi":"订婚,嫁娶,安床,移徙,入宅,修造,安葬,见贵,求财,",
                "jin_ji":"祭祀,祈福,斋醮,开光,赴任,出行,"
            }

        ]

    }
,
    "timeMs":336,
    "success":true
}

返回参数说明

名称 含义
liu_yao 六曜
wu_hou 物候
nian_gan_zhi 年干支
yue_gan_zhi 月份干支
ri_gan_zhi 日干支
gong_li 公历(阳历)
nong_li 农历(阴历)
weekday 星期几
xing_zuo 星座
run_nian 是否为闰年
fading_jie_ri 法定节假日
qita_jie_ri 其他节日
jie_qi 节气
li_chun 立春时间
si_shen_shou 四神兽
yue_tai_shen 本月胎神
tai_shen 今日胎神
xi_shen 今日喜神
cai_shen 今日财神
fu_shen 今日福神
pengzu_ji_hui 彭祖忌讳
chong 日冲
sha 日煞
xing_xiu 星宿
xing_xiu_ge 星宿歌诀
zhi_xing 执星
tian_shen 天神
shi_yi 适宜
jin_ji 禁忌
jiu_xing 九星
yue_xiang 月相
shu_jiu 数九
san_fu 三伏
kong_wang 空亡
qian_jie_qi 上一个节气
hou_jie_qi 下一个节气
time_list 十二时辰分时吉凶
time_list->time 时间段
time_list->gan_zhi 干支
time_list->chong 时冲
time_list->sha 时煞
time_list->na_yin 纳音
time_list->tian_shen 天神
time_list->hei_huang_dao 黑黄道
time_list->ji_xiong 吉凶
time_list->shi_yi 适宜
time_list->jin_ji 禁忌