紫微流盘是以人出生的年、月、日、时确定十二宫的位置,构成紫微先天盘,大限盘,流年盘,流月盘,流日盘,流时盘结合各宫的星群组合,是一种古老而神秘的命理工具,被广泛应用于命运预测和个人发展的指导。 它通过对个人出生时间、地点等信息进行计算,得出一张详细的星盘图,从而揭示了一个人一生中的命运轨迹。
https://api.yuanfenju.com/index.php/v1/Liupan/zwlpan
如果不知道具体分,可以传数字 0
非必传,默认0
非必传,默认2
非必传,默认1
当pan_model为1、2、3、4时此参数必传
非必传,但是如果考虑真太阳时,省和市都必传,点击此处了解省市列表
$request_data = [ 'api_key' => 'FsF1CsVevk3N17w7oBkSydfSk', 'name' => '张三', 'sex' => '1', 'type' => '1', 'year' => '1988', 'month' => '11', 'day' => '8', 'hours' => '12', 'minute' => '20', ];
{ "errcode": 0, "errmsg": "请求成功", "notice": "本次测算结果仅供娱乐使用,请勿用于封建迷信和违法用途。", "data": { "base_info": { //基本信息 "zhen": { //考虑真太阳时才会有此字段,不考虑真太阳时就没有这个字段 "province": "北京市", "city": "北京", "jingdu": "116.46", //真太阳的经度 "weidu": "39.92", //真太阳的纬度 "shicha": "晚0小时14分10秒" //考虑真太阳的时差 }, "sex": "乾造", "name": "张三", "gongli": "2023年10月28日10时49分", //公历 "nongli": "2023年九月十四巳时", //农历 "qiyun": "6年6个月0天后起运", //起运 "jiaoyun": "2030-04-28后交运", //交运 "yinyang": "偏阴", //五行阴阳参考 "age": 1, //年龄 "mingsihua": "阴贪巨破", //命四化:阴贪巨破 "minggong": "巳", //命宫:巳 "shengong": "卯", //身宫:卯 "zidou": "酉", //子斗:酉 "liudou": "寅", //流斗:寅 "mingju": "土五局", //天盘局:土五局 "mingzhu": "武曲", //命主:廉贞 "shenzhu": "天同", //身主:天同 "yeargz": "癸卯", //年干支:癸卯 "monthgz": "壬戌", //月干支:癸亥 "daygz": "己未", //日干支:己未 "hourgz": "己巳", //时干支:己巳 "yearnayin": "金薄金", //年纳音:金薄金 "monthnayin": "大海水", //月纳音:大海水 "daynayin": "天上火", //日纳音:天上火 "hournayin": "大林木" //时纳音:大林木 "gendertype": "阴男", //紫微性别阴阳 }, "detail_info": { //注意:只有pan_model为0时才有先天盘 xiantian_info 数据 "xiantian_info": { //先天盘数据 "gong_pan": [{ //先天盘的12宫盘数据 //第1宫,先天亥宫信息 "minggong": "迁移宫", //命宫:迁移宫 "yinshou": "癸亥", //寅首:癸亥 "jiangxing": "指背", //将星:指背 "changsheng": "绝", //长生:绝 "daxian": "65-74", //大限:65-74 "xiaoxian": "白虎", //小限:白虎 "boshi": "力士", //博士星:力士 "ziweixing": "武曲", //紫微星:武曲 "ziweixing_xingyao": "平", //紫微星星耀:平 "ziweixing_xiantian_sihua": "", //先天盘紫微星四化:无 "ziweixing_sihua": "", //紫微星四化:无 "tianfuxing": "破军", //天府星:破军 "tianfuxing_xingyao": "陷", //天府星星耀:陷 "tianfuxing_xiantian_sihua": "禄",//先天盘天府星四化:禄 "tianfuxing_sihua": "", //天府星四化:无 "monthxing": "", //月星:无 "monthxing_xingyao": "", //月星星耀:无 "monthxing_xiantian_sihua": "", //先天盘月星四化:无 "monthxing_sihua": "", //月星四化:无 "hourxing": "台辅", //时星:台辅 "hourxing_xingyao": "", //时星星耀:无 "hourxing_xiantian_sihua": "", //先天盘时星四化:无 "hourxing_sihua": "", //时星四化:无 "yearganxing": "陀罗", //年干星:陀罗 "yearganxing_xingyao": "陷", //年干星星耀:陷 "yearganxing_xiantian_sihua": "",//先天盘年干星四化:无 "yearganxing_sihua": "", //年干星四化:无 "yearzhixing": "", //年支星:无 "yearzhixing_xingyao": "", //年支星星耀:无 "yearzhixing_xiantian_sihua": "", //先天盘年支星四化:无 "yearzhixing_sihua": "", //年支星四化:无 "qitaxing": "", //其他星:无 "qitaxing_xingyao": "", //其他星星耀:无 "qitaxing_xiantian_sihua": "", //先天盘其他星四化:无 "qitaxing_sihua": "" //其他星四化:无 "liunian_age_str": "1,13,25,37,49" //流年年龄 "xiaoxian_age_str": "1,13,25,37,49" //小限年龄 }, { //第2宫,先天子宫信息 "minggong": "疾厄宫", "yinshou": "甲子", ...... "qitaxing_sihua": "" "liunian_age_str": "" "liunian_age_str": "" }, { //第3宫,先天丑宫信息 "minggong": "财帛宫", "yinshou": "乙丑", ...... "qitaxing_sihua": "" "liunian_age_str": "" "liunian_age_str": "" }, { //第4宫,先天寅宫信息 "minggong": "子女宫", "yinshou": "甲寅", ...... "qitaxing_sihua": "" "liunian_age_str": "" "liunian_age_str": "" }, { //第5宫,先天卯宫信息 "minggong": "身夫妻宫", "yinshou": "乙卯", ...... "qitaxing_sihua": "" "liunian_age_str": "" "liunian_age_str": "" }, //第6宫,先天辰宫信息 {.....}, //第7宫,先天巳宫信息 {.....}, //第8宫,先天午宫信息 {.....}, //第9宫,先天未宫信息 {.....}, //第10宫,先天申宫信息 {.....}, //第11宫,先天酉宫信息 {.....}, //第12宫,先天戌宫信息 {.....}, //出生年到第一个大限年的所有童限流年列表,此列表的时间戳可以作为流年的liu_time参数传递 "liunian_list": [{ "liu_year": 2023, //童限流年 "liu_sui": 1, //童限年龄 "liu_year_timestamp": 1698422400 //童限流年时间戳,此时间戳可以作为【流年盘,即pan_model为1】的liu_time参数传递 }, { "liu_year": 2024, //童限流年 "liu_sui": 2, "liu_year_timestamp": 1730044800 }, { "liu_year": 2025, //童限流年 "liu_sui": 3, "liu_year_timestamp": 1761580800 }, { "liu_year": 2026, //童限流年 "liu_sui": 4, "liu_year_timestamp": 1793116800 }] }, //注意:只有pan_model为0时才有大限盘 daxian_info 数据 "daxian_info": [//大限盘数据 //第一轮大限数据 { "daxian_instructions": "第1轮大限", //大限轮描述 "daxian_frame_desc": "丁巳限", "daxian_frame_number": "5-14", //大限时间范围 所对应的年龄范围 "gong_pan": [{ //第1轮大限的12宫信息 //第1轮大限的,第1宫信息 "daxian_desc": "大限迁移宫", "xiaoxian_desc": "小限夫妻宫", "minggong": "迁移宫", "yinshou": "癸亥", "jiangxing": "指背", "changsheng": "绝", "daxian": "65-74", "xiaoxian": "白虎", "boshi": "力士", "ziweixing": "武曲", "ziweixing_xingyao": "平", "ziweixing_daxian_sihua": "", //大限盘紫微星四化:无 "ziweixing_xiantian_sihua": "", //先天盘紫微星四化:无 "tianfuxing": "破军", "tianfuxing_xingyao": "陷", "tianfuxing_daxian_sihua": "", "tianfuxing_xiantian_sihua": "禄", "monthxing": "", "monthxing_xingyao": "", "monthxing_daxian_sihua": "", "monthxing_xiantian_sihua": "", "hourxing": "台辅", "hourxing_xingyao": "", "hourxing_xiantian_sihua": "", "hourxing_daxian_sihua": "", "yearganxing": "陀罗", "yearganxing_xingyao": "陷", "yearganxing_daxian_sihua": "", "yearganxing_xiantian_sihua": "", "yearzhixing": "", "yearzhixing_xingyao": "", "yearzhixing_daxian_sihua": "", "yearzhixing_xiantian_sihua": "", "qitaxing": "", "qitaxing_xingyao": "", "qitaxing_daxian_sihua": "" "qitaxing_xiantian_sihua": "", "liunian_age_str": "1,13,25,37,49", "xiaoxian_age_str": "1,13,25,37,49", }, //第1轮大限的,第2宫信息 {......}, //第1轮大限的,第3宫信息 {......}, ...... //第1轮大限的,第12宫信息 {......}], //第1轮大限年从开始到结束每一年的流年信息(大限年每轮10个流年) "liunian_list": [ //第1轮大限第1个流年 { "liu_year": 2027, "liu_sui": 5, //第1轮大限第1个流年所对应的年龄 "liu_year_timestamp": 1824652800 //第1轮大限第1个流年的时间戳,此时间戳可以作为【流年盘,即pan_model为1】的liu_time参数传递 }, // 第1轮大限第2个流年 {......}, // 第1轮大限第3个流年 {......}, ....... // 第1轮大限第10个流年 {......}, ] }, //第二轮大限数据 { "daxian_instructions": "第2轮大限", "daxian_frame_desc": "丙辰限", "daxian_frame_number": "15-24", "gong_pan": [{....}], //第2轮大限年从开始到结束每一年的流年信息(大限年每轮10个流年) "liunian_list": [ { "liu_year": 2037, "liu_sui": 15, //第2轮大限第1个流年所对应的年龄 "liu_year_timestamp": 2140272000 }, // 第2轮大限第2个流年 {......}, // 第2轮大限第3个流年 {......}, ....... // 第2轮大限第10个流年 {......}, ] }, //第三轮大限数据 { "daxian_instructions": "第3轮大限", ...... }, ...... //第十二轮大限数据 { "daxian_instructions": "第12轮大限", ...... }, //注意:只有pan_model为1,且传递了liu_time参数,才有流年盘 liunian_info 数据 "liunian_info": { //流年数据 "gan_zhi": "丁未", //流年干支 "gong_pan": [ //流年12宫信息 //该流年下的,第1宫信息 { "xiaoxian_desc": "小限迁移宫", "liunian_desc": "年奴仆宫", "minggong": "迁移宫", "yinshou": "癸亥", "jiangxing": "指背", "changsheng": "绝", "daxian": "65-74", "xiaoxian": "白虎", "boshi": "力士", "ziweixing": "武曲", "ziweixing_xingyao": "平", "ziweixing_liunian_sihua": "", //流年四化 "ziweixing_xiantian_sihua": "", //先天四化 "tianfuxing": "破军", "tianfuxing_xingyao": "陷", "tianfuxing_liunian_sihua": "禄", "tianfuxing_xiantian_sihua": "", "monthxing": "", "monthxing_xingyao": "", "monthxing_liunian_sihua": "", "monthxing_xiantian_sihua": "", "hourxing": "台辅", "hourxing_xingyao": "", "hourxing_liunian_sihua": "", "hourxing_xiantian_sihua": "", "yearganxing": "陀罗", "yearganxing_xingyao": "陷", "yearganxing_liunian_sihua": "", "yearganxing_xiantian_sihua": "", "yearzhixing": "", "yearzhixing_xingyao": "", "yearzhixing_liunian_sihua": "", "yearzhixing_xiantian_sihua": "", "qitaxing": "", "qitaxing_xingyao": "", "qitaxing_liunian_sihua": "" "qitaxing_xiantian_sihua": "", "liunian_age_str": "1,13,25,37,49", "xiaoxian_age_str": "1,13,25,37,49", }, //该流年下的,第2宫信息 {......}, //该流年下的,第3宫信息 {......}, ...... //该流年下的,第12宫信息 {......}], ], //该流年下,每个月的流月信息 "liuyue_list": [{ "liu_month": "正月", "liu_month_timestamp": 1798732800 //该指定流年下,对应的第1个流月时间戳,此时间戳可以作为【流月盘,即pan_model为2】的liu_time参数传递 }, { "liu_month": "二月", "liu_month_timestamp": 1801411200 }, { "liu_month": "三月", "liu_month_timestamp": 1803830400 }, { "liu_month": "四月", "liu_month_timestamp": 1806508800 }, { "liu_month": "五月", "liu_month_timestamp": 1809100800 }, { "liu_month": "六月", "liu_month_timestamp": 1811779200 }, { "liu_month": "七月", "liu_month_timestamp": 1814371200 }, { "liu_month": "八月", "liu_month_timestamp": 1817049600 }, { "liu_month": "九月", "liu_month_timestamp": 1819728000 }, { "liu_month": "十月", "liu_month_timestamp": 1822320000 }, { "liu_month": "冬月", "liu_month_timestamp": 1824998400 }, { "liu_month": "腊月", "liu_month_timestamp": 1827590400 }] }, //注意:只有pan_model为2,且传递了liu_time参数,才有流月盘 liuyue_info 数据 "liuyue_info": { "gan_zhi": "己酉", //流月干支 "gong_pan": [ //流月12宫信息 //该流月下的,第1宫信息 { "liunian_desc": "年迁移宫", "liuyue_desc": "月官禄宫", "minggong": "迁移宫", "yinshou": "癸亥", "jiangxing": "指背", "changsheng": "绝", "daxian": "65-74", "xiaoxian": "白虎", "boshi": "力士", "ziweixing": "武曲", "ziweixing_xingyao": "平", "ziweixing_xiantian_sihua": "", //先天盘紫微星四化:无 "ziweixing_liuyue_sihua": "", //流月盘紫微星四化:无 "tianfuxing": "破军", "tianfuxing_xingyao": "陷", "tianfuxing_xiantian_sihua": "禄", "tianfuxing_liuyue_sihua": "", "monthxing": "", "monthxing_xingyao": "", "monthxing_xiantian_sihua": "", "monthxing_liuyue_sihua": "", "hourxing": "台辅", "hourxing_xingyao": "", "hourxing_xiantian_sihua": "", "hourxing_liuyue_sihua": "", "yearganxing": "陀罗", "yearganxing_xingyao": "陷", "yearganxing_xiantian_sihua": "", "yearganxing_liuyue_sihua": "", "yearzhixing": "", "yearzhixing_xingyao": "", "yearzhixing_xiantian_sihua": "", "yearzhixing_liuyue_sihua": "", "qitaxing": "", "qitaxing_xingyao": "", "qitaxing_xiantian_sihua": "", "qitaxing_liuyue_sihua": "" "liunian_age_str": "1,13,25,37,49" "xiaoxian_age_str": "1,13,25,37,49" }, //该流月下的,第2宫信息 {......}, //该流月下的,第3宫信息 {......}, ...... //该流月下的,第12宫信息 {......}], ], //该流月下,每个日的流日信息 "liuri_list": [{ "liu_day": "初一", "liu_day_timestamp": 1822320000 //该指定流月下,对应的第1个流日时间戳,此时间戳可以作为【流日盘,即pan_model为3】的liu_time参数传递 }, { "liu_day": "初二", "liu_day_timestamp": 1822406400 }, ...... { "liu_day": "廿八", "liu_day_timestamp": 1824652800 }, { "liu_day": "廿九", "liu_day_timestamp": 1824739200 }, { "liu_day": "三十", "liu_day_timestamp": 1824825600 }] } //注意:只有pan_model为3,且传递了liu_time参数,才有流日盘 liuri_info 数据 "liuri_info": { "gan_zhi": "壬午", //流日干支 "gong_pan": [//流日12宫信息 //该流日下的,第1宫信息 { "liuyue_desc": "月官禄宫", "liuri_desc": "日田宅宫", "minggong": "迁移宫", "yinshou": "癸亥", "jiangxing": "指背", "changsheng": "绝", "daxian": "65-74", "xiaoxian": "白虎", "boshi": "力士", "ziweixing": "武曲", "ziweixing_xingyao": "平", "ziweixing_xiantian_sihua": "", //先天盘紫微星四化:无 "ziweixing_liuri_sihua": "", // 流日盘紫微星四化:无 "tianfuxing": "破军", "tianfuxing_xingyao": "陷", "tianfuxing_xiantian_sihua": "禄", "tianfuxing_liuri_sihua": "", "monthxing": "", "monthxing_xingyao": "", "monthxing_xiantian_sihua": "", "monthxing_liuri_sihua": "", "hourxing": "台辅", "hourxing_xingyao": "", "hourxing_xiantian_sihua": "", "hourxing_liuri_sihua": "", "yearganxing": "陀罗", "yearganxing_xingyao": "陷", "yearganxing_xiantian_sihua": "", "yearganxing_liuri_sihua": "", "yearzhixing": "", "yearzhixing_xingyao": "", "yearzhixing_xiantian_sihua": "", "yearzhixing_liuri_sihua": "", "qitaxing": "", "qitaxing_xingyao": "", "qitaxing_xiantian_sihua": "", "qitaxing_liuri_sihua": "" "liunian_age_str": "1,13,25,37,49" "xiaoxian_age_str": "1,13,25,37,49" }, //该流日下的,第2宫信息 {......}, //该流日下的,第3宫信息 {......}, ...... //该流日下的,第12宫信息 {......}], //该流日下,每日的时辰信息 "liushi_list": [{ "liu_hour": "子时", "liu_hour_timestamp": 1824910200 //该指定流日下,对应的第1个时辰时间戳,此时间戳可以作为【流时盘,即pan_model为4】的liu_time参数传递 }, { "liu_hour": "丑时", "liu_hour_timestamp": 1824831000 }, { "liu_hour": "寅时", "liu_hour_timestamp": 1824838200 }, { "liu_hour": "卯时", "liu_hour_timestamp": 1824845400 }, { "liu_hour": "辰时", "liu_hour_timestamp": 1824852600 }, { "liu_hour": "巳时", "liu_hour_timestamp": 1824859800 }, { "liu_hour": "午时", "liu_hour_timestamp": 1824867000 }, { "liu_hour": "未时", "liu_hour_timestamp": 1824874200 }, { "liu_hour": "申时", "liu_hour_timestamp": 1824881400 }, { "liu_hour": "酉时", "liu_hour_timestamp": 1824888600 }, { "liu_hour": "戌时", "liu_hour_timestamp": 1824895800 }, { "liu_hour": "亥时", "liu_hour_timestamp": 1824903000 }] }, //注意:只有pan_model为4,且传递了liu_time参数,才有流时盘 liushi_info 数据 "liushi_info": { "gan_zhi": "辛亥",//流时干支 "gong_pan": [ //流时12宫信息 //该流时下的,第1宫信息 { "liuri_desc": "日田宅宫", "liushi_desc": "时福德宫", "minggong": "迁移宫", "yinshou": "癸亥", "jiangxing": "指背", "changsheng": "绝", "daxian": "65-74", "xiaoxian": "白虎", "boshi": "力士", "ziweixing": "武曲", "ziweixing_xingyao": "平", "ziweixing_xiantian_sihua": "",//先天盘紫微星四化:无 "ziweixing_liushi_sihua": "", //流时盘紫微星四化:无 "tianfuxing": "破军", "tianfuxing_xingyao": "陷", "tianfuxing_xiantian_sihua": "禄", "tianfuxing_liushi_sihua": "", "monthxing": "", "monthxing_xingyao": "", "monthxing_xiantian_sihua": "", "monthxing_liushi_sihua": "", "hourxing": "台辅", "hourxing_xingyao": "", "hourxing_xiantian_sihua": "", "hourxing_liushi_sihua": "", "yearganxing": "陀罗", "yearganxing_xingyao": "陷", "yearganxing_xiantian_sihua": "", "yearganxing_liushi_sihua": "", "yearzhixing": "", "yearzhixing_xingyao": "", "yearzhixing_xiantian_sihua": "", "yearzhixing_liushi_sihua": "", "qitaxing": "", "qitaxing_xingyao": "", "qitaxing_xiantian_sihua": "", "qitaxing_liushi_sihua": "" "liunian_age_str": "1,13,25,37,49" "xiaoxian_age_str": "1,13,25,37,49" }, //该流时下的,第2宫信息 {......}, //该流时下的,第3宫信息 {......}, ...... //该流时下的,第12宫信息 {......}], } } } }
{ "errcode": -1, "errmsg": "日期有误", }