> **平台**: 万维易源 (ShowAPI)
> **接入方式**: 统一 API 网关 (HTTPS POST/GET)
> **认证**: showapi_appid + showapi_sign
> **文档**: https://www.showapi.com/apiGateway/view/1647/1

---
title: "排盘 | 紫微斗数 | API 市场 | 万维易源"
canonical_url: "https://www.showapi.com/apiGateway/view/1647/1"
last_updated: "2026-08-15T09:38:25.846Z"
meta:
  description: 依据求卦者提供的阳历出生时间（精确到小时）和性别，可进行命盘排盘操作。
  keywords: 排盘,紫微斗数,紫微斗数,命理学,阳历出生时间排盘,中国传统文化,命盘解析,命理研究,科学命理,文化传承,个人命理,命盘关键词,非迷信命理,命理学API,紫微斗数API,命理数据分析,人生奥秘,命理研究工具,传统文化服务,客观命理解析,命盘科学解读,出生时间命盘,命理学阳历,紫微斗数文化,命盘关键词分析,命理探索,传统文化API,科学探索命理,紫微斗数,命理,传统文化,研究工具,API服务,showapi，万维易源，易源接口，api开放平台，开放api，api大全，api接口，接口中心，接口大全，开放平台，api，大数据，接口，API
  "og:description": 依据求卦者提供的阳历出生时间（精确到小时）和性别，可进行命盘排盘操作。
  "og:title": "排盘 | 紫微斗数  |  API 市场"
---

*

*

*

# **紫微斗数**

**免费服务**

基于出生时间生成紫微斗数命盘，为命理研究提供参考工具，禁止用于封建迷信。

[紫微斗数](https://www.showapi.com/market?search=%E7%B4%AB%E5%BE%AE%E6%96%97%E6%95%B0) [命理](https://www.showapi.com/market?search=%E5%91%BD%E7%90%86) [传统文化](https://www.showapi.com/market?search=%E4%BC%A0%E7%BB%9F%E6%96%87%E5%8C%96) [研究工具](https://www.showapi.com/market?search=%E7%A0%94%E7%A9%B6%E5%B7%A5%E5%85%B7) [API服务](https://www.showapi.com/market?search=API%E6%9C%8D%E5%8A%A1)

**免费接口，注册即用，无需单独购买。 **

在线调试

**官方自营**

易源官方提供，稳定可信

<dl>

<dt>服务商</dt>
<dd>昆明秀派科技有限公司</dd>

<dt>电话</dt>
<dd>400-998-8033</dd>

<dt>QQ</dt>
<dd>4009988033</dd>

<dt>邮箱</dt>
<dd>[service@showapi.com](mailto:service@showapi.com)</dd>

</dl>

<dl>

<dt>所属分类</dt>
<dd>生活服务</dd>

<dt>接入点</dt>
<dd>1 个</dd>

<dt>请求方式</dt>
<dd>POST/GET</dd>

<dt>返回格式</dt>
<dd>JSON</dd>

</dl>

**排盘**

接入点说明

```
依据求卦者提供的阳历出生时间（精确到小时）和性别，可进行命盘排盘操作。
```

接口地址

https://route.showapi.com/1647-1?appKey={your\_appKey} [查看密钥](https://www.showapi.com/console#/myApp) [调用帮助](https://www.showapi.com/helpcenter/view#/3960/1)

返回格式JSON

请求方式POST/GET

更新频率每年年底会不定时的更新一次当年数据

**请求参数**

**Header 参数**

| |
|

| |
|

**Post 表单**

| |
|

| |
|
| |

**返回参数**查看公共返回参数

该接口返回经 `showapi_res_body` 系统封装，业务数据均位于该对象内；系统级字段见公共返回参数。

**返回体**

| |
|

| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |

**请求示例**

[查看我的 appKey](https://www.showapi.com/console#/myApp) [查看使用向导](https://www.showapi.com/helpcenter/view#/3960/1) [Python / Java 等多语言示例](https://www.showapi.com/apitest/market/1647/1)

cURL 复制

```
curl -X POST "https://route.showapi.com/1647-1?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "time=1993-10-27%2006&gender=m"
```

**返回示例**

JSON 复制

```
{
	"showapi_res_code": 0,
	"showapi_res_error": "",
	"showapi_res_id":"ce135f6739294c63be0c021b76b6fbff",
    "showapi_res_body": {
		    "ret_code":0,
    "remark":"success",
    "result":{
        "wx":"火6局",
        "mg":"子",
        "yy":"阴女",
        "mz":"贪狼",
        "sg":"子",
        "sz":"天相",
        "key":"20151210230",
        "pan":[
            {
                "sLimit":[
                    "9",
                    "21",
                    "33",
                    "45",
                    "57",
                    "69",
                    "81"
                ],
                "bLimit":"56 - 65",
                "assist":[
                    "天伤"
                ],
                "branch":"辛巳",
                "twelve":[
                    "临官",
                    "青龙",
                    "龙德",
                    "亡神"
                ],
                "palace":"仆役",
                "main":[
                    "武曲平",
                    "破军平",
                    "天马"
                ]
            },
            {
                "sLimit":[
                    "8",
                    "20",
                    "32",
                    "44",
                    "56",
                    "68",
                    "80"
                ],
                "bLimit":"66 - 75",
                "assist":[
                    "阴煞",
                    "解神",
                    "台辅",
                    "天厨"
                ],
                "branch":"壬午",
                "twelve":[
                    "帝旺",
                    "小耗",
                    "白虎",
                    "将星"
                ],
                "palace":"迁移",
                "main":[
                    "太阳旺",
                    "截路"
                ]
            },
            {
                "sLimit":[
                    "7",
                    "19",
                    "31",
                    "43",
                    "55",
                    "67",
                    "79"
                ],
                "bLimit":"76 - 85",
                "assist":[
                    "天刑",
                    "华盖",
                    "天才",
                    "天寿"
                ],
                "branch":"癸未",
                "twelve":[
                    "衰",
                    "将军",
                    "天德",
                    "攀鞍"
                ],
                "palace":"疾厄",
                "main":[
                    "天府庙",
                    "空亡",
                    "天使"
                ]
            },
            {
                "sLimit":[
                    "6",
                    "18",
                    "30",
                    "42",
                    "54",
                    "66",
                    "78"
                ],
                "bLimit":"86 - 95",
                "assist":[
                    "红鸾",
                    "天空",
                    "孤辰",
                    "天福"
                ],
                "branch":"甲申",
                "twelve":[
                    "病",
                    "奏书",
                    "吊客",
                    "岁驿"
                ],
                "palace":"财帛",
                "main":[
                    "天机得禄",
                    "太阴平忌",
                    "天钺"
                ]
            },
            {
                "sLimit":[
                    "10",
                    "22",
                    "34",
                    "46",
                    "58",
                    "70",
                    "82"
                ],
                "bLimit":"46 - 55",
                "assist":[
                    "寡宿",
                    "天德",
                    "天官"
                ],
                "branch":"庚辰",
                "twelve":[
                    "冠带",
                    "力士",
                    "大耗",
                    "月煞"
                ],
                "palace":"事业",
                "main":[
                    "天同平",
                    "文曲得",
                    "擎羊庙"
                ]
            },
            {
                "sLimit":[
                    "5",
                    "17",
                    "29",
                    "41",
                    "53",
                    "65",
                    "77"
                ],
                "bLimit":"96 - 105",
                "assist":[
                    "恩光"
                ],
                "branch":"乙酉",
                "twelve":[
                    "死",
                    "飞廉",
                    "病符",
                    "息神"
                ],
                "palace":"子女",
                "main":[
                    "紫微旺科",
                    "贪狼平",
                    "火星得"
                ]
            },
            {
                "sLimit":[
                    "11",
                    "23",
                    "35",
                    "47",
                    "59",
                    "71",
                    "83"
                ],
                "bLimit":"36 - 45",
                "assist":[
                    "凤阁",
                    "蜚廉",
                    "天贵"
                ],
                "branch":"己卯",
                "twelve":[
                    "沐浴",
                    "博士",
                    "小耗",
                    "咸池"
                ],
                "palace":"田宅",
                "main":[
                    "禄存庙"
                ]
            },
            {
                "sLimit":[
                    "4",
                    "16",
                    "28",
                    "40",
                    "52",
                    "64",
                    "76"
                ],
                "bLimit":"106 - 115",
                "assist":[
                    "天月"
                ],
                "branch":"丙戌",
                "twelve":[
                    "墓",
                    "喜神",
                    "岁建",
                    "华盖"
                ],
                "palace":"夫妻",
                "main":[
                    "巨门陷",
                    "文昌陷",
                    "铃星庙"
                ]
            },
            {
                "sLimit":[
                    "12",
                    "24",
                    "36",
                    "48",
                    "60",
                    "72",
                    "84"
                ],
                "bLimit":"26 - 35",
                "assist":[
                    "天巫",
                    "封诰",
                    "天喜",
                    "三台"
                ],
                "branch":"戊寅",
                "twelve":[
                    "长生",
                    "官府",
                    "官符",
                    "指背"
                ],
                "palace":"福德",
                "main":[
                    "左辅",
                    "陀罗陷"
                ]
            },
            {
                "sLimit":[
                    "1",
                    "13",
                    "25",
                    "37",
                    "49",
                    "61",
                    "73"
                ],
                "bLimit":"16 - 25",
                "assist":[
                    "破碎",
                    "天虚"
                ],
                "branch":"己丑",
                "twelve":[
                    "养",
                    "伏兵",
                    "贯索",
                    "天煞"
                ],
                "palace":"父母",
                "main":[
                    "廉贞平",
                    "七杀庙"
                ]
            },
            {
                "sLimit":[
                    "2",
                    "14",
                    "26",
                    "38",
                    "50",
                    "62",
                    "74"
                ],
                "bLimit":"6 - 15",
                "assist":[
                    "咸池",
                    "月德",
                    "八座"
                ],
                "branch":"戊子",
                "twelve":[
                    "胎",
                    "大耗",
                    "丧门",
                    "灾煞"
                ],
                "palace":"命宫",
                "main":[
                    "天梁庙权",
                    "右弼",
                    "天魁"
                ]
            },
            {
                "sLimit":[
                    "3",
                    "15",
                    "27",
                    "39",
                    "51",
                    "63",
                    "75"
                ],
                "bLimit":"116 - 125",
                "assist":[
                    "天姚",
                    "龙池",
                    "天哭"
                ],
                "branch":"丁亥",
                "twelve":[
                    "绝",
                    "病符",
                    "晦气",
                    "劫煞"
                ],
                "palace":"兄弟",
                "main":[
                    "天相得",
                    "地空",
                    "地劫"
                ]
            }
        ],
        "sx":"羊"
	}
}
```

**MCP 服务集成**接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置，将 {your\_appKey} 替换为真实 AppKey（ [AppKey 管理](https://www.showapi.com/console#/myApp)）。该服务覆盖本接口全部接入点。

MCP JSON 复制

```
{
  "mcpServers": {
    "showapi-mcp-1647": {
      "url": "http://www.showapi.com.cn/mcp/1647/{your_appKey}"
    }
  }
}
```

**OpenAPI 文档**接口级

标准 OpenAPI 3.0 文档，覆盖本接口全部接入点，可导入 Apifox / Postman / Swagger UI，或供 AI Agent 直接消费。

[在线查看 YAML](https://www.showapi.com/openapi/market/1647.yaml) [下载 YAML](https://www.showapi.com/openapi/market/1647.yaml) [查看 JSON](https://www.showapi.com/openapi/market/1647.json)