사주팔자 계산
전체 주소
POST https:/ / apis.lucela.kr/ v1/ fortune/ chart경로POST / v1/ fortune/ chart{
"/v1/fortune/chart": {
"post": {
"tags": [
"숨표AI"
],
"summary": "사주팔자 계산",
"description": "출생값 → 원국(네 기둥 · 여덟 글자)",
"operationId": "post_v1_fortune_chart",
"x-lucela-mcp-tool": "soompyo_calculate_saju",
"security": [
{
"ApiKey": []
}
],
"x-implementation-status": "AVAILABLE",
"x-lucela-billing-unit": "성공 계산 1",
"x-lucela-unit-weight": 1,
"x-lucela-response-fields": "data(pillars(year · month · day · hour) · daewoon(성별 기준이 있을 때 · direction · start_age · periods[](sequence · age_start · age_end · gan · ji · ganzhi)) · meta(engine_id · engine_version · calc_settings · input_hash(솔트 열쇠가 있을 때) · input_hash_alg(솔트 열쇠가 있을 때) · source_code_hash · source_commit(판에 표식이 있을 때) · jasi_method · lunar_basis · lunar_basis_name · lunar_basis_is_default · solar_date · time_basis · birth_place(tz · longitude · city_code · source) · clock(utc_offset_min · dst · standard_name · offset_source))) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · tradition)",
"responses": {
"200": {
"description": "성공 — 봉투 한 모양",
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/Envelope"
},
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"pillars": {
"type": "object",
"properties": {
"year": {},
"month": {},
"day": {},
"hour": {}
},
"required": [
"year",
"month",
"day",
"hour"
]
},
"daewoon": {
"type": "object",
"properties": {
"direction": {},
"start_age": {},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {},
"age_start": {},
"age_end": {},
"gan": {},
"ji": {},
"ganzhi": {}
},
"required": [
"sequence",
"age_start",
"age_end",
"gan",
"ji",
"ganzhi"
]
}
}
},
"required": [
"direction",
"start_age",
"periods"
]
},
"meta": {
"type": "object",
"properties": {
"engine_id": {},
"engine_version": {},
"calc_settings": {},
"input_hash": {},
"input_hash_alg": {},
"source_code_hash": {},
"source_commit": {},
"jasi_method": {},
"lunar_basis": {},
"lunar_basis_name": {},
"lunar_basis_is_default": {},
"solar_date": {},
"time_basis": {},
"birth_place": {
"type": "object",
"properties": {
"tz": {},
"longitude": {},
"city_code": {},
"source": {}
},
"required": [
"tz",
"longitude",
"city_code",
"source"
]
},
"clock": {
"type": "object",
"properties": {
"utc_offset_min": {},
"dst": {},
"standard_name": {},
"offset_source": {}
},
"required": [
"utc_offset_min",
"dst",
"standard_name",
"offset_source"
]
}
},
"required": [
"engine_id",
"engine_version",
"calc_settings",
"source_code_hash",
"jasi_method",
"lunar_basis",
"lunar_basis_name",
"lunar_basis_is_default",
"solar_date",
"time_basis",
"birth_place",
"clock"
]
}
},
"required": [
"pillars",
"meta"
]
},
"meta": {
"type": "object",
"properties": {
"request_id": {},
"environment": {},
"synthetic": {},
"schema_version": {},
"warnings": {},
"engine_version": {},
"tradition": {}
},
"required": [
"request_id",
"environment",
"synthetic",
"schema_version",
"warnings",
"engine_version",
"tradition"
]
}
}
}
]
}
}
}
},
"400": {
"$ref": "#/components/responses/E400"
},
"401": {
"$ref": "#/components/responses/E401"
},
"403": {
"$ref": "#/components/responses/E403"
},
"409": {
"$ref": "#/components/responses/E409"
},
"413": {
"$ref": "#/components/responses/E413"
},
"422": {
"$ref": "#/components/responses/E422"
},
"429": {
"$ref": "#/components/responses/E429"
},
"502": {
"$ref": "#/components/responses/E502"
},
"503": {
"$ref": "#/components/responses/E503"
}
},
"parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"schema": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{16,128}$"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"birth": {
"type": "object",
"properties": {
"date": {},
"calendar": {},
"is_leap_month": {
"description": "음력이면 필수"
},
"time": {
"description": "없으면 시주 없음"
},
"birth_place": {
"description": "tz+longitude 또는 city_code"
},
"sex_basis": {
"description": "없으면 대운 없음"
}
},
"required": [
"date",
"calendar",
"birth_place"
],
"additionalProperties": false
},
"options": {
"type": "object",
"properties": {
"jasi_method": {
"description": "unified 기본 · split",
"enum": [
"unified",
"split"
],
"default": "unified"
},
"lunar_basis": {
"description": "kasi 기본 · china",
"enum": [
"kasi",
"china"
],
"default": "kasi"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}
}
}
}
}
}